2024-05-21 09:15 AM
Hi i have defined a Defined symbol "COST=3" in setting compiler like this
stm32cube color fine the code but during execution it is like if COST=0
you can watch the execution cursor are on the #else (and numBB are = 0)
How can i fix it?
Solved! Go to Solution.
2024-05-21 09:24 AM
You can check it out here.
https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
I can recommend you to try making your definition in quotes and using spaces.
2024-05-21 09:24 AM
You can check it out here.
https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
I can recommend you to try making your definition in quotes and using spaces.
2024-05-21 09:26 AM
My bad he juste load bad application