| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros | Functions
Information
Bootloader

## Macros
#define | BOOTLOADER_START_ADDR (uint32_t)&Image$$ER_IROM1$$Base
| Macro for getting the start address of the application image. More...
#define | NRF_UICR_BOOTLOADER_START_ADDRESS (NRF_UICR_BASE + 0x14)
| Bootloader start address in UICR. More...
#define | MAIN_APPLICATION_START_ADDR (MBR_SIZE)
| Main application start address if the project does not use a SoftDevice. More...

## Functions
uint32_t *Image $$ER_IROM1 $$Base | __attribute__ ((used))
| External definitions of symbols for the start of the application image.

## Detailed Description

## Macro Definition Documentation

#define BOOTLOADER_START_ADDR (uint32_t)&Image$$ER_IROM1$$Base

Macro for getting the start address of the application image.

This macro is valid only when absolute placement is used for the application image. The macro is not a compile time symbol. It cannot be used as a constant expression, for example, inside a static assert or linker script at-placement.

#define MAIN_APPLICATION_START_ADDR (MBR_SIZE)

Main application start address if the project does not use a SoftDevice.

Note
  The MBR is required for the Bootloader to function.

#define NRF_UICR_BOOTLOADER_START_ADDRESS (NRF_UICR_BASE + 0x14)

Bootloader start address in UICR.

Register location in UICR where the bootloader start address is stored.

Note
  If the value at the given location is 0xFFFFFFFF, the bootloader address is not set.