What is %cd% in build log? (Linux.)
I finally did this trick: http://www.openstm32.org/forumthread1636 (Go to “project properties”→ “C/C++ build” → settings → “tool settings” → “MCU Gcc compiler” → “Preprocessor” → “Defined Symbols”
Chose weak and packed to edit them by manually add “” around. )
And it works perfectly.
Thank you very much!