Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #34 from esp-rs/prepare-release
Browse files Browse the repository at this point in the history
Prepare release
  • Loading branch information
bjoernQ authored Sep 4, 2023
2 parents 72023d3 + 2d3f37b commit 4b56fca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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:
Expand Down
5 changes: 4 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4b56fca

Please sign in to comment.