Skip to content

Commit c39ba00

Browse files
committed
Tell mbed build to ignore old lwIP+EMAC drivers
1 parent c318571 commit c39ba00

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

features/FEATURE_LWIP/lwip-interface/.mbedignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ lwip/src/apps/*
44
lwip/src/netif/lwip_slipif.c
55
lwip/src/include/lwip/apps/*
66
lwip/src/include/posix/*
7+
lwip-eth/*
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This directory contains lwIP drivers that are no longer built. Any drivers
2+
remaining here must be convered to use the EMAC interface, and moved to
3+
features/netsocket/emac-drivers.

features/FEATURE_LWIP/lwip-interface/lwipopts.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
#ifndef LWIPOPTS_H
2020
#define LWIPOPTS_H
2121

22-
#if MBED_CONF_LWIP_ETHERNET_ENABLED
23-
#include "lwipopts_conf.h"
24-
#endif
25-
2622
// Workaround for Linux timeval
2723
#if defined (TOOLCHAIN_GCC)
2824
#define LWIP_TIMEVAL_PRIVATE 0

features/FEATURE_LWIP/lwip-interface/mbed_lib.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@
100100
"target_overrides": {
101101
"REALTEK_RTL8195AM": {
102102
"tcpip-thread-stacksize": 1600
103+
},
104+
"STM": {
105+
"mem-size": 25600
106+
},
107+
"Freescale": {
108+
"mem-size": 36560
103109
}
104110
}
105111
}

targets/targets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@
20762076
"core": "Cortex-M4F",
20772077
"extra_labels_add": ["STM32F4", "STM32F439", "STM32F439ZI","STM32F439xx", "STM32F439xI"],
20782078
"macros": ["MBEDTLS_CONFIG_HW_SUPPORT", "HSE_VALUE=24000000", "HSE_STARTUP_TIMEOUT=5000", "CB_INTERFACE_SDIO","CB_CHIP_WL18XX","SUPPORT_80211D_ALWAYS","WLAN_ENABLED","MBEDTLS_ARC4_C","MBEDTLS_DES_C","MBEDTLS_MD4_C","MBEDTLS_MD5_C","MBEDTLS_SHA1_C"],
2079-
"device_has_add": ["CAN", "EMAC", "TRNG", "FLASH"],
2079+
"device_has_add": ["CAN", "TRNG", "FLASH"],
20802080
"device_has_remove": ["RTC", "SLEEP"],
20812081
"features": ["LWIP"],
20822082
"device_name": "STM32F439ZI",
@@ -3825,7 +3825,7 @@
38253825
"extra_labels": ["Realtek", "AMEBA", "RTL8195A"],
38263826
"macros": ["__RTL8195A__","CONFIG_PLATFORM_8195A","CONFIG_MBED_ENABLED","PLATFORM_CMSIS_RTOS","MBED_FAULT_HANDLER_DISABLED"],
38273827
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
3828-
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "TRNG", "EMAC", "FLASH"],
3828+
"device_has": ["ANALOGIN", "ANALOGOUT", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SPI", "TRNG", "FLASH"],
38293829
"features": ["LWIP"],
38303830
"post_binary_hook": {
38313831
"function": "RTL8195ACode.binary_hook",

0 commit comments

Comments
 (0)