mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 14:44:42 +00:00
Update documentation to recommend esp-generate
instead of esp-template
(#2535)
* Update documentation to recommend `esp-generate` instead of `esp-template` * Hide the `trm_link` macro in the documentation
This commit is contained in:
parent
c19c7fcf01
commit
f3346a80b9
@ -45,11 +45,13 @@
|
||||
//! before proceeding. We also have a [training] that covers some common
|
||||
//! scenarios with examples.
|
||||
//!
|
||||
//! We have a template for quick starting bare-metal projects, [esp-template].
|
||||
//! The template uses [cargo-generate], so ensure that it is installed and run:
|
||||
//! We have developed a project generation tool, [esp-generate], which we
|
||||
//! recommend when starting new projects. It can be installed and run, e.g.
|
||||
//! for the ESP32-C6, as follows:
|
||||
//!
|
||||
//! ```bash
|
||||
//! cargo generate -a esp-rs/esp-template
|
||||
//! cargo install esp-generate
|
||||
//! esp-generate --chip=esp32c6 your-project
|
||||
//! ```
|
||||
//!
|
||||
//! ## Blinky
|
||||
@ -128,8 +130,7 @@
|
||||
//! [embedded-hal]: https://github.com/rust-embedded/embedded-hal/tree/master/embedded-hal
|
||||
//! [embedded-hal-async]: https://github.com/rust-embedded/embedded-hal/tree/master/embedded-hal-async
|
||||
//! [xtask]: https://github.com/matklad/cargo-xtask
|
||||
//! [esp-template]: https://github.com/esp-rs/esp-template
|
||||
//! [cargo-generate]: https://github.com/cargo-generate/cargo-generate
|
||||
//! [esp-generate]: https://github.com/esp-rs/esp-generate
|
||||
//! [book]: https://docs.esp-rs.org/book/
|
||||
//! [training]: https://docs.esp-rs.org/no_std-training/
|
||||
//!
|
||||
|
@ -27,6 +27,7 @@ macro_rules! chip {
|
||||
}
|
||||
|
||||
/// A link to the Technical Reference Manual (TRM) for the chip.
|
||||
#[doc(hidden)]
|
||||
#[macro_export]
|
||||
macro_rules! trm_link {
|
||||
() => { "https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf" };
|
||||
|
@ -20,6 +20,7 @@ macro_rules! chip {
|
||||
}
|
||||
|
||||
/// A link to the Technical Reference Manual (TRM) for the chip.
|
||||
#[doc(hidden)]
|
||||
#[macro_export]
|
||||
macro_rules! trm_link {
|
||||
() => { "https://www.espressif.com/sites/default/files/documentation/esp8684_technical_reference_manual_en.pdf" };
|
||||
|
@ -24,6 +24,7 @@ macro_rules! chip {
|
||||
}
|
||||
|
||||
/// A link to the Technical Reference Manual (TRM) for the chip.
|
||||
#[doc(hidden)]
|
||||
#[macro_export]
|
||||
macro_rules! trm_link {
|
||||
() => { "https://www.espressif.com/sites/default/files/documentation/esp32-c3_technical_reference_manual_en.pdf" };
|
||||
|
@ -26,6 +26,7 @@ macro_rules! chip {
|
||||
}
|
||||
|
||||
/// A link to the Technical Reference Manual (TRM) for the chip.
|
||||
#[doc(hidden)]
|
||||
#[macro_export]
|
||||
macro_rules! trm_link {
|
||||
() => { "https://www.espressif.com/sites/default/files/documentation/esp32-c6_technical_reference_manual_en.pdf" };
|
||||
|
@ -25,6 +25,7 @@ macro_rules! chip {
|
||||
}
|
||||
|
||||
/// A link to the Technical Reference Manual (TRM) for the chip.
|
||||
#[doc(hidden)]
|
||||
#[macro_export]
|
||||
macro_rules! trm_link {
|
||||
() => { "https://www.espressif.com/sites/default/files/documentation/esp32-h2_technical_reference_manual_en.pdf" };
|
||||
|
@ -32,6 +32,7 @@ macro_rules! chip {
|
||||
}
|
||||
|
||||
/// A link to the Technical Reference Manual (TRM) for the chip.
|
||||
#[doc(hidden)]
|
||||
#[macro_export]
|
||||
macro_rules! trm_link {
|
||||
() => { "https://www.espressif.com/sites/default/files/documentation/esp32-s2_technical_reference_manual_en.pdf" };
|
||||
|
@ -33,6 +33,7 @@ macro_rules! chip {
|
||||
}
|
||||
|
||||
/// A link to the Technical Reference Manual (TRM) for the chip.
|
||||
#[doc(hidden)]
|
||||
#[macro_export]
|
||||
macro_rules! trm_link {
|
||||
() => { "https://www.espressif.com/sites/default/files/documentation/esp32-s3_technical_reference_manual_en.pdf" };
|
||||
|
Loading…
x
Reference in New Issue
Block a user