-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
RP2040 PR branch support #17115
Comments
Meta-question: Would it be viable to open a discord channel specific to RP2040 to enable a more informal discussion? |
I'm encountering some primary/secondary issues. Have setup a split hand pin and I know it works since the OLEDs show what's supposed to be displayed on the right and left sides. Same goes with the split pointers--they behave according to what I've setup for the right and left pointers no matter which side I connect. But no matter what I do, when I connect to left split, the matrix is inverted. |
When trying to compile a via(l) keymap I created, I am getting this error. I turned off basically everything in rules.mk. I am aware that there isn't an EEPROM or EEPROM emulation yet, but I thought it meant that it wouldn't persist, but you could still build it. Compiling: quantum/dynamic_keymap.c quantum/dynamic_keymap.c:88:1: error: static assertion failed: "Dynamic keymaps are configured to use more EEPROM than is available." |
Try increasing |
That ended up working. Thank you. |
I'm seeing some issues with a custom RP2040 board that uses this 4MB flash chip. I can flash the rp2040 onekey UF2 but it doesn't boot to the USB stack, whereas I can get the board I have with a Winbond 25Q128JVSQ to boot no problem with the same UF2. The BY25Q32BSTIG board works using the Ardiono RP2040 with the following settings, so I know it's okay hardware-wise: BTW, beyond stoked to retire the legacy Bit-C in favor of an RP2040 flavor 🙏 |
Arduino settings for the “Generic RP2040” board contain:
The Raspberry Pi Pico board uses In the QMK port code for RP2040 the second stage bootloader is provided as a C array with precompiled code — see For BY25Q32BSTIG you may try using |
@sigprof Thanks for the fantastic deep dive. Second-stage bootloader seems like an obvious place to look, in retrospect. I'll test the other bootloader options, but I think it's probably safe to say this is the issue. I need to do some more research the different boot modes and figure out how the code running on my test boards is performing depending on the flash part used. Out of curiosity, does anyone know why the |
They are now with the latest commits to the rp2040 branch just select one of the defines, the fallback is always a #define RP2040_FLASH_AT25SF128A
#define RP2040_FLASH_GD25Q64CS
#define RP2040_FLASH_W25X10CL
#define RP2040_FLASH_GENERIC_03H
#define RP2040_FLASH_IS25LP080 |
I've setup a Fifi (split keyboard, using crkbd settings for the most part) and noticed that on the secondary side, some key presses were not registered. The console log showed the error "USART: Handshake failed". I switched to a different TRRS cable and have not seen the issue since. The cable showing the issue works fine with the pro micros. I guess this is related to the weaker pull ups and looks like KarlK90 did some great work to make it work at all, so I'm not complaining, just wanted to mention it in case someone else is running into this issue. Edit: maybe it's not the cable. It seemed to be working for a while and than gave the same errors. Reducing the speed with seems to help, still need to watch it for a while. Edit 2: it appears the error went away after disabling OLED display |
I took the most recent code for compiling the firmware and getting the below error Compiling: quantum/keymap_introspection.c quantum/keymap_introspection.c: In function 'keymap_layer_count': I can think it might be due to the change #17229 When I remove the code at line 398 in build_keyboard.mk then it works. Is there something I am missing that I need to do to make this work without build_keyboard changes. I am using userspace keymaps and overriding it in the keymap using USER_NAME := line 398 in build_keyboard.mk |
How to make the ADC working? |
Unsupported on RP2040 at the moment. |
ETA? |
No ETA. |
Supported merged in 2022q3 |
Placeholder for issues/discussion with the RP2040 PR #14877.
The text was updated successfully, but these errors were encountered: