qmk-keychron-q3-colemak-dh/keyboards/mlego/m65/rev2/config.h
Alin Marin Elena 007c0c1db4
Updates to mlego m65 (#20220)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2023-10-11 22:26:20 -07:00

19 lines
524 B
C

// Copyright 2020-2023 alin m elena (@alinelena)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define LED_RSE_PIN B13
#define LED_LWR_PIN B12
#define EEPROM_PAGE_SIZE
#define FEE_PAGE_SIZE 0x800
#define FEE_PAGE_COUNT 4
#define FEE_MCU_FLASH_SIZE_IGNORE_CHECK
#define FEE_MCU_FLASH_SIZE \
({ \
uint16_t flash_size = *(uint16_t*)FLASHSIZE_BASE; \
(flash_size <= 512) ? flash_size : 512; \
})