rp-hal
qmk_firmware
rp-hal | qmk_firmware | |
---|---|---|
30 | 1,588 | |
1,261 | 17,128 | |
2.6% | 1.3% | |
9.3 | 10.0 | |
2 days ago | 2 days ago | |
Rust | C | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rp-hal
-
Embedded Swift on the Raspberry Pi Pico
probably, I didn't really check it, but I found [1]. Rust has a lot of support for embedded systems, even from the companies that provide the chips, like STM and Espressif.
[1] https://github.com/rp-rs/rp-hal
- Rp-hal: a Rust Embedded-HAL for the pi pico series microcontrollers
-
I built a column staggered keyboard with firmware written in Rust!
About the same time, I was learning Rust and discovered how it could be used on embedded targets from Low Level Learning on YouTube, the video introduced me to the amazing rp-hal crate that provides abstractions to talk to the Raspberry Pi Pico microcontroller. Getting used to the no_std mode took some time, the most challenging was not being able to collect an iterator to a container.
-
How can I access the Pico W's LED with the rp-hal crate?
Well, just as I posted this, I came across the issue on Github: https://github.com/rp-rs/rp-hal/issues/525
-
&[u8] to *const u8
Have a read of https://github.com/rp-rs/rp-hal/issues/257 for more info.
-
Question: Elegant way of getting a 'static reference?
I've made an example for a RPI Pico (PR for the RP2040 HAL project here) .
-
Pico as a usb hid without circuitpy
Here's an example: https://github.com/rp-rs/rp-hal/blob/main/boards/rp-pico/examples/pico_usb_twitchy_mouse.rs
-
Learning Embedded rust
Embedded rust for the raspberry pi pico: https://github.com/rp-rs/rp-hal
-
The Rise of Rust, the ‘Viral’ Secure Programming Language That’s Taking Over Tech
What are you on about, can you clarify? Rust can compile in no-std/embedded style just as fine (or better) than C can for basically any ARM or RISCV based processor, and quick googling shows this hal for nearly all pi needs and even MEGA65 is "as supported" (read: not at all officially by anything, fan-only) as any current C compiler. Setting up rust for a new target, so long as the code-gen is supported somehow by LLVM, LLVM plugin, LLVM IR transpiler (and maybe libgcc-jit sort of soon) is just as painful or unpainful as setting up a whole team to work via C/C++ with comparable testing harnesses. This doesn't mean easy and is an area Rust is still improving rapidly by the various enterprise agencies (Ferrous systems, Oxide, more I can't remember...) who specifically want to bring rust to such low end hardware because frankly both C and C++ suck with vendor proprietary tool chains and quirks.
-
"pub use bare_metal::CriticalSection;" Error
He says he can't find crate for 'bare_metal'. He was setting up and testing the HAL for the pico (https://github.com/rp-rs/rp-hal). While compiling it pulls down critical-section-0.2.7/src/lib.rs and bars on line 7
qmk_firmware
-
Principles for Keyboard Layouts (2022)
I agree that reduced finger movement is a crucial step in achieving typing efficiency. This is nicely solved by mod tap modifiers in QMK/ZMK[1] where key acts as a char when tapped and as a layer while pressed.
[1]: https://github.com/qmk/qmk_firmware/blob/master/docs/mod_tap...
- Lkbm: LED-Key BitMasks to Control the Ploopy Nano Trackball
-
QMK and Keyboards
Separate wireless controller, see the glue code at [0]
[0]: https://github.com/qmk/qmk_firmware/compare/master...nuphy-s...
-
Debugging a Failing Hotkey
If you have a keyboard that runs QMK firmware[0] with the VIA[1] feature enabled[2], then there is a convenient testing app available from the same place you customize your keys [3].
[0] https://qmk.fm/
- How to make 2 or more layers become default ON with key
-
Just setting up my first corne layout. It will take a while for me to get used to this wow... It's taking so long to type. Attached is my layout, and I mainly use c# on visual studio. Any concerns/advice/suggestions are welcome. It will take a while for me to reply on this thing though.. haha..
I made a layout that I'm happy with. Spanish is my native language, so it has characters like the accents and 'ñ', but it's meant to be used for programming as well. Visual Studio uses a lot of Ctrl and Ctrl + Shift shortcuts, so I left them in the same place as the default Corne layout so I can press them both with my pinkie finger. Perhaps some of the ideas are useful to you.
-
Adafruit Feather RP2040 with USB Type A Host as a QMK converter board?
Also, it would be possible to do this for the RP2040. However, it needs some work to get working. but for example: https://github.com/qmk/qmk_firmware/pull/20999
-
If anyone knows of a good tutorial on how to make this tft display useful on a board controlled by an rp2040 and flashed with qmk configurator, I would be most grateful if you could point me in that direction. Gracias!
Ok, it's an ST7735, not too different from the ST7789. You should be able to get running by looking at their files in the QMK repo and going from there. You should also check their resources page.
- Keyboard missing from QMK MSYS.
-
Bongocat or other cool oled animation for Lily or Sofle
UPDATE: after fluffing around a little bit, I have manged to fix this code: https://github.com/qmk/qmk_firmware/blob/master/keyboards/lily58/keymaps/bongocat_wpm_responsive/keymap.c and flash it successfully - it seems not to be working correctly as the cat is only hanging there and does not respond to the wmp count. If anybody spots anything wrong in the code please let me know!(C is not my language but I am a programmer, I am gonna get at it again over the weekend if I have time left)
What are some alternatives?
tutorials - 📚 Stash of tutorials completed for learning cool stuff.
zmk - ZMK Firmware Repository
embassy - Modern embedded framework, using Rust and async.
kmk_firmware - Clackety Keyboards Powered by Python
rlox
vial-qmk - QMK fork with Vial-specific features.
edn - Extensible Data Notation
kmonad - An advanced keyboard manager
rp2040-project-template - A basic rp2040-hal project with blinky and rtt logging example code. With this you can quickly get started on a new rp2040 project
pico-examples
avr-hal - embedded-hal abstractions for AVR microcontrollers
zmk-config - ZMK Configuration