2021-07-08 02:20 AM
I would like to something like this in the build configuration:
#define DEFTEXT "some_string"
This is the relevant section of the cxstm8 manual:
-d*> define symbol
...
-d*^
specify * as the name of a user-defined preprocessor symbol (#define). The form of the definition is
-dsymbol[=value]; the symbol is set to 1 if value is omitted.
You can specify up to 60 such definitions.
I tried all kinds of variations but I could not get it to work. Anyone knows how it is done?
Cosmic proposed:
-dDEFTEXT=\\\�?singleword\\\�?
-d�?\�?DEFTEXT=\\\�?a short string\\\�?\�?�?
When I enter this in the additional options box it gets changed to the following:
"-dDEFTEXT=\\\singleword\\\"
"-d\DEFTEXT=\\\a short string\\\\"
Best regards,
Christian.