2023-02-15 09:39 PM
Hi Team,
I am using the .extsettings to pass values of certain macros to the code.
I am able to achieve the following by using the "Define=" parameter in the [others] section in .extsettings :
#define ABCD
However, I do not see the values of macros getting reflected on CubeIDE:
#define ABCD 1
The macro name gets reflected on the IDE settings, but the value doesn't.
It would be great if there are any inputs on how can macro values be set via the extsettings?. Thanks in advance.
Regards,
Janani
2023-02-20 06:15 AM
Hello @Jansunil
First let me thank you for posting.
Try to check the STM32CubeMx user manual UM1718 paragraph 6.4 Additional settings for C project generation which contains explanations about the usage of .extsettings.
Best regards,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.