mirror of https://github.com/ARMmbed/mbed-os.git
Move stm32xx_emac_config.h to family specific folder
This allows to specify which hal version to use for each family. It can also be used to modify the thread stack size. Signed-off-by: Vincent Veron <vincent.veron@st.com>pull/11274/head
parent
93b8164830
commit
8ab6aecbe9
|
|
@ -17,6 +17,8 @@
|
|||
#ifndef STM32XX_EMAC_CONFIG_H__
|
||||
#define STM32XX_EMAC_CONFIG_H__
|
||||
|
||||
#define ETH_IP_VERSION_V1
|
||||
|
||||
#define THREAD_STACKSIZE 512
|
||||
|
||||
#endif // #define STM32XX_EMAC_CONFIG_H__
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
/* Copyright (c) 2017 ARM Limited
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef STM32XX_EMAC_CONFIG_H__
|
||||
#define STM32XX_EMAC_CONFIG_H__
|
||||
|
||||
#define ETH_IP_VERSION_V1
|
||||
|
||||
#define THREAD_STACKSIZE 512
|
||||
|
||||
#endif // #define STM32XX_EMAC_CONFIG_H__
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
/* Copyright (c) 2017 ARM Limited
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef STM32XX_EMAC_CONFIG_H__
|
||||
#define STM32XX_EMAC_CONFIG_H__
|
||||
|
||||
#define ETH_IP_VERSION_V1
|
||||
|
||||
#define THREAD_STACKSIZE 512
|
||||
|
||||
#endif // #define STM32XX_EMAC_CONFIG_H__
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
/* Copyright (c) 2017 ARM Limited
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef STM32XX_EMAC_CONFIG_H__
|
||||
#define STM32XX_EMAC_CONFIG_H__
|
||||
|
||||
#define ETH_IP_VERSION_V2
|
||||
|
||||
#define THREAD_STACKSIZE 512
|
||||
|
||||
#endif // #define STM32XX_EMAC_CONFIG_H__
|
||||
|
|
@ -3222,8 +3222,7 @@
|
|||
"macros_add": [
|
||||
"STM32H743xx",
|
||||
"EXTRA_IDLE_STACK_REQUIRED",
|
||||
"MBED_TICKLESS",
|
||||
"ETH_IP_VERSION_V2"
|
||||
"MBED_TICKLESS"
|
||||
],
|
||||
"overrides": {
|
||||
"lpticker_delay_ticks": 0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue