Loading...
 
Skip to main content

System Workbench for STM32


fault: preprocessor symbol definition ignored

Hi,

I need some preprocessor definitions in order for existing software to compile. In the project->properties->c/c++build->settgins MCU_GCC_Compiler->Symbols I have three definitions:

GCCARM
STM
HDWFIL="bshhdw.h"

The first two appear in the command line as -DGCCARM and -DSTM but the third one is missing. What would be the correct syntax for assigning a value and why is eclipse not flagging and error whith this entry if it is incorrect?

I also tried escape sequences but \"bshhdw.h\" is then passed to the compiler as /"bshhdw.h/" which looks as if this eclipse is windoze software tweaked to run in a unix environment.

Regards,