Hello,
I am using Nordic's SES 4.52 with a project from nRF Connect SDK 1.3.1. I have preprocessor definitions I'd like to add to the project to mirror those added on the command line when the project is built in our source control/automated build system. The application needs the definition FIRMWARE_VERSION defined. So I added "-DFIRMWARE_VERSION=2.07.0" in the Additional CMake Options textbox under Tools->Options->nRF Connect. I've reloaded the project and confirmed what I entered is output as a part of the cmake command. But when I reference FIRMWARE_VERSION in my code, I get an error that it is undeclared. Same with CONFIG_FIRMWARE_VERSION. I thought this was the correct approach but perhaps there is a better way.
How does one successfully add preprocessor definitions to an nRF Connect SDK project in Nordic's SES?
Kiran