From 9157de3a66c035561d5afcae6b38eb6cb23e6542 Mon Sep 17 00:00:00 2001 From: Andelf Date: Fri, 20 Sep 2024 02:28:54 +0800 Subject: [PATCH] Add hpm-hal to HAL list --- README.md | 1 + docs/pages/hal.adoc | 4 +++- docs/pages/overview.adoc | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8952b0358..18002336d 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Rust's async/await allows - Embassy HAL support for Espressif chips is being developed in the [esp-rs/esp-hal](https://github.com/esp-rs/esp-hal) repository. - Async WiFi, Bluetooth and ESP-NOW is being developed in the [esp-rs/esp-wifi](https://github.com/esp-rs/esp-wifi) repository. - ch32-hal, for the WCH 32-bit RISC-V(CH32V) series of chips. + - hpm-hal, for all HPMicro microcontroller families. - **Time that Just Works** - No more messing with hardware timers. embassy_time provides Instant, Duration and Timer types that are globally available and never overflow. diff --git a/docs/pages/hal.adoc b/docs/pages/hal.adoc index 14b85e1f1..509ff0cdc 100644 --- a/docs/pages/hal.adoc +++ b/docs/pages/hal.adoc @@ -11,4 +11,6 @@ async traits in `embedded-hal` and `embedded-hal-async`. You can also use these For the ESP32 series, there is an link:https://github.com/esp-rs/esp-hal[esp-hal] which you can use. -For the WCH 32-bit RISC-V series, there is an link:https://github.com/ch32-rs/ch32-hal[ch32-hal], which you can use. +For the WCH 32-bit RISC-V series, there is a link:https://github.com/ch32-rs/ch32-hal[ch32-hal], which you can use. + +For the HPM microcontrollers from HPMicro, there is an link:https://github.com/hpmicro/hpm-hal[hpm-hal], which you can use. diff --git a/docs/pages/overview.adoc b/docs/pages/overview.adoc index 2ebc85f6d..839fe70de 100644 --- a/docs/pages/overview.adoc +++ b/docs/pages/overview.adoc @@ -31,6 +31,7 @@ The Embassy project maintains HALs for select hardware, but you can still use HA * link:https://docs.embassy.dev/embassy-rp/[embassy-rp], for the Raspberry Pi RP2040 microcontroller. * link:https://github.com/esp-rs[esp-rs], for the Espressif Systems ESP32 series of chips. * link:https://github.com/ch32-rs/ch32-hal[ch32-hal], for the WCH 32-bit RISC-V(CH32V) series of chips. +* link:https://github.com/hpmicro/hpm-hal[hpm-hal], for all HPMicro microcontroller families. NOTE: A common question is if one can use the Embassy HALs standalone. Yes, it is possible! There are no dependency on the executor within the HALs. You can even use them without async, as they implement both the link:https://github.com/rust-embedded/embedded-hal[Embedded HAL] blocking and async traits. @@ -80,4 +81,4 @@ For more reading material on async Rust and Embassy: Videos: -* link:https://www.youtube.com/watch?v=wni5h5vIPhU[From Zero to Async in Embedded Rust] \ No newline at end of file +* link:https://www.youtube.com/watch?v=wni5h5vIPhU[From Zero to Async in Embedded Rust]