How to include pre-processor directives in an SES Nordic Edition project?

Hello,

I am using SES Nordic Edition v5.60 and I would like to be able to include pre-processor directives in my project but I could not find the pre-processor optins.

Please help.

Kind regards

Mohamed

Parents
  • Hello,

    Please share which SDK you are trying with.

    I assume you are using nRF connect SDK, in that case you won't be able to see the preprocessor definition in the option tab. You need to configure your CMakeLists.txt and prj.conf file in the project you are trying with.

    Or in the Nordic SES IDE you can go to the project tab and find the Configure nRF connect sdk project option and add there (project-->Configure nRF connect sdk project).

    Kind Regards,

    Abhijith

  • Hi Abhijith,

    I am using nRF Connect SDK 1.7.0.

    In SES-Nordic Edition Project > Configure nRF Connect SDK Project I get two options:

    menuconfig and mcuboot_menuconfig

    I guessed I needed to click menuconfig. so I did. Then I got two options again

    Homebeacon Settings - Homebeacon is the name of my project

    Zephyr Kernel - I was hoping I will be able to see under this the pre-processor option but I could not find.

    So, how do I add my preprocessor directives such as -DNRF52_SERIES?

    Thank you.

    Kind regards

    Mohamed

Reply
  • Hi Abhijith,

    I am using nRF Connect SDK 1.7.0.

    In SES-Nordic Edition Project > Configure nRF Connect SDK Project I get two options:

    menuconfig and mcuboot_menuconfig

    I guessed I needed to click menuconfig. so I did. Then I got two options again

    Homebeacon Settings - Homebeacon is the name of my project

    Zephyr Kernel - I was hoping I will be able to see under this the pre-processor option but I could not find.

    So, how do I add my preprocessor directives such as -DNRF52_SERIES?

    Thank you.

    Kind regards

    Mohamed

Children
Related