Skip to content

Commit

Permalink
Potential cause for esp-idf-template CMake build failing
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Oct 19, 2023
1 parent 04b51a7 commit a6147f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ mod patches;
#[cfg(any(esp32, esp32s2, esp32s3, esp32c6, esp32h2))]
mod pcnt;

#[cfg(any(feature = "binstart", feature = "libstart"))]
mod start;

/// If any of the two constants below do not compile, you have not properly setup the rustc cfg flag `espidf_time64`:
Expand Down
2 changes: 0 additions & 2 deletions src/start.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![cfg(any(feature = "binstart", feature = "libstart"))]

#[cfg(all(feature = "binstart", feature = "libstart"))]
compile_error!("Features `binstart` and `libstart` are mutually exclusive.");

Expand Down

0 comments on commit a6147f4

Please sign in to comment.