qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

config.h (524B)


      1 // Copyright 2020-2023 alin m elena (@alinelena)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 #define LED_RSE_PIN B13
      7 #define LED_LWR_PIN B12
      8 
      9 #define EEPROM_PAGE_SIZE
     10 #define FEE_PAGE_SIZE 0x800
     11 #define FEE_PAGE_COUNT 4
     12 
     13 #define FEE_MCU_FLASH_SIZE_IGNORE_CHECK
     14 #define FEE_MCU_FLASH_SIZE                                \
     15     ({                                                    \
     16         uint16_t flash_size = *(uint16_t*)FLASHSIZE_BASE; \
     17         (flash_size <= 512) ? flash_size : 512;           \
     18     })