mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 04:10:28 +00:00
Housekeeping (#1647)
* Remove version from path dependencies in `examples` and `hil-test` packages * Remove unused constant from `esp-println` * Consistent badges across `README.md` files
This commit is contained in:
parent
2fd1594637
commit
40c327eeae
@ -1,10 +1,10 @@
|
||||
# esp-alloc
|
||||
|
||||

|
||||
[](https://crates.io/crates/esp-alloc)
|
||||
[](https://docs.rs/esp-alloc)
|
||||

|
||||

|
||||
[](https://crates.io/crates/esp-alloc)
|
||||
[](https://docs.rs/esp-alloc)
|
||||

|
||||

|
||||
[](https://matrix.to/#/#esp-rs:matrix.org)
|
||||
|
||||
A simple `no_std` heap allocator for RISC-V and Xtensa processors from Espressif. Supports all currently available ESP32 devices.
|
||||
|
||||
|
@ -1,10 +1,11 @@
|
||||
[package]
|
||||
name = "esp-backtrace"
|
||||
version = "0.11.1"
|
||||
edition = "2021"
|
||||
description = "Bare-metal backtrace support for ESP32"
|
||||
repository = "https://github.com/esp-rs/esp-hal"
|
||||
license = "MIT OR Apache-2.0"
|
||||
name = "esp-backtrace"
|
||||
version = "0.11.1"
|
||||
edition = "2021"
|
||||
rust-version = "1.76.0"
|
||||
description = "Bare-metal backtrace support for ESP32"
|
||||
repository = "https://github.com/esp-rs/esp-hal"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
default-target = "riscv32imc-unknown-none-elf"
|
||||
|
@ -1,5 +1,11 @@
|
||||
# esp-backtrace - backtrace for ESP32 bare-metal
|
||||
|
||||
[](https://crates.io/crates/esp-backtrace)
|
||||
[](https://docs.rs/esp-backtrace)
|
||||

|
||||

|
||||
[](https://matrix.to/#/#esp-rs:matrix.org)
|
||||
|
||||
Supports the ESP32, ESP32-C2/C3/C6, ESP32-H2, ESP32-P4, and ESP32-S2/S3. Optional exception and panic handlers are included, both of which can be enabled via their respective features.
|
||||
|
||||
Please note that when targeting a RISC-V device, you **need** to force frame pointers (i.e. `"-C", "force-frame-pointers",` in your `.cargo/config.toml`); this is **not** required for Xtensa.
|
||||
@ -12,7 +18,7 @@ When using the panic and/or exception handler make sure to include `use esp_back
|
||||
## Features
|
||||
|
||||
| Feature | Description |
|
||||
|-------------------| ------------------------------------------------------------------------------------------------------------------ |
|
||||
| ----------------- | ------------------------------------------------------------------------------------------------------------------ |
|
||||
| esp32 | Target ESP32 |
|
||||
| esp32c2 | Target ESP32-C2 |
|
||||
| esp32c3 | Target ESP32-C3 |
|
||||
|
@ -1,9 +1,9 @@
|
||||
# esp-ieee802154
|
||||
|
||||
[](https://crates.io/crates/esp-ieee802154)
|
||||
[](https://docs.rs/esp-ieee802154)
|
||||
[](https://crates.io/crates/esp-ieee802154)
|
||||
[](https://docs.rs/esp-ieee802154)
|
||||

|
||||

|
||||

|
||||
[](https://matrix.to/#/#esp-rs:matrix.org)
|
||||
|
||||
Low-level [IEEE 802.15.4] driver for the ESP32-C6 and ESP32-H2.
|
||||
|
@ -1,9 +1,9 @@
|
||||
# esp-metadata
|
||||
|
||||
[](https://crates.io/crates/esp-metadata)
|
||||
[](https://docs.rs/esp-metadata)
|
||||
[](https://crates.io/crates/esp-metadata)
|
||||
[](https://docs.rs/esp-metadata)
|
||||

|
||||

|
||||

|
||||
[](https://matrix.to/#/#esp-rs:matrix.org)
|
||||
|
||||
Metadata for Espressif devices, intended for use in [build scripts].
|
||||
|
@ -1,10 +1,11 @@
|
||||
[package]
|
||||
name = "esp-println"
|
||||
version = "0.9.1"
|
||||
edition = "2021"
|
||||
description = "Provides `print!` and `println!` implementations various Espressif devices"
|
||||
repository = "https://github.com/esp-rs/esp-hal"
|
||||
license = "MIT OR Apache-2.0"
|
||||
name = "esp-println"
|
||||
version = "0.9.1"
|
||||
edition = "2021"
|
||||
rust-version = "1.76.0"
|
||||
description = "Provides `print!` and `println!` implementations various Espressif devices"
|
||||
repository = "https://github.com/esp-rs/esp-hal"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
cargo-args = ["-Z", "build-std=core"]
|
||||
|
@ -1,5 +1,11 @@
|
||||
# esp-println
|
||||
|
||||
[](https://crates.io/crates/esp-println)
|
||||
[](https://docs.rs/esp-println)
|
||||

|
||||

|
||||
[](https://matrix.to/#/#esp-rs:matrix.org)
|
||||
|
||||
A library that provides `print!`, `println!`, `dbg!` implementations and
|
||||
logging capabilities for Espressif devices.
|
||||
|
||||
|
@ -214,7 +214,6 @@ mod uart_printer {
|
||||
|
||||
#[cfg(all(feature = "uart", feature = "esp32s2"))]
|
||||
mod uart_printer {
|
||||
const UART_TX_ONE_CHAR: usize = 0x4000_9200;
|
||||
impl super::Printer {
|
||||
pub fn write_bytes_assume_cs(&mut self, bytes: &[u8]) {
|
||||
// On ESP32-S2 the UART_TX_ONE_CHAR ROM-function seems to have some issues.
|
||||
|
@ -2,6 +2,7 @@
|
||||
name = "esp-storage"
|
||||
version = "0.3.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.76.0"
|
||||
authors = [
|
||||
"The ESP-RS team",
|
||||
"Björn Quentin <bjoern.quentin@mobile-j.de>",
|
||||
|
@ -1,5 +1,11 @@
|
||||
# esp-storage
|
||||
|
||||
[](https://crates.io/crates/esp-storage)
|
||||
[](https://docs.rs/esp-storage)
|
||||

|
||||

|
||||
[](https://matrix.to/#/#esp-rs:matrix.org)
|
||||
|
||||
This implements [`embedded-storage`](https://github.com/rust-embedded-community/embedded-storage) traits to access unencrypted ESP32 flash.
|
||||
|
||||
## Current support
|
||||
|
@ -1,5 +1,11 @@
|
||||
# esp-wifi
|
||||
|
||||
[](https://crates.io/crates/esp-wifi)
|
||||
[](https://docs.esp-rs.org/esp-wifi)
|
||||

|
||||

|
||||
[](https://matrix.to/#/#esp-rs:matrix.org)
|
||||
|
||||
A WiFi, BLE and ESP-NOW driver for Espressif microcontrollers.
|
||||
|
||||
## Current support
|
||||
@ -41,8 +47,8 @@ rustflags = [
|
||||
"-C", "link-arg=-Trom_functions.x",
|
||||
]
|
||||
```
|
||||
At the time of writing, you will already have the `linkall` flag if you used `cargo generate`. Generating from a template does not include the `rom_functions` flag.
|
||||
|
||||
At the time of writing, you will already have the `linkall` flag if you used `cargo generate`. Generating from a template does not include the `rom_functions` flag.
|
||||
|
||||
### Optimization Level
|
||||
|
||||
|
@ -28,14 +28,14 @@ embedded-hal-bus = "0.1.0"
|
||||
embedded-io = { version = "0.6.1", default-features = false }
|
||||
embedded-io-async = "0.6.1"
|
||||
embedded-storage = "0.3.0"
|
||||
esp-alloc = { version = "0.3.0", path = "../esp-alloc" }
|
||||
esp-backtrace = { version = "0.11.1", path = "../esp-backtrace", features = ["exception-handler", "panic-handler", "println"] }
|
||||
esp-hal = { version = "0.17.0", path = "../esp-hal", features = ["log"] }
|
||||
esp-hal-smartled = { version = "0.10.0", path = "../esp-hal-smartled", optional = true }
|
||||
esp-ieee802154 = { version = "0.1.0", path = "../esp-ieee802154", optional = true }
|
||||
esp-println = { version = "0.9.1", path = "../esp-println", features = ["log"] }
|
||||
esp-storage = { version = "0.3.0", path = "../esp-storage", optional = true }
|
||||
esp-wifi = { version = "0.5.1", path = "../esp-wifi", optional = true }
|
||||
esp-alloc = { path = "../esp-alloc" }
|
||||
esp-backtrace = { path = "../esp-backtrace", features = ["exception-handler", "panic-handler", "println"] }
|
||||
esp-hal = { path = "../esp-hal", features = ["log"] }
|
||||
esp-hal-smartled = { path = "../esp-hal-smartled", optional = true }
|
||||
esp-ieee802154 = { path = "../esp-ieee802154", optional = true }
|
||||
esp-println = { path = "../esp-println", features = ["log"] }
|
||||
esp-storage = { path = "../esp-storage", optional = true }
|
||||
esp-wifi = { path = "../esp-wifi", optional = true }
|
||||
fugit = "0.3.7"
|
||||
heapless = "0.8.0"
|
||||
hex-literal = "0.4.1"
|
||||
|
@ -80,9 +80,9 @@ embedded-hal = "1.0.0"
|
||||
embedded-hal-02 = { version = "0.2.7", package = "embedded-hal", features = ["unproven"] }
|
||||
embedded-hal-async = { version = "1.0.0", optional = true }
|
||||
embedded-hal-nb = { version = "1.0.0", optional = true }
|
||||
esp-backtrace = { version = "0.11.1", path = "../esp-backtrace", default-features = false, features = ["exception-handler", "panic-handler", "defmt", "semihosting"] }
|
||||
esp-backtrace = { path = "../esp-backtrace", default-features = false, features = ["exception-handler", "panic-handler", "defmt", "semihosting"] }
|
||||
esp-hal = { path = "../esp-hal", features = ["defmt", "embedded-hal", "embedded-hal-02"], optional = true }
|
||||
portable-atomic = "1.6.0"
|
||||
portable-atomic = "1.6.0"
|
||||
|
||||
[dev-dependencies]
|
||||
crypto-bigint = { version = "0.5.5", default-features = false }
|
||||
|
Loading…
x
Reference in New Issue
Block a user