-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Key Mapping doesn't seem to update while building #41
Comments
Could you post your |
Sure thing, here they are: keymap.rs
keyboard.toml
vial.json
main.rs
|
I tried your configs on my rp2040 board, it works correctly. Which folder do you run your You can use |
@SpaceDriedVest Do you still have the problem? I cannot repro your case. |
I had a similar issue, for me it was resolved by running Hope it helps others |
Thanks for the feedback, I would try to fix it. |
Signed-off-by: Haobo Gu <haobogu@outlook.com>
Hey, thanks for checking this. i did not use a keyboard.toml but only a .rs |
Got it. It's so weird, I cannot repro this on my mac. Could you provide a little bit more info? such as your OS, Rust version, RMK version, etc. |
I used a macOS Intel device with a recent version of rust (I can check later). I used the examples/use_rust/rp2040 config and flashed it by changing the pins only. (I have 3x3 but the config is 4x3) This worked without issues. Then i changed the rows and cols in the vial.json because it was not update by cargo build. I also changed the rows and cols in the keymap.rs to 3x3 and adjusted the keys to others. I ran cargo build and then cargo run as specified in the Readme. It did not work until I tried a cargo clean and cargo run --release. It did also not work without the release. Oh and I flashed using usb without a debug probe. Somewhere in between all this I also adjusted the build.rs to always run and not only if the memory.x is changed. Not sure when tho, I just not it did not work before and after this change, but I removed the line until the end. |
Thanks for the info! I will dig into it soon |
@flamestro The latest commit should fix the issue, could you please test it again? Thanks! |
Sure, I will check it until tomorrow. I anyways had to flash a new keyboard so I can try it on a fresh rp2040 :) |
I can't reproduce the issue anymore |
Thanks! I'm closing this issue |
So glad I came across this project and I even hope to start contributing to it too!
I've tried taking an rp2040 example and updated the size of the matrix and the keymapping.
The changes were made in
keymap.rs
,keyboard.toml
, andvial.json
. I see additional defmt log statements I added being printed but the key is still responding with the original keymap from the example.I'm loading via
cargo run
using an RPi Pico Probe to a RPi Pico. Am I missing some step in getting the new config to be recognized and built?Thanks!
The text was updated successfully, but these errors were encountered: