Closed bvernoux closed 4 years ago
I'm using windows 7 Pro 64bits SP1 + STM32CubeIDE 1.4.2 (Latest version available)
Step to reproduce the issue:
I obtain the error:
... arm-none-eabi-gcc ..\..\micropython\py\modcmath.c -mcpu=cortex-m7 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DEEZ_BP3C_REVISION_R3B1=1 -DEEZ_MCU_REVISION_R1B5=1 -DLWIP_NETIF_HOSTNAME=1 -DSCPI_USER_CONFIG=1 -DLZ4_FORCE_MEMORY_ACCESS=0 -DHAVE_STDBOOL=1 -DEEZ_PLATFORM_STM32 -D__packed=__attribute__((__packed__)) -D__weak=__attribute__((__weak__)) -DOPTION_ETHERNET=1 -DOPTION_EXT_RTC=1 -DOPTION_EXT_EEPROM=1 -DOPTION_BP=0 -DOPTION_DISPLAY=1 -DOPTION_GUI_THREAD=1 -DOPTION_FAN=1 -DOPTION_AUX_TEMP_SENSOR=1 -DOPTION_WATCHDOG=1 -DOPTION_ENCODER=1 -DLODEPNG_NO_COMPILE_ALLOCATORS=1 -DLODEPNG_NO_COMPILE_DECODER=1 -DLODEPNG_NO_COMPILE_DISK=1 -DLODEPNG_NO_COMPILE_ANCILLARY_CHUNKS=1 -DLODEPNG_NO_COMPILE_ERROR_TEXT=1 -DLODEPNG_NO_COMPILE_CPP=1 -DSTM32F769xx -DDEBUG -c -I../LIBJPEG/Target -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Drivers/STM32F7xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/Third_Party/LibJPEG/include -I../Middlewares/Third_Party/LwIP/system/arch -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../LWIP/App -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/system -I../FATFS/App -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../USB_DEVICE/Target -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Utilities/JPEG -I../LIBJPEG/App -I../Drivers/CMSIS/Include -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../USB_DEVICE/App -I../LWIP/Target -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1 -I../FATFS/Target -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/FatFs/src -I../Middlewares/Third_Party/LwIP/src/include/netif -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../.. -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../libscpi/inc -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../micropython -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../micropython/ports/bb3 -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/.. -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../../eez/scpi -Og -ffunction-sections -fdata-sections -Wall -fstack-usage -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o micropython\py\modcmath.o arm-none-eabi-gcc ..\..\..\eez\platform\stm32\STM32_USB_Device_Library\Class\MSC\Src\usbd_msc.c -mcpu=cortex-m7 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DEEZ_BP3C_REVISION_R3B1=1 -DEEZ_MCU_REVISION_R1B5=1 -DLWIP_NETIF_HOSTNAME=1 -DSCPI_USER_CONFIG=1 -DLZ4_FORCE_MEMORY_ACCESS=0 -DHAVE_STDBOOL=1 -DEEZ_PLATFORM_STM32 -D__packed=__attribute__((__packed__)) -D__weak=__attribute__((__weak__)) -DOPTION_ETHERNET=1 -DOPTION_EXT_RTC=1 -DOPTION_EXT_EEPROM=1 -DOPTION_BP=0 -DOPTION_DISPLAY=1 -DOPTION_GUI_THREAD=1 -DOPTION_FAN=1 -DOPTION_AUX_TEMP_SENSOR=1 -DOPTION_WATCHDOG=1 -DOPTION_ENCODER=1 -DLODEPNG_NO_COMPILE_ALLOCATORS=1 -DLODEPNG_NO_COMPILE_DECODER=1 -DLODEPNG_NO_COMPILE_DISK=1 -DLODEPNG_NO_COMPILE_ANCILLARY_CHUNKS=1 -DLODEPNG_NO_COMPILE_ERROR_TEXT=1 -DLODEPNG_NO_COMPILE_CPP=1 -DSTM32F769xx -DDEBUG -c -I../LIBJPEG/Target -I../Middlewares/Third_Party/LwIP/src/include/netif/ppp -I../Middlewares/Third_Party/LwIP/src/include/compat/stdc -I../Drivers/STM32F7xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/Third_Party/LibJPEG/include -I../Middlewares/Third_Party/LwIP/system/arch -I../Middlewares/Third_Party/LwIP/src/include -I../Middlewares/Third_Party/LwIP/src/include/compat/posix -I../LWIP/App -I../Core/Inc -I../Middlewares/Third_Party/LwIP/src/include/lwip -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/arpa -I../Middlewares/Third_Party/LwIP/system -I../FATFS/App -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/LwIP/src/include/lwip/priv -I../USB_DEVICE/Target -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include -I../Middlewares/Third_Party/LwIP/src/include/lwip/prot -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/sys -I../Middlewares/Third_Party/LwIP/src/include/lwip/apps -I../Utilities/JPEG -I../LIBJPEG/App -I../Drivers/CMSIS/Include -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../USB_DEVICE/App -I../LWIP/Target -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1 -I../FATFS/Target -I../Middlewares/Third_Party/LwIP/src/include/compat/posix/net -I../Middlewares/Third_Party/FatFs/src -I../Middlewares/Third_Party/LwIP/src/include/netif -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../.. -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../libscpi/inc -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../micropython -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../micropython/ports/bb3 -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/.. -ID:/_proj/__Lab_Tools/PowerSupply/EEZ-BB3/modular-psu-firmware/src/third_party/stm32_cubeide/../../eez/scpi -Og -ffunction-sections -fdata-sections -Wall -fstack-usage -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o eez\platform\stm32\STM32_USB_Device_Library\Class\MSC\Src\usbd_msc.o ..\..\..\eez\platform\stm32\STM32_USB_Device_Library\Class\MSC\Src\usbd_msc.c:42:10: fatal error: usbd_msc.h: No such file or directory #include "usbd_msc.h" ^~~~~~~~~~~~ compilation terminated.
Fixed
I'm using windows 7 Pro 64bits SP1 + STM32CubeIDE 1.4.2 (Latest version available)
Step to reproduce the issue:
I obtain the error: