diff --git a/Cargo.toml b/Cargo.toml index 3804906..9281c6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esp-backtrace" -version = "0.7.0" +version = "0.8.0" edition = "2021" description = "Bare-metal backtrace support for ESP32" repository = "https://github.com/esp-rs/esp-backtrace" @@ -11,7 +11,7 @@ default-target = "riscv32imc-unknown-none-elf" features = ["esp32c3", "panic-handler", "exception-handler", "print-uart"] [dependencies] -esp-println = { version = "0.5.0", optional = true, default-features = false } +esp-println = { version = "0.6.0", optional = true, default-features = false } [features] # You must enable exactly one of the below features to support the correct chip: diff --git a/build.rs b/build.rs index 5980d50..50c69fe 100644 --- a/build.rs +++ b/build.rs @@ -33,7 +33,10 @@ fn main() { // enabled, either the `esp32c3`, `esp32c6`, or `esp32s3` chip feature is // enabled. if cfg!(feature = "print-jtag-serial") - && !(cfg!(feature = "esp32c3") || cfg!(feature = "esp32c6") || cfg!(feature = "esp32s3") || cfg!(feature = "esp32h2")) + && !(cfg!(feature = "esp32c3") + || cfg!(feature = "esp32c6") + || cfg!(feature = "esp32s3") + || cfg!(feature = "esp32h2")) { panic!( "The `print-jtag-serial` feature is only supported by the ESP32-C3, ESP32-C6, ESP32-S3 and ESP32-H2 chips" diff --git a/src/lib.rs b/src/lib.rs index 2a3dc16..c0b5229 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -170,11 +170,13 @@ fn is_valid_ram_address(address: u32) -> bool { not(any(feature = "esp32", feature = "esp32s3")), not(feature = "halt-cores") ))] +#[allow(unused)] fn halt() -> ! { loop {} } #[cfg(all(any(feature = "esp32", feature = "esp32s3"), feature = "halt-cores"))] +#[allow(unused)] fn halt() -> ! { #[cfg(feature = "esp32")] mod registers {