dimka76 84 September 20 Posted September 20 · Report post On 9/20/2025 at 12:30 PM, addi II said: В этом вопрос, почему не исполняется tcp_echoclient_connected Эта функция внутри функции tcp_connect не должна исполняться. В функцию tcp_connect передается адрес функции tcp_echoclient_connected. tcp_echoclient_connected в дальнейшем будет вызываться при установлении соединения. Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 September 21 Posted September 21 · Report post а если она в итоге не вызывается значит соединения так и не произошло? Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 September 23 Posted September 23 · Report post Что не так в инициализации?, соединение похоже нет, tcp_echoclient_connected не вызывается Quote Share this post Link to post Share on other sites More sharing options...
ksv198 1 September 23 Posted September 23 · Report post 25 minutes ago, addi II said: Что не так в инициализации?, соединение похоже нет, tcp_echoclient_connected не вызывается Добрый день! У Вас, как я понял, плата Nucleo-429. Для этой платы в Кубовском паке есть пример: .....\STM32Cube\Repository\STM32Cube_FW_F4_V1.25.2\Projects\STM32F429ZI-Nucleo\Applications\LwIP\LwIP_HTTP_Server_Netconn_RTOS\ Попробуйте запустить этот пример. Проверьте, что сеть в принципе работает (пингуется Ваша плата Nucleo, сервер на этой плате открывается в браузере). Затем посмотрите в папке: ......\STM32Cube\Repository\STM32Cube_FW_F4_V1.25.2\Projects\STM324x9I_EVAL\Applications\LwIP\LwIP_TCP_Echo_Client\ Как сделан клиент, перенесите файлы клиента (их там всего два) в свой проект и пробуйте запустить клиента tcp. Удачи! Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 September 23 Posted September 23 · Report post спасибо, попробую, как я понимаю у меня проблема в том может быть что настройки не содержат правильного включения callback tcp_echoclient_connected, либо нет соединения изза не правильно построенной сетки В данном случае моя сетка это плата NUCLEO429ZI и ноут, у обоих статические адреса, шлюз ноута не настраивал Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 September 24 Posted September 24 · Report post Подскажите пожалуйста, как избавиться это подобных предупреждений? 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/netbuf.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/netbuf.d" -MT"Middlewares/Third_Party/LwIP/src/api/netbuf.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/netbuf.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/netdb.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/netdb.d" -MT"Middlewares/Third_Party/LwIP/src/api/netdb.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/netdb.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/netifapi.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/netifapi.d" -MT"Middlewares/Third_Party/LwIP/src/api/netifapi.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/netifapi.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/sockets.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/sockets.d" -MT"Middlewares/Third_Party/LwIP/src/api/sockets.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/sockets.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/tcpip.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/tcpip.d" -MT"Middlewares/Third_Party/LwIP/src/api/tcpip.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/tcpip.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../LWIP/Target/ethernetif.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"LWIP/Target/ethernetif.d" -MT"LWIP/Target/ethernetif.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "LWIP/Target/ethernetif.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../LWIP/App/lwip.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"LWIP/App/lwip.d" -MT"LWIP/App/lwip.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "LWIP/App/lwip.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o" arm-none-eabi-gcc "../Drivers/BSP/Components/lan8742/lan8742.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/lan8742/lan8742.d" -MT"Drivers/BSP/Components/lan8742/lan8742.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/lan8742/lan8742.o" arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Core/Startup/startup_stm32f429zitx.d" -MT"Core/Startup/startup_stm32f429zitx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Startup/startup_stm32f429zitx.o" "../Core/Startup/startup_stm32f429zitx.s" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Core/Src/app_ethernet.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/app_ethernet.d" -MT"Core/Src/app_ethernet.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/app_ethernet.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o" 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Core/Src/stm32f4xx_hal_msp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/stm32f4xx_hal_msp.d" -MT"Core/Src/stm32f4xx_hal_msp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32f4xx_hal_msp.o" arm-none-eabi-gcc "../Core/Src/stm32f4xx_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/stm32f4xx_it.d" -MT"Core/Src/stm32f4xx_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32f4xx_it.o" arm-none-eabi-gcc "../Core/Src/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/syscalls.d" -MT"Core/Src/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/syscalls.o" arm-none-eabi-gcc "../Core/Src/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/sysmem.d" -MT"Core/Src/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/sysmem.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Core/Src/system_stm32f4xx.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/system_stm32f4xx.d" -MT"Core/Src/system_stm32f4xx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/system_stm32f4xx.o" arm-none-eabi-gcc "../Core/Src/tcp_echoclient.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/tcp_echoclient.d" -MT"Core/Src/tcp_echoclient.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/tcp_echoclient.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition ../Core/Src/main.c: In function 'Netif_Config': ../Core/Src/main.c:308:3: warning: implicit declaration of function 'ethernet_link_status_updated'; did you mean 'ethernet_link_check_state'? [-Wimplicit-function-declaration] 308 | ethernet_link_status_updated(&gnetif); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ethernet_link_check_state ../Core/Src/main.c:311:36: warning: passing argument 2 of 'netif_set_link_callback' from incompatible pointer type [-Wincompatible-pointer-types] 311 | netif_set_link_callback(&gnetif, ethernet_link_status_updated); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)() In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/etharp.h:51, from ../Middlewares/Third_Party/LwIP/src/include/netif/etharp.h:2, from ../LWIP/App/lwip.h:32, from ../Core/Src/main.c:21: ../Middlewares/Third_Party/LwIP/src/include/lwip/netif.h:476:76: note: expected 'netif_status_callback_fn' {aka 'void (*)(struct netif *)'} but argument is of type 'int (*)()' 476 | void netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_callback); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ At top level: ../Core/Src/main.c:283:13: warning: 'Netif_Config' defined but not used [-Wunused-function] 283 | static void Netif_Config(void) | ^~~~~~~~~~~~ ../Core/Src/tcp_echoclient.c: In function 'tcp_echoclient_connected': ../Core/Src/tcp_echoclient.c:117:28: warning: too many arguments for format [-Wformat-extra-args] 117 | sprintf((char*)data, "*IDN", (int)message_count); | ^~~~~~ ../Core/Src/tcp_echoclient.c:104:17: warning: variable 'check' set but not used [-Wunused-but-set-variable] 104 | unsigned char check; main.c содержит следующие инклуды /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "lwip.h" main.h соответственно /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" + 1 исходник включает main.h /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "lwip/debug.h" #include "lwip/stats.h" #include "lwip/tcp.h" #include "lwip/memp.h" #include <stdio.h> #include <string.h> и еще один который включает main.h /* Includes ------------------------------------------------------------------*/ #include "lwip/opt.h" #include "main.h" #if LWIP_DHCP #include "lwip/dhcp.h" #endif #include "app_ethernet.h" #include "ethernetif.h" Подскажите пожалуйста, как избавиться это подобных предупреждений? 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/netbuf.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/netbuf.d" -MT"Middlewares/Third_Party/LwIP/src/api/netbuf.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/netbuf.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/netdb.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/netdb.d" -MT"Middlewares/Third_Party/LwIP/src/api/netdb.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/netdb.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/netifapi.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/netifapi.d" -MT"Middlewares/Third_Party/LwIP/src/api/netifapi.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/netifapi.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/sockets.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/sockets.d" -MT"Middlewares/Third_Party/LwIP/src/api/sockets.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/sockets.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Middlewares/Third_Party/LwIP/src/api/tcpip.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/Third_Party/LwIP/src/api/tcpip.d" -MT"Middlewares/Third_Party/LwIP/src/api/tcpip.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/LwIP/src/api/tcpip.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../LWIP/Target/ethernetif.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"LWIP/Target/ethernetif.d" -MT"LWIP/Target/ethernetif.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "LWIP/Target/ethernetif.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../LWIP/App/lwip.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"LWIP/App/lwip.d" -MT"LWIP/App/lwip.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "LWIP/App/lwip.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o" arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o" arm-none-eabi-gcc "../Drivers/BSP/Components/lan8742/lan8742.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/BSP/Components/lan8742/lan8742.d" -MT"Drivers/BSP/Components/lan8742/lan8742.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/BSP/Components/lan8742/lan8742.o" arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Core/Startup/startup_stm32f429zitx.d" -MT"Core/Startup/startup_stm32f429zitx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Startup/startup_stm32f429zitx.o" "../Core/Startup/startup_stm32f429zitx.s" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Core/Src/app_ethernet.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/app_ethernet.d" -MT"Core/Src/app_ethernet.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/app_ethernet.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o" 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Core/Src/stm32f4xx_hal_msp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/stm32f4xx_hal_msp.d" -MT"Core/Src/stm32f4xx_hal_msp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32f4xx_hal_msp.o" arm-none-eabi-gcc "../Core/Src/stm32f4xx_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/stm32f4xx_it.d" -MT"Core/Src/stm32f4xx_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32f4xx_it.o" arm-none-eabi-gcc "../Core/Src/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/syscalls.d" -MT"Core/Src/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/syscalls.o" arm-none-eabi-gcc "../Core/Src/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/sysmem.d" -MT"Core/Src/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/sysmem.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition arm-none-eabi-gcc "../Core/Src/system_stm32f4xx.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/system_stm32f4xx.d" -MT"Core/Src/system_stm32f4xx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/system_stm32f4xx.o" arm-none-eabi-gcc "../Core/Src/tcp_echoclient.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DLWIP_NETCONN -DLWIP_SOCKET -DUSE_HAL_DRIVER -DSTM32F429xx -c -I"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip" -I../LWIP/App -I../LWIP/Target -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/system -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/BSP/Components/lan8742 -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/netif -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Middlewares/Third_Party/LwIP/system/arch -I../Drivers/CMSIS/Include -include"C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/tcp_echoclient.d" -MT"Core/Src/tcp_echoclient.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/tcp_echoclient.o" In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition ../Core/Src/main.c: In function 'Netif_Config': ../Core/Src/main.c:308:3: warning: implicit declaration of function 'ethernet_link_status_updated'; did you mean 'ethernet_link_check_state'? [-Wimplicit-function-declaration] 308 | ethernet_link_status_updated(&gnetif); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ethernet_link_check_state ../Core/Src/main.c:311:36: warning: passing argument 2 of 'netif_set_link_callback' from incompatible pointer type [-Wincompatible-pointer-types] 311 | netif_set_link_callback(&gnetif, ethernet_link_status_updated); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)() In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:111: warning: "LWIP_NETCONN" redefined 111 | #define LWIP_NETCONN 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/opt.h:51, from C:/ST/prj/ex/ex/30/nortosclient/Middlewares/Third_Party/LwIP/src/include/lwip/api.h:40, from <command-line>: ../LWIP/Target/lwipopts.h:113: warning: "LWIP_SOCKET" redefined 113 | #define LWIP_SOCKET 0 | <command-line>: note: this is the location of the previous definition In file included from ../Middlewares/Third_Party/LwIP/src/include/lwip/etharp.h:51, from ../Middlewares/Third_Party/LwIP/src/include/netif/etharp.h:2, from ../LWIP/App/lwip.h:32, from ../Core/Src/main.c:21: ../Middlewares/Third_Party/LwIP/src/include/lwip/netif.h:476:76: note: expected 'netif_status_callback_fn' {aka 'void (*)(struct netif *)'} but argument is of type 'int (*)()' 476 | void netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_callback); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ At top level: ../Core/Src/main.c:283:13: warning: 'Netif_Config' defined but not used [-Wunused-function] 283 | static void Netif_Config(void) | ^~~~~~~~~~~~ ../Core/Src/tcp_echoclient.c: In function 'tcp_echoclient_connected': ../Core/Src/tcp_echoclient.c:117:28: warning: too many arguments for format [-Wformat-extra-args] 117 | sprintf((char*)data, "*IDN", (int)message_count); | ^~~~~~ ../Core/Src/tcp_echoclient.c:104:17: warning: variable 'check' set but not used [-Wunused-but-set-variable] 104 | unsigned char check; main.c содержит следующие инклуды /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "lwip.h" main.h соответственно /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" + 1 исходник включает main.h /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "lwip/debug.h" #include "lwip/stats.h" #include "lwip/tcp.h" #include "lwip/memp.h" #include <stdio.h> #include <string.h> и еще один который включает main.h /* Includes ------------------------------------------------------------------*/ #include "lwip/opt.h" #include "main.h" #if LWIP_DHCP #include "lwip/dhcp.h" #endif #include "app_ethernet.h" #include "ethernetif.h" Quote Share this post Link to post Share on other sites More sharing options...
HardEgor 140 September 24 Posted September 24 · Report post 1 час назад, addi II сказал: Подскажите пожалуйста, как избавиться это подобных предупреждений? Дубликаты определений. Обычно либо где-то запятую/точку/др. пропустили/не туда поставили или неправильно сделали вложение .h-файлов. Если гитом пользуетесь смотрите изменения, а если нет, то надо вспоминать что изменяли до появления ошибок. Еще кое-где ошибки с указателями. Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 September 29 Posted September 29 · Report post Спасибо, подскажите пожалуйста, кто знает, как добаить в настройки Eth дополнительные параметры, приведенные в этом примере https://community.st.com/t5/stm32-mcus-products/use-ethernet-on-nucleo-stm32f767zi-without-rtos/td-p/706887?lightbox-message-images-706887=84566i94182DB0ECBC9344 Quote Share this post Link to post Share on other sites More sharing options...
ksv198 1 September 29 Posted September 29 · Report post 1 hour ago, addi II said: дополнительные параметры, приведенные в этом примере https://community.st.com/t5/stm32-mcus-products/use-ethernet-on-nucleo-stm32f767zi-without-rtos/td-p/706887?lightbox-message-images-706887=84566i94182DB0ECBC9344 Добрый день! У Вас Cortex-M4 (STM32F429xx), а в примере конфигурация для Cortex-M7 (STM32F767xx)/ Вам (к Вашему счастью) не надо пока с конфигурированием MPU заморачиваться. Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 September 30 Posted September 30 (edited) · Report post 22 hours ago, ksv198 said: Добрый день! У Вас Cortex-M4 (STM32F429xx), а в примере конфигурация для Cortex-M7 (STM32F767xx)/ Вам (к Вашему счастью) не надо пока с конфигурированием MPU заморачиваться. супер!!!, спасибо! То есть и в линкере не надо это прописывать? .lwip_sec (NOLOAD) : { . = ABSOLUTE(0x2007c000); *(.RxDecripSection) . = ABSOLUTE(0x2007c0a0); *(.TxDecripSection) } >RAM AT> FLASH Edited September 30 by addi II Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 September 30 Posted September 30 · Report post еще вопрос, как отключить в Ws автонастройку ip адреса я почему то вижу в акуле адрес 169.254.36.144 вместо 192.168.0.1 Quote Share this post Link to post Share on other sites More sharing options...
ksv198 1 September 30 Posted September 30 · Report post 1 hour ago, addi II said: супер!!!, спасибо! То есть и в линкере не надо это прописывать? .lwip_sec (NOLOAD) : { . = ABSOLUTE(0x2007c000); *(.RxDecripSection) . = ABSOLUTE(0x2007c0a0); *(.TxDecripSection) } >RAM AT> FLASH Добрый день! А в Вашем контроллере есть физически столько памяти оперативной? 28 minutes ago, addi II said: я почему то вижу в акуле адрес 169.254.36.144 вместо 192.168.0.1 Настройте статический IP адрес на сетевом интерфейсе. Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 September 30 Posted September 30 · Report post 13 hours ago, ksv198 said: Добрый день! А в Вашем контроллере есть физически столько памяти оперативной? Настройте статический IP адрес на сетевом интерфейсе. Похоже нет, эти уставки вызывают переполнение IP настраиваю вроде так как это возможно Quote Share this post Link to post Share on other sites More sharing options...
HardWareMan 15 October 1 Posted October 1 · Report post Вам же система говорит "повторяющийся". Вы там коллизию IP адресов устроили, похоже. Quote Share this post Link to post Share on other sites More sharing options...
addi II 1 October 1 Posted October 1 · Report post Да, Вы прав, спасибо большое!!!! Так и есть забыл, исправить у себя адрес Теперь ноут 192.168.0.1, Nucleo 429 192.168.0.40 void MX_LWIP_Init(void) { /* IP addresses initialization */ IP_ADDRESS[0] = 192; IP_ADDRESS[1] = 168; IP_ADDRESS[2] = 0; IP_ADDRESS[3] = 40; NETMASK_ADDRESS[0] = 255; NETMASK_ADDRESS[1] = 255; NETMASK_ADDRESS[2] = 255; NETMASK_ADDRESS[3] = 0; GATEWAY_ADDRESS[0] = 192; GATEWAY_ADDRESS[1] = 168; GATEWAY_ADDRESS[2] = 0; GATEWAY_ADDRESS[3] = 3; но по прежнему не вижу передачи строки и не приходит call back от tcp_connect для того чтобы понять как правильно , делаю запрос у ИИ https://www.google.com/search?q=stm32f429+how+to+send+string+to+pc+over+static+ip+network+using+tcp+lwip+stack+without+rtos&rlz=1C1GCEA_enRU1156RU1156&oq=stm32f429+how+to+send+string+to+pc+over+static+ip+network+using+tcp+lwip+stack+without+rtos&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCjcxNzEzajBqMTWoAgCwAgA&sourceid=chrome&ie=UTF-8 и в проекте делаю по аналогии main.c: /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "lwip.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ #include "lwip/tcp.h" /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ /* USER CODE BEGIN PTD */ /* USER CODE END PTD */ /* Private define ------------------------------------------------------------*/ /* USER CODE BEGIN PD */ /* USER CODE END PD */ /* Private macro -------------------------------------------------------------*/ /* USER CODE BEGIN PM */ #define SERVER_IP_ADDR "192.168.0.1" // Replace with your server IP address #define SERVER_PORT 80 // Replace with your server port /* USER CODE END PM */ /* Private variables ---------------------------------------------------------*/ UART_HandleTypeDef huart3; extern struct netif gnetif; extern unsigned char con_est; unsigned char con_was; unsigned char ok; struct pbuf *ptr; err_t err1; struct netconn *client_conn; extern echoclient_pcb; unsigned char data2[100]; PCD_HandleTypeDef hpcd_USB_OTG_FS; /* USER CODE BEGIN PV */ /* USER CODE END PV */ /* Private function prototypes -----------------------------------------------*/ void SystemClock_Config(void); static void MX_GPIO_Init(void); static void MX_USART3_UART_Init(void); static void MX_USB_OTG_FS_PCD_Init(void); void tcp_client_connect(void); err_t tcp_client_connected2(void *arg, struct tcp_pcb *tpcb, err_t err); err_t tcp_client_recv2(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err); /* USER CODE BEGIN PFP */ /* USER CODE END PFP */ /* Private user code ---------------------------------------------------------*/ /* USER CODE BEGIN 0 */ static void Netif_Config(void); /* USER CODE END 0 */ /** * @brief The application entry point. * @retval int */ int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); /* USER CODE BEGIN SysInit */ /* USER CODE END SysInit */ /* Initialize all configured peripherals */ MX_GPIO_Init(); MX_USART3_UART_Init(); MX_USB_OTG_FS_PCD_Init(); MX_LWIP_Init(); /* USER CODE BEGIN 2 */ /// Netif_Config(); // Wait for the network interface to be up while (netif_is_up(&gnetif) == 0) { HAL_Delay(100); } tcp_client_connect(); /* USER CODE END 2 */ /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) { MX_LWIP_Process(); /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ } /* USER CODE END 3 */ } void tcp_client_connect(void) { struct tcp_pcb *pcb; ip_addr_t server_ip; pcb = tcp_new(); if (pcb == NULL) { Error_Handler(); } ipaddr_aton(SERVER_IP_ADDR, &server_ip); tcp_connect(pcb, &server_ip, SERVER_PORT, tcp_client_connected2); const char *msg = "Hello, Server!"; tcp_write(pcb, msg, strlen(msg), TCP_WRITE_FLAG_COPY); } err_t tcp_client_connected2(void *arg, struct tcp_pcb *tpcb, err_t err) { if (err != ERR_OK) { tcp_close(tpcb); Error_Handler(); return err; } const char *msg = "Hello, Server!"; tcp_write(tpcb, msg, strlen(msg), TCP_WRITE_FLAG_COPY); tcp_output(tpcb); tcp_recv(tpcb, tcp_client_recv2); return ERR_OK; } err_t tcp_client_recv2(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err) { if (p == NULL) { tcp_close(tpcb); return ERR_OK; } // Process received data printf("Received: %.*s\n", p->len, (char*)p->payload); pbuf_free(p); return ERR_OK; } /** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; /** Configure the main internal regulator output voltage */ __HAL_RCC_PWR_CLK_ENABLE(); __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1); /** Initializes the RCC Oscillators according to the specified parameters * in the RCC_OscInitTypeDef structure. */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; RCC_OscInitStruct.HSEState = RCC_HSE_ON; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; RCC_OscInitStruct.PLL.PLLM = 4; RCC_OscInitStruct.PLL.PLLN = 168; RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; RCC_OscInitStruct.PLL.PLLQ = 7; if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) { Error_Handler(); } /** Initializes the CPU, AHB and APB buses clocks */ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2; RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV4; RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV2; if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_5) != HAL_OK) { Error_Handler(); } } /** * @brief USART3 Initialization Function * @param None * @retval None */ static void MX_USART3_UART_Init(void) { /* USER CODE BEGIN USART3_Init 0 */ /* USER CODE END USART3_Init 0 */ /* USER CODE BEGIN USART3_Init 1 */ /* USER CODE END USART3_Init 1 */ huart3.Instance = USART3; huart3.Init.BaudRate = 115200; huart3.Init.WordLength = UART_WORDLENGTH_8B; huart3.Init.StopBits = UART_STOPBITS_1; huart3.Init.Parity = UART_PARITY_NONE; huart3.Init.Mode = UART_MODE_TX_RX; huart3.Init.HwFlowCtl = UART_HWCONTROL_NONE; huart3.Init.OverSampling = UART_OVERSAMPLING_16; if (HAL_UART_Init(&huart3) != HAL_OK) { Error_Handler(); } /* USER CODE BEGIN USART3_Init 2 */ /* USER CODE END USART3_Init 2 */ } /** * @brief USB_OTG_FS Initialization Function * @param None * @retval None */ static void MX_USB_OTG_FS_PCD_Init(void) { /* USER CODE BEGIN USB_OTG_FS_Init 0 */ /* USER CODE END USB_OTG_FS_Init 0 */ /* USER CODE BEGIN USB_OTG_FS_Init 1 */ /* USER CODE END USB_OTG_FS_Init 1 */ hpcd_USB_OTG_FS.Instance = USB_OTG_FS; hpcd_USB_OTG_FS.Init.dev_endpoints = 4; hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL; hpcd_USB_OTG_FS.Init.dma_enable = DISABLE; hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED; hpcd_USB_OTG_FS.Init.Sof_enable = DISABLE; hpcd_USB_OTG_FS.Init.low_power_enable = DISABLE; hpcd_USB_OTG_FS.Init.lpm_enable = DISABLE; hpcd_USB_OTG_FS.Init.vbus_sensing_enable = ENABLE; hpcd_USB_OTG_FS.Init.use_dedicated_ep1 = DISABLE; if (HAL_PCD_Init(&hpcd_USB_OTG_FS) != HAL_OK) { Error_Handler(); } /* USER CODE BEGIN USB_OTG_FS_Init 2 */ /* USER CODE END USB_OTG_FS_Init 2 */ } /** * @brief GPIO Initialization Function * @param None * @retval None */ static void MX_GPIO_Init(void) { GPIO_InitTypeDef GPIO_InitStruct = {0}; /* USER CODE BEGIN MX_GPIO_Init_1 */ /* USER CODE END MX_GPIO_Init_1 */ /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOC_CLK_ENABLE(); __HAL_RCC_GPIOH_CLK_ENABLE(); __HAL_RCC_GPIOA_CLK_ENABLE(); __HAL_RCC_GPIOB_CLK_ENABLE(); __HAL_RCC_GPIOD_CLK_ENABLE(); __HAL_RCC_GPIOG_CLK_ENABLE(); /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOB, LD3_Pin|LD2_Pin, GPIO_PIN_RESET); /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(USB_PowerSwitchOn_GPIO_Port, USB_PowerSwitchOn_Pin, GPIO_PIN_RESET); /*Configure GPIO pin : USER_Btn_Pin */ GPIO_InitStruct.Pin = USER_Btn_Pin; GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING; GPIO_InitStruct.Pull = GPIO_NOPULL; HAL_GPIO_Init(USER_Btn_GPIO_Port, &GPIO_InitStruct); /*Configure GPIO pins : LD3_Pin LD2_Pin */ GPIO_InitStruct.Pin = LD3_Pin|LD2_Pin; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); /*Configure GPIO pin : USB_PowerSwitchOn_Pin */ GPIO_InitStruct.Pin = USB_PowerSwitchOn_Pin; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(USB_PowerSwitchOn_GPIO_Port, &GPIO_InitStruct); /*Configure GPIO pin : USB_OverCurrent_Pin */ GPIO_InitStruct.Pin = USB_OverCurrent_Pin; GPIO_InitStruct.Mode = GPIO_MODE_INPUT; GPIO_InitStruct.Pull = GPIO_NOPULL; HAL_GPIO_Init(USB_OverCurrent_GPIO_Port, &GPIO_InitStruct); /* USER CODE BEGIN MX_GPIO_Init_2 */ /* USER CODE END MX_GPIO_Init_2 */ } /* USER CODE BEGIN 4 */ static void Netif_Config(void) { ip_addr_t ipaddr; ip_addr_t netmask; ip_addr_t gw; #if LWIP_DHCP ip_addr_set_zero_ip4(&ipaddr); ip_addr_set_zero_ip4(&netmask); ip_addr_set_zero_ip4(&gw); #else /* IP address default setting */ IP4_ADDR(&ipaddr, IP_ADDR0, IP_ADDR1, IP_ADDR2, IP_ADDR3); IP4_ADDR(&netmask, NETMASK_ADDR0, NETMASK_ADDR1 , NETMASK_ADDR2, NETMASK_ADDR3); IP4_ADDR(&gw, GW_ADDR0, GW_ADDR1, GW_ADDR2, GW_ADDR3); #endif /* add the network interface */ netif_add(&gnetif, &ipaddr, &netmask, &gw, NULL, ðernetif_init, ðernet_input); /* Registers the default network interface */ netif_set_default(&gnetif); ethernet_link_status_updated(&gnetif); #if LWIP_NETIF_LINK_CALLBACK netif_set_link_callback(&gnetif, ethernet_link_status_updated); #endif } /* USER CODE END 4 */ /** * @brief This function is executed in case of error occurrence. * @retval None */ void Error_Handler(void) { /* USER CODE BEGIN Error_Handler_Debug */ /* User can add his own implementation to report the HAL error return state */ __disable_irq(); while (1) { } /* USER CODE END Error_Handler_Debug */ } #ifdef USE_FULL_ASSERT /** * @brief Reports the name of the source file and the source line number * where the assert_param error has occurred. * @param file: pointer to the source file name * @param line: assert_param error line source number * @retval None */ void assert_failed(uint8_t *file, uint32_t line) { /* USER CODE BEGIN 6 */ /* User can add his own implementation to report the file name and line number, ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */ /* USER CODE END 6 */ } #endif /* USE_FULL_ASSERT */ /** ****************************************************************************** * @file LwIP/LwIP_TCP_Echo_Client/Inc/lwipopts.h * @author MCD Application Team * @brief lwIP Options Configuration. ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ #ifndef __LWIPOPTS_H__ #define __LWIPOPTS_H__ /** * NO_SYS==1: Provides VERY minimal functionality. Otherwise, * use lwIP facilities. */ #define NO_SYS 1 /** * SYS_LIGHTWEIGHT_PROT==0: disable inter-task protection (and task-vs-interrupt * protection) for certain critical regions during buffer allocation, deallocation * and memory allocation and deallocation. */ #define SYS_LIGHTWEIGHT_PROT 0 /* ---------- Memory options ---------- */ /* MEM_ALIGNMENT: should be set to the alignment of the CPU for which lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2 byte alignment -> define MEM_ALIGNMENT to 2. */ #define MEM_ALIGNMENT 4 /* MEM_SIZE: the size of the heap memory. If the application will send a lot of data that needs to be copied, this should be set high. */ #define MEM_SIZE (10*1024) /* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application sends a lot of data out of ROM (or other static memory), this should be set high. */ #define MEMP_NUM_PBUF 10 /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One per active UDP "connection". */ #define MEMP_NUM_UDP_PCB 6 /* MEMP_NUM_TCP_PCB: the number of simultaneously active TCP connections. */ #define MEMP_NUM_TCP_PCB 10 /* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP connections. */ #define MEMP_NUM_TCP_PCB_LISTEN 5 /* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP segments. */ #define MEMP_NUM_TCP_SEG 8 /* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active timeouts. */ #define MEMP_NUM_SYS_TIMEOUT 10 /* ---------- Pbuf options ---------- */ /* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */ #define PBUF_POOL_SIZE 8 /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */ #define PBUF_POOL_BUFSIZE 512 /* ---------- TCP options ---------- */ #define LWIP_TCP 1 #define TCP_TTL 255 /* Controls if TCP should queue segments that arrive out of order. Define to 0 if your device is low on memory. */ #define TCP_QUEUE_OOSEQ 0 /* TCP Maximum segment size. */ #define TCP_MSS (1500 - 40) /* TCP_MSS = (Ethernet MTU - IP header size - TCP header size) */ /* TCP sender buffer space (bytes). */ #define TCP_SND_BUF (4*TCP_MSS) /* TCP_SND_QUEUELEN: TCP sender buffer space (pbufs). This must be at least as much as (2 * TCP_SND_BUF/TCP_MSS) for things to work. */ #define TCP_SND_QUEUELEN (2* TCP_SND_BUF/TCP_MSS) /* TCP receive window. */ #define TCP_WND (2*TCP_MSS) /* ---------- ICMP options ---------- */ #define LWIP_ICMP 1 /* ---------- DHCP options ---------- */ #define LWIP_DHCP 1 /* ---------- UDP options ---------- */ #define LWIP_UDP 1 #define UDP_TTL 255 /* ---------- Statistics options ---------- */ #define LWIP_STATS 0 /* ---------- link callback options ---------- */ /* LWIP_NETIF_LINK_CALLBACK==1: Support a callback function from an interface * whenever the link changes (i.e., link down) */ #define LWIP_NETIF_LINK_CALLBACK 1 /* -------------------------------------- ---------- Checksum options ---------- -------------------------------------- */ /* The STM32F4xx allows computing and verifying the IP, UDP, TCP and ICMP checksums by hardware: - To use this feature let the following define uncommented. - To disable it and process by CPU comment the the checksum. */ #define CHECKSUM_BY_HARDWARE #ifdef CHECKSUM_BY_HARDWARE /* CHECKSUM_GEN_IP==0: Generate checksums by hardware for outgoing IP packets.*/ #define CHECKSUM_GEN_IP 0 /* CHECKSUM_GEN_UDP==0: Generate checksums by hardware for outgoing UDP packets.*/ #define CHECKSUM_GEN_UDP 0 /* CHECKSUM_GEN_TCP==0: Generate checksums by hardware for outgoing TCP packets.*/ #define CHECKSUM_GEN_TCP 0 /* CHECKSUM_CHECK_IP==0: Check checksums by hardware for incoming IP packets.*/ #define CHECKSUM_CHECK_IP 0 /* CHECKSUM_CHECK_UDP==0: Check checksums by hardware for incoming UDP packets.*/ #define CHECKSUM_CHECK_UDP 0 /* CHECKSUM_CHECK_TCP==0: Check checksums by hardware for incoming TCP packets.*/ #define CHECKSUM_CHECK_TCP 0 /* CHECKSUM_CHECK_ICMP==0: Check checksums by hardware for incoming ICMP packets.*/ #define CHECKSUM_GEN_ICMP 0 #else /* CHECKSUM_GEN_IP==1: Generate checksums in software for outgoing IP packets.*/ #define CHECKSUM_GEN_IP 1 /* CHECKSUM_GEN_UDP==1: Generate checksums in software for outgoing UDP packets.*/ #define CHECKSUM_GEN_UDP 1 /* CHECKSUM_GEN_TCP==1: Generate checksums in software for outgoing TCP packets.*/ #define CHECKSUM_GEN_TCP 1 /* CHECKSUM_CHECK_IP==1: Check checksums in software for incoming IP packets.*/ #define CHECKSUM_CHECK_IP 1 /* CHECKSUM_CHECK_UDP==1: Check checksums in software for incoming UDP packets.*/ #define CHECKSUM_CHECK_UDP 1 /* CHECKSUM_CHECK_TCP==1: Check checksums in software for incoming TCP packets.*/ #define CHECKSUM_CHECK_TCP 1 /* CHECKSUM_CHECK_ICMP==1: Check checksums by hardware for incoming ICMP packets.*/ #define CHECKSUM_GEN_ICMP 1 #endif /* ---------------------------------------------- ---------- Sequential layer options ---------- ---------------------------------------------- */ /** * LWIP_NETCONN==1: Enable Netconn API (require to use api_lib.c) */ #define LWIP_NETCONN 0 #define LWIP_RAW 1 /* ------------------------------------ ---------- Socket options ---------- ------------------------------------ */ /** * LWIP_SOCKET==1: Enable Socket API (require to use sockets.c) */ #define LWIP_SOCKET 0 #endif /* __LWIPOPTS_H__ */ Quote Share this post Link to post Share on other sites More sharing options...