Add esp32h2 template - #23
Merged
Merged
Conversation
Mirror rmk PR #900 (esp32h2 support) as a new keyboard template. - New esp32h2/ template based on esp32c6, with `chip = "esp32h2"` and matrix pins valid for esp32h2 (GPIO16-21 don't exist on this chip). - Newer esp graph: esp-hal 1.1 / esp-radio 0.18 / bt-hci 0.9, plus the embassy-rs/esp-hal fork patch (esp-radio on crates.io still pins bt-hci 0.8). - rmk is pulled from the `feat/esp32h2` branch since `esp32h2_ble` is not yet published to crates.io; switch to a version string once released. - Add esp32h2 to the CI build matrix (RISC-V, riscv32imac, stable toolchain). Verified: `rmkit init --chip esp32h2` + `cargo build --release` produces a riscv32imac ELF, and `cargo make uf2` produces a merged flash image.
Add the split (central + peripheral) variant of the esp32h2 template, mirroring esp32c6_split with esp32h2 chip config and the newer esp graph. - New esp32h2_split/ with central/peripheral bins and rmk `split` + `async_matrix` features; pins are esp32h2-valid (GPIO3/4/6/7). - rmk pulled from the `feat/esp32h2` branch until `esp32h2_ble` is published. - Add esp32h2 to the CI build_split_templates matrix. Verified: `rmkit init --chip esp32h2 --split true` + `cargo build --release` builds both riscv32imac bins, and `cargo make uf2` produces central.bin and peripheral.bin. Signed-off-by: Haobo Gu <haobogu@outlook.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #22