VIAL QMK support now operational on RP2040 boards
Lefuneste83 opened this issue · 0 comments
For those still struggling with compilation of KLOR QMK firmware, config files for both QMK and ZMK can be found here:
For extra convenience if you intend to modify your firmware for a smaller layout, I have also created a link to :
This can be useful for VIA or VIAL json definitions
-
Added support for VIAL firmware for RP2040 boards ONLY. You can now compile :
the "default" layout using QMK toolchain and the command :
qmk compile -kb electronlab/klor -km default -c
or "vial" layout using vial-qmk toolchain and the command :
make clean && make electronlab/klor:vial
-
Also be aware that I have now enabled firmware based handeness definition (#define EE_HANDS setting) so you should flash the firmware using the following commands for left and right keyboard sides :
-
For QMK environment
qmk flash -kb electronlab/klor -km default -c -bl uf2-split-left qmk flash -kb electronlab/klor -km default -c -bl uf2-split-right
For VIAL-QMK environment
qmk flash -kb electronlab/klor -km vial -c -bl uf2-split-left qmk flash -kb electronlab/klor -km vial -c -bl uf2-split-right
-
Make sure you switch your serial communication to HALF DUPLEX as software pin swap used for full duplex does not seem to work well with firmware based handeness detection. If you always want to plug one side of the keyboard then you can set the master side in config.h and switch to full duplex with software pin swap. This will require a little testing but it will work eventually
//Half Duplex communication //#define SERIAL_USART_TX_PIN GP1 // USART TX pin //Full Duplex communication #define SERIAL_USART_TX_PIN GP4 // USART TX pin #define SERIAL_USART_RX_PIN GP1 // USART RX pin #define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_PIN_SWAP
-
More about this matter here
-
My version of ZMK firmware with Github Actions pipeline is located here:
It has both encoders working, precise pulse per rotation adjustments and RGB enabled by default.