~ruther/qmk_firmware

ref: 0032f293f1283cea497bf3e22d9909f23044a414 qmk_firmware/keyboards/mlego/m65/rev2/config.h -rw-r--r-- 524 bytes
0032f293 — Rutherther Move to 36 key layout possibility, custom shift keys 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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;           \
    })