qmk_firmware

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

config.h (704B)


      1 // Copyright 2022 Yoichiro Tanaka (@yoichiro)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
      7 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP25
      8 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
      9 
     10 #define SERIAL_USART_FULL_DUPLEX
     11 #define SERIAL_USART_TX_PIN GP0
     12 #define SERIAL_USART_RX_PIN GP1
     13 
     14 //#define SERIAL_DEBUG
     15 
     16 #define WS2812_PIO_USE_PIO1
     17 
     18 /*
     19  * Feature disable options
     20  *  These options are also useful to firmware size reduction.
     21  */
     22 
     23 /* disable debug print */
     24 //#define NO_DEBUG
     25 
     26 /* disable print */
     27 //#define NO_PRINT
     28 
     29 /* disable action features */
     30 //#define NO_ACTION_LAYER
     31 //#define NO_ACTION_TAPPING
     32 //#define NO_ACTION_ONESHOT