cannot remove adc1 from nucleo-5a5zj ux-device-CDC-ACM example
- November 11, 2024
- 6 replies
- 1355 views
- Used stm32cubemx 6.11.0 to extract the example Ux-device-CDC-ACM for nucleo board u5a5zj-q
- I ran generate code
- I used stm32cubeide 1.16.1 to load the IOC and I was able to build and run the example and see it allocate the VCP port on windows 10
- Then I used stm32cubeide to disable ADC1 and did a rebuild.
- I got the error below.
- What am I doing wrong ?
- I have attached my original .ioc file and the one on which the build fails.
abi-gcc "C:/Cer
ibell/test/U5A5/using mx 6_11_0/Ux_Device_CDC_ACM/Drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal.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"Drivers/STM32U5xx_HAL_Driver/stm32u5xx_hal.d" -MT"Drivers/STM32U5xx_HAL_Driver/stm32u5xx_hal.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32U5xx_HAL_Driver/stm32u5xx_hal.o"
make: *** No rule to make target 'C:/Ceribell/test/U5A5/using mx 6_11_0/Ux_Device_CDC_ACM/Drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal_adc.c', needed by 'Drivers/STM32U5xx_HAL_Driver/stm32u5xx_hal_adc.o'. Stop.
make: *** Waiting for unfinished jobs....
"make -j4 all" terminated with exit code 2. Build might be incomplete.
