In the Nordic code at this github example
there is a reference to UICR.CLEN0
.
#define CODE_REGION_1_START 0x00020000 \\
/**< This field should correspond to the size of Code Region 0, (which is identical to \
Start of Code Region 1), found in UICR.CLEN0 register. This value is used for compile \
safety, as the linker will fail if application expands into bootloader. Runtime, the \
bootloader will use the value found in UICR.CLEN0. */
Where can I find the layout of the UICR memory block?
In nrf51822/Board/nrf6310/uicr_config_example/uicr_config.h
I could find UICR_CLENR0
. Is this the register that is meant here? Is that header file the authoritative source for this?