aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nk65
diff options
context:
space:
mode:
authorDonald Kjer <don.kjer@gmail.com>2021-08-23 15:15:34 -0700
committerGitHub <noreply@github.com>2021-08-23 23:15:34 +0100
commite756a21636149ad47c19c659d04be93cf3071dab (patch)
treeaa350c7209c5375f8a3c400353969d2ce0ed3748 /keyboards/nk65
parent2481e109a0f79b4cdcecab4a6bf6755fb5eda3fc (diff)
downloadqmk_firmware-e756a21636149ad47c19c659d04be93cf3071dab.tar.gz
qmk_firmware-e756a21636149ad47c19c659d04be93cf3071dab.zip
eeprom_stm32: implement high density wear leveling (#12567)
* eeprom_stm32: implement wear leveling Update EECONFIG_MAGIC_NUMBER eeprom_stm32: check emulated eeprom size is large enough * eeprom_stm32: Increasing simulated EEPROM density on stm32 * Adding utility script to decode emulated eeprom * Adding unit tests * Applying qmk cformat changes * cleaned up flash mocking * Fix for stm32eeprom_parser.py checking via signature with wrong base * Fix for nk65 keyboard Co-authored-by: Ilya Zhuravlev <whatever@xyz.is> Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to 'keyboards/nk65')
-rwxr-xr-xkeyboards/nk65/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/nk65/config.h b/keyboards/nk65/config.h
index fa14e9ffb..a178307cc 100755
--- a/keyboards/nk65/config.h
+++ b/keyboards/nk65/config.h
@@ -148,6 +148,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
148 * both 128kb and 256kb versions of F303. 148 * both 128kb and 256kb versions of F303.
149 * Register 0x1FFFF7CC holds the size of the flash memory. 149 * Register 0x1FFFF7CC holds the size of the flash memory.
150 */ 150 */
151#ifndef FLASHSIZE_BASE
152# define FLASHSIZE_BASE ((uint32_t)0x1FFFF7CCU) /*!< FLASH Size register base address */
153#endif
151#define EEPROM_START_ADDRESS 154#define EEPROM_START_ADDRESS
152#define FEE_MCU_FLASH_SIZE \ 155#define FEE_MCU_FLASH_SIZE \
153({ \ 156({ \