From 6cd8f27229e8f0759b22a015a480e2fcc1fe0192 Mon Sep 17 00:00:00 2001 From: Don Kjer Date: Thu, 12 Aug 2021 16:16:34 -0700 Subject: [PATCH] Fix for nk65 keyboard --- keyboards/nk65/config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keyboards/nk65/config.h b/keyboards/nk65/config.h index fa14e9ffbfdd..a178307cc03d 100755 --- a/keyboards/nk65/config.h +++ b/keyboards/nk65/config.h @@ -148,6 +148,9 @@ along with this program. If not, see . * both 128kb and 256kb versions of F303. * Register 0x1FFFF7CC holds the size of the flash memory. */ +#ifndef FLASHSIZE_BASE +# define FLASHSIZE_BASE ((uint32_t)0x1FFFF7CCU) /*!< FLASH Size register base address */ +#endif #define EEPROM_START_ADDRESS #define FEE_MCU_FLASH_SIZE \ ({ \