Ethernet LWIP support
2018/5/29 for HOPE_F407VE Boardhttps://os.mbed.com/docs/v5.8/reference/ethernet.html
1) target.json modification
DISCO_F407VG
"_comment": "Add support Feature: LWIP by Dennis 2018/5/29","features": ["LWIP"],
Excerp
Excerp
"DISCO_F407VG": {
"inherits": ["Target"],
"core": "Cortex-M4F",
"extra_labels": ["STM", "STM32F4", "STM32F407", "STM32F407xG", "STM32F407VG"],
"supported_toolchains": ["ARM", "uARM", "GCC_ARM"],
"macros": ["TRANSACTION_QUEUE_SIZE_SPI=2", "USB_STM_HAL"],
"device_has": ["ANALOGIN", "ANALOGOUT", "ERROR_RED", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"],
"_comment": "Add support Feature: LWIP by Dennis 2018/5/29",
"features": ["LWIP"],
"device_name": "STM32F407VG"
2) Add Target support for DISCO_F407VG
C:\Users\Dennis\OneDrive\_work\mbed-cli\tcp\mbed-os-tcp-server-example\mbed-os\features\FEATURE_LWIP\lwip-interface\lwip-eth\arch\TARGET_STM\TARGET_STM32F4\TARGET_DISCO_F407VG
Only TARGET_ARCH_MAX no support for DISCO_F407VG
We have to add this directory manually (copy two files from ARCH_MAX to here).
沒有留言:
張貼留言