From 7fe51a9de26a53bdc43163923f22690db026333a Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Tue, 17 May 2022 14:14:37 -0400 Subject: [PATCH] lib: fix lpc176x flash accelerator config According to the datasheet it is necessary to set the flash accelerator value to 5 CPU clocks for 100-120MHz . Signed-off-by: Eric Callahan --- lib/lpc176x/device/system_LPC17xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lpc176x/device/system_LPC17xx.c b/lib/lpc176x/device/system_LPC17xx.c index eae33cb..3e6587a 100644 --- a/lib/lpc176x/device/system_LPC17xx.c +++ b/lib/lpc176x/device/system_LPC17xx.c @@ -327,7 +327,7 @@ // */ #define FLASH_SETUP 1 -#define FLASHCFG_Val 0x0000303A +#define FLASHCFG_Val 0x0000403A /* //-------- <<< end of configuration section >>> ------------------------------