Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 BLE Light Switch Example MBR_BOOTLADER_ADDR undeclared

Hi all!

I'm trying to run the BLE light switch example on the nRF52833 development board using Segger. I get the following error whenever I try to build the client. This is found in the hal.h file.

Any ideas on how to fix this?

Thanks!

Parents
  • Hi,

    Which version of the SDK are you using?

    Have you made any changes to the example? Are you getting this error only with the client example, or with other examples as well?

    Did you build the example following the instructions in Building the Bluetooth mesh stack? The first time building mesh examples in SEGGER Embedded Studio (SES), you must set the SDK_ROOT macro in order for SES to be able to find the nRF5 SDK files. To set the SDK_ROOT macro manually in SES:

    1. Go to Tools -> Options.
    2. Select Building.
    3. Under Build in the configuration list, edit Global macros to contain SDK_ROOT=<the path to nRF5 SDK instance>.
    4. Save the configuration.

    For more information about this you can check out the link I added above, or go to this link, which will send you directly to the SES part of the instructions.

    Best regards,

    Marte

Reply
  • Hi,

    Which version of the SDK are you using?

    Have you made any changes to the example? Are you getting this error only with the client example, or with other examples as well?

    Did you build the example following the instructions in Building the Bluetooth mesh stack? The first time building mesh examples in SEGGER Embedded Studio (SES), you must set the SDK_ROOT macro in order for SES to be able to find the nRF5 SDK files. To set the SDK_ROOT macro manually in SES:

    1. Go to Tools -> Options.
    2. Select Building.
    3. Under Build in the configuration list, edit Global macros to contain SDK_ROOT=<the path to nRF5 SDK instance>.
    4. Save the configuration.

    For more information about this you can check out the link I added above, or go to this link, which will send you directly to the SES part of the instructions.

    Best regards,

    Marte

Children
No Data
Related