cancel
Showing results for 
Search instead for 
Did you mean: 

I'm using new STM32 IDE and apparently he doesn't care of active build configuration

andre239955_stm1_stmicro
Associate III

I have two configuration, one for debug and one for release,

Debug is the first one, when I change to release IDE doesn't care about that and continue to use Debug compilation parameters.

It's really boring and dangerous

Can you check on your side?

Thank-you

4 REPLIES 4
Pavel A.
Evangelist III

Cannot reproduce in v 1.3.1. Switching configurations works.

-- pa

Hi,

I redo some tests this morning and as I see the issue seems to be located in the editor it self, for instance a 'DEBUG' symbol that is not defined in release is still considered. Compiled code seems to be ok. Have look in the attached in the screen capture.

Pavel A.
Evangelist III

Aha. This actually looks like indexer issue: it does not follow the active configuration, so the #ifdef'ed section remains shadowed.

Try to re-index and check the indexer settings in Eclipse.

-- pa

andre239955_stm1_stmicro
Associate III

:grinning_face: 0693W000000W3NMQA0.png

changing to 'Use active build configuration' fix my problem.

When I look in the project indexer I cannot find explanation of the previous behaviour or maybe I'm not looking at the right place ;)

0693W000000W3NWQA0.png

I have the impress that the project settings was referring to general settings and general settings was referring to the project settings...

Thanks