Option NVM_WRITEONCE not needed on LPC. (tested multi-write OK)

pull/38/head
Daniele Lacamera 2020-03-04 16:21:34 +01:00
parent a1a13c2318
commit 6ff8473c0e
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ NO_ASM?=0
EXT_FLASH?=0
SPI_FLASH?=0
ALLOW_DOWNGRADE?=0
NVM_FLASH_WRITEONCE?=1
NVM_FLASH_WRITEONCE?=0
WOLFBOOT_VERSION?=0
V?=0
SPMATH?=1

View File

@ -29,8 +29,8 @@
static int flash_init = 0;
uint32_t SystemCoreClock;
#ifndef NVM_FLASH_WRITEONCE
# 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."
#endif
#define BOARD_BOOTCLOCKPLL180M_CORE_CLOCK 180000000U