Skip to content

Add esp32h2 template - #23

Merged
HaoboGu merged 2 commits into
mainfrom
feat/esp32h2
Jul 3, 2026
Merged

Add esp32h2 template#23
HaoboGu merged 2 commits into
mainfrom
feat/esp32h2

Conversation

@HaoboGu

@HaoboGu HaoboGu commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Closes #22

HaoboGu added 2 commits July 2, 2026 18:55
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>
@HaoboGu
HaoboGu merged commit 11f6ada into main Jul 3, 2026
16 checks passed
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

Successfully merging this pull request may close these issues.

Enhancement request: add template for esp32h2

1 participant