Adding files in System Workbench in CubeMX generated project
Tried to use System Workbench in connection with CubeMX under linux. Everything was fine, until I tried to add new *.c and *.h files in project.
What I’ve made:
- Create new files led.c and led.h in folders project_folder/Src/ project_folder/Inc/ respectively
- Link *.c file into project/Application/User/ folder in the System Workbench environment. I’ve made this by dragging file in this folder. As the result, project compiles successfully
But when now I want to regenerate project in CubeMX, I got error “the code is successfully generated under /home/..../project location /, but SW4STM32project generation have a problem”
How to correctly add existiting files into workspace???