Question
STM32CubeMX V4.3 & Keil MDK 4.7 linking problem
Posted on July 20, 2014 at 15:56
Hi,
When I make Project, generate code, open Project in MDK, Close NKD, Change Project, generate again, open MDK,....... several times then following happens: 1.) every 2,3,4th times, when I build all of MDK Project, I get following message: ControllerV2 Configuration\ControllerV2 Configuration.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST. Keil says that this means that there is no main function available. How ca this happen? 2.) Every time I generate the Project in CubeMX then 3 new lines added to my include path in C/C++ configuration. So after 5 time generate, I have ~20 entries in C/C++ include path in the Project configuration. How can I fix that without every time to delete all addede entries. 3.) After every generate, a lot of entries in my MDK Project configuration are changed. For example my Quarz freqencies, type of Emulator, type of Debug,.... How can I hint the CubeMX from changing These values? I Need o say that this tool is the best tool I had in the last 5 years. It helps me to save huge amount of time to configure the contoller for the required Outputs. Thanks a lot #keil