We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1a13c2 commit 6ff8473Copy full SHA for 6ff8473
2 files changed
config/examples/lpc54606j512.config
@@ -13,7 +13,7 @@ NO_ASM?=0
13
EXT_FLASH?=0
14
SPI_FLASH?=0
15
ALLOW_DOWNGRADE?=0
16
-NVM_FLASH_WRITEONCE?=1
+NVM_FLASH_WRITEONCE?=0
17
WOLFBOOT_VERSION?=0
18
V?=0
19
SPMATH?=1
hal/lpc.c
@@ -29,8 +29,8 @@
29
static int flash_init = 0;
30
uint32_t SystemCoreClock;
31
32
-#ifndef NVM_FLASH_WRITEONCE
33
-# error "wolfBoot LPC HAL: no WRITEONCE support detected. Please define NVM_FLASH_WRITEONCE"
+#ifdef NVM_FLASH_WRITEONCE
+# error "wolfBoot LPC HAL: WRITEONCE support detected. Please do not define NVM_FLASH_WRITEONCE on this platform."
34
#endif
35
36
#define BOARD_BOOTCLOCKPLL180M_CORE_CLOCK 180000000U
0 commit comments