Build target 'NUCLEO-F439ZI_ETH_LWIP'

Build started: Project: NUCLEO-F439ZI_ETH_LWIP
*** Using Compiler 'V6.22', folder: 'C:\Users\Balakrishna\AppData\Local\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'NUCLEO-F439ZI_ETH_LWIP'
../Core/Src/main.c(21): warning: In file included from...
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from...
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from...
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from...
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F\portmacro.h(167): error: unknown type name '__forceinline'
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE'
162 | #define portFORCE_INLINE __forceinline
| ^
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F\portmacro.h(170): error: expected 'volatile', 'inline', 'goto', or '('



| ;
../Core/Src/main.c(22): warning: In file included from...
../LWIP/App\lwip.h(29): warning: In file included from...
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/LwIP/src/include\lwip/opt.h(52): warning: In file included from...
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/LwIP/src/include\lwip/debug.h(40): warning: In file included from...
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/LwIP/src/include\lwip/arch.h(48): warning: In file included from...
C:/Users/Balakrishna/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1/Middlewares/Third_Party/LwIP/system\arch/cc.h(47): error: 'sys/time.h' file not found
47 | #include <sys/time.h>
| ^~~~~~~~~~~~
11 errors generated.



I am getting the above error when generating code for Keil Microvision from STM32 Cube MX. If anyone of you has come across such an error it'll be helpful if you let me know.

Parents Reply Children
No data