2020-02-19 12:37 PM
I'm just getting started with the STM32CubeIDE and trying to build a motor control projects. I can compile with 0 errors but when I go to run debug it says 'no program file is specified'. If I have a C project named "my_projects" what will the name of the program file be and where is it located?
2020-02-19 12:45 PM
Looks for *.elf file in your project ...
Location depends of your build configuration name.
Common location is <project repository>/<build configuration name>/<project name>.elf
Default build configurations are "Debug" and "Release".
Project compilation log within console should provide you such .elf file path.
Creating debug configuration after compile success should find for you such .elf file.
2020-02-19 02:53 PM
My mistake, most the console window was offscreen. elf was not generated because an include file was missing, file stm32f3xx_ll_bus.h
The file is in directory C:\Users\User\STM32Cube\Repository\STM32Cube_FW_F3_V1.11.0\Drivers\STM32F3xx_HAL_Driver\Inc
How do I add this path to my project?
2020-02-19 05:11 PM