Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIAL QMK support now operational on RP2040 boards #32

Open
Lefuneste83 opened this issue Sep 7, 2024 · 0 comments
Open

VIAL QMK support now operational on RP2040 boards #32

Lefuneste83 opened this issue Sep 7, 2024 · 0 comments

Comments

@Lefuneste83
Copy link

For those still struggling with compilation of KLOR QMK firmware, config files for both QMK and ZMK can be found here:

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant