clean up
This commit is contained in:
parent
b1c6276a93
commit
3f70fb9ec9
@ -260,7 +260,7 @@ CFLAGS += -ffunction-sections -fdata-sections -fno-strict-aliasing
|
|||||||
CFLAGS += -fno-builtin --short-enums
|
CFLAGS += -fno-builtin --short-enums
|
||||||
|
|
||||||
# Defined Symbol (MACROS)
|
# Defined Symbol (MACROS)
|
||||||
CFLAGS += -DBOOTLOADER_VERSION=0x0$(SD_VER1)0$(SD_VER2)0$(SD_VER3)0$(SD_VER4)UL
|
CFLAGS += -DMK_BOOTLOADER_VERSION=0x0$(SD_VER1)0$(SD_VER2)0$(SD_VER3)0$(SD_VER4)UL
|
||||||
|
|
||||||
CFLAGS += -D__HEAP_SIZE=0
|
CFLAGS += -D__HEAP_SIZE=0
|
||||||
CFLAGS += -DCONFIG_GPIO_AS_PINRESET
|
CFLAGS += -DCONFIG_GPIO_AS_PINRESET
|
||||||
|
@ -318,7 +318,7 @@ int main(void)
|
|||||||
if (dfu_start) NRF_POWER->GPREGRET = 0;
|
if (dfu_start) NRF_POWER->GPREGRET = 0;
|
||||||
|
|
||||||
// Save bootloader version to pre-defined register, retrieved by application
|
// Save bootloader version to pre-defined register, retrieved by application
|
||||||
BOOTLOADER_VERSION_REGISTER = (BOOTLOADER_VERSION);
|
BOOTLOADER_VERSION_REGISTER = (MK_BOOTLOADER_VERSION);
|
||||||
|
|
||||||
// This check ensures that the defined fields in the bootloader corresponds with actual
|
// This check ensures that the defined fields in the bootloader corresponds with actual
|
||||||
// setting in the chip.
|
// setting in the chip.
|
||||||
|
Loading…
Reference in New Issue
Block a user