2025-11-06 2:17 PM
I've been trying to build example projects (i.e. Ux_Host_HID) with the make tool chain config with stm32cubeMX
So when i run make, a bunch of stuff compiles, then i get this error.
$(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR)
$(AS) -c $(CFLAGS) $< -o $@
$(BUILD_DIR)/%.o: %.S Makefile | $(BUILD_DIR)
$(AS) -c $(CFLAGS) $< -o $@
Note: all files are generated from STM32CubeMX form their examples directory.
2025-11-10 3:04 AM - edited 2025-11-10 3:33 AM
Hello @William2003
Could you please specify which versions of STM32CubeMX and STM32CubeIDE you are using, as well as your operating system?
I used STM32CubeMX version 6.15.0 and STM32CubeIDE version 1.19.0. I built the Ux_Host_HID example for the H7 series, and the build completed successfully with zero errors and zero warnings.
Makefile build result
FOR STM32H7S
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.