I did indeed fixed my issue yesterday while figuring out how to the cubemx generated code with Makefile to use vim as editor.
I generated code for the stm32f303k8 and I compared my eclipse flash.ld to the generated one.
The issues was a wrong RAM Length.
Using the project template I was using 16KB as SRAM length.
Then I figure out that those 16KB of SRAM included 4KB of CCMRAM hence I should have used a RAM length of 12KB instead.
I just had subtract the CCMRAM length to the SRAM length and edit the flash.ld to fix my issue.
Thank you making the book, it saved me a lot of time learning the STM environment.
Recently I’m playing with the LibOpenCM3 library (cortex M0(+),M3,M4). Did you ever use it?
Thank you to keeping track of the forum posts.
hi,
Did you try to right click on the project folder and refresh it?
I had the same problem a couple time ago when I forgot to refresh the project after restarting eclipse and got weird error messages.
If it not working you can also try to clean the project (right click on the folder Clean Project) and rebuild it.
Hope it fix your issue.