Skip to main content
Visitor II
March 14, 2025
Question

Latest Build FAILS recompilation of Ux_Device_CDC_ACM

  • March 14, 2025
  • 1 reply
  • 370 views

THIS IS URGENT.
I have had Ux_Device_CDC_ACM (and an enhanced version of it) working for months, and it has since BROKEN.  I use the NUCLEO-U5A5ZJ-Q to baseline.

Here is what I did:

1) Created a new Ux_Device_CDC_ACM project.

2) Used STM32CubeIDE Version: 1.18.0 Build: 24413_20250227_1633 (UTC), compiled it and ran it successfully.

3) Exited the IDE

4) Used STM32CubeMX Version 1.14.0 and regenerated the code.

5) Exited STM32CubeMX

6) Used the aforementioned STM32CubeIDE, cleaned and and recompiled.  The build failed with the following messages:
THIS HAS BEEN AN ISSUE THAT WILL DIRECTLY IMPACT A LARGE CLIENT.  PLEASE RESPOND QUICKLY.

12:05:31 **** Build of configuration Debug for project Ux_Device_CDC_ACM ****
make -j24 all 
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_alternate_setting_get.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_alternate_setting_get.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_alternate_setting_get.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_alternate_setting_get.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_alternate_setting_set.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_alternate_setting_set.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_alternate_setting_set.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_alternate_setting_set.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_class_register.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_class_register.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_class_register.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_class_register.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_class_unregister.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_class_unregister.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_class_unregister.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_class_unregister.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_clear_feature.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_clear_feature.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_clear_feature.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_clear_feature.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_configuration_get.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_configuration_get.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_configuration_get.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_configuration_get.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_configuration_set.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_configuration_set.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_configuration_set.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_configuration_set.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_control_request_process.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_control_request_process.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_control_request_process.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_control_request_process.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_descriptor_send.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_descriptor_send.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_descriptor_send.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_descriptor_send.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_disconnect.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_disconnect.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_disconnect.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_disconnect.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_endpoint_stall.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_endpoint_stall.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_endpoint_stall.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_endpoint_stall.o"
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_get_status.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_get_status.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_get_status.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_get_status.o"
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_alternate_setting_get.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
arm-none-eabi-gcc "C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_host_wakeup.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_FULL_LL_DRIVER -DTX_INCLUDE_USER_DEFINE_FILE -DTX_SINGLE_MODE_NON_SECURE=1 -DUSBPD_PORT_COUNT=1 -DUSBPD_THREADX -D_SNK -DUSBPDCORE_LIB_NO_PD -DUX_INCLUDE_USER_DEFINE_FILE -DUSE_HAL_DRIVER -DSTM32U5A5xx -c -I../../Core/Inc -I../../AZURE_RTOS/App -I../../USBPD/App -I../../USBPD/Target -I../../USBX/App -I../../USBX/Target -I../../Drivers/STM32U5xx_HAL_Driver/Inc -I../../Drivers/STM32U5xx_HAL_Driver/Inc/Legacy -I../../Middlewares/ST/threadx/common/inc -I../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32U5XX/inc -I../../Drivers/CMSIS/Device/ST/STM32U5xx/Include -I../../Middlewares/ST/threadx/ports/cortex_m33/gnu/inc -I../../Middlewares/ST/usbx/common/core/inc -I../../Middlewares/ST/usbx/ports/generic/inc -I../../Middlewares/ST/usbx/common/usbx_stm32_device_controllers -I../../Middlewares/ST/usbx/common/usbx_device_classes/inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP/STM32U5xx_Nucleo -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Middlewares/USBX/UX Device CoreStack/ux_device_stack_host_wakeup.d" -MT"Middlewares/USBX/UX Device CoreStack/ux_device_stack_host_wakeup.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/USBX/UX Device CoreStack/ux_device_stack_host_wakeup.o"
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:88: Middlewares/USBX/UX Device CoreStack/ux_device_stack_alternate_setting_get.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_alternate_setting_set.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:90: Middlewares/USBX/UX Device CoreStack/ux_device_stack_alternate_setting_set.o] Error 1
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_class_register.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:92: Middlewares/USBX/UX Device CoreStack/ux_device_stack_class_register.o] Error 1
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_class_unregister.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:94: Middlewares/USBX/UX Device CoreStack/ux_device_stack_class_unregister.o] Error 1
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_clear_feature.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:96: Middlewares/USBX/UX Device CoreStack/ux_device_stack_clear_feature.o] Error 1
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_configuration_get.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_configuration_set.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:98: Middlewares/USBX/UX Device CoreStack/ux_device_stack_configuration_get.o] Error 1
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_control_request_process.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:100: Middlewares/USBX/UX Device CoreStack/ux_device_stack_configuration_set.o] Error 1
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_descriptor_send.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:102: Middlewares/USBX/UX Device CoreStack/ux_device_stack_control_request_process.o] Error 1
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:104: Middlewares/USBX/UX Device CoreStack/ux_device_stack_descriptor_send.o] Error 1
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_disconnect.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_endpoint_stall.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:106: Middlewares/USBX/UX Device CoreStack/ux_device_stack_disconnect.o] Error 1
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:108: Middlewares/USBX/UX Device CoreStack/ux_device_stack_endpoint_stall.o] Error 1
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_get_status.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
In file included from ../../Middlewares/ST/usbx/ports/generic/inc/ux_port.h:79,
 from ../../Middlewares/ST/usbx/common/core/inc/ux_api.h:163,
 from C:/Projects/snip/fw/recorder/rw_sandbox/Ux_Device_CDC_ACM/Middlewares/ST/usbx/common/core/src/ux_device_stack_host_wakeup.c:28:
../../Middlewares/ST/threadx/common/inc/tx_api.h:131:10: fatal error: tx_port.h: No such file or directory
 131 | #include "tx_port.h"
 | ^~~~~~~~~~~
compilation terminated.
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:110: Middlewares/USBX/UX Device CoreStack/ux_device_stack_get_status.o] Error 1
make: *** [Middlewares/USBX/UX Device CoreStack/subdir.mk:112: Middlewares/USBX/UX Device CoreStack/ux_device_stack_host_wakeup.o] Error 1
"make -j24 all" terminated with exit code 2. Build might be incomplete.

12:05:33 Build Failed. 27 errors, 0 warnings. (took 1s.634ms)

 

    This topic has been closed for replies.

    1 reply

    Visitor II
    March 14, 2025

    Never mind.  Apparenty the default setting for the project is EWARM not STM32CCubeIDE.