2023-09-04 11:33 PM
I encountered a problem with building project from STM32CubeMX v6.9.1 with generated Makefile and CMSIS_V2 enabled. Starting build by 'make' returns an error 1 for /main.o "Can not find specified file". On the other hand, when using CMSIS_V1 everything is building without errors.
Is it something with CubeMX or CMSIS_V2 need some extra configuration, when using makefile from Cube? I am using GNU Make 3.81 for Windows and tried build it with two version of GNU Arm Compiler: v10.3-2021.10 and 9 20-q1-update.
Solved! Go to Solution.
2023-09-11 12:27 AM
Project was building succesful and work correctly, if I had delete -DCMSIS_device_header=<stm32g0xx.h> from Makefile. Topic to close.
2023-09-11 12:27 AM
Project was building succesful and work correctly, if I had delete -DCMSIS_device_header=<stm32g0xx.h> from Makefile. Topic to close.