Closed 0xcharly closed 2 years ago
Add a compile time flag to keep backward compatibility with the previous gen.
I have a 3x5 charybdis with beta splinkys and I'm trying to figure out how to properly set the compile-time flag SPLINKY_BETA_PINOUT
in my keymap.
I am building on top of the bkb-develop
branch. Adding #define SPLINKY_BETA_PINOUT
to my keymap's config.h does NOT work, the non-beta pinout still gets picked. I'm not super familiar with the order of config-file loading in QMK, do I need to set that define somewhere else outside of my keymap config.h file?
For reference, I have my keymap in the folder qmk_firmware/keyboards/bastardkb/charybdis/3x5/keymaps/alex-miryoku/
. I use the following compile command to generate the keymap:
qmk compile -kb bastardkb/charybdis/3x5/v2/splinky -km alex-miryoku
Hi,
You can see the order in which config.h
and rules.mk
files are evaluated here: https://docs.qmk.fm/#/hardware_keyboard_guidelines?id=configh.
To fix your specific issue, can you try adding this to your keymap's rules.mk
:
OPT_DEFS += -DSPLINKY_BETA_PINOUT
?
Thanks!
Pinout was adjusted in the latest revision to match the standard rp-2040-based boards pinout: