Skip to content

Commit

Permalink
Don't require building ieee802154 for all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Dec 4, 2024
1 parent 28fcf19 commit 6b62e20
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ usbd-serial = "0.2.2"
esp32 = ["esp-hal/esp32", "esp-backtrace/esp32", "esp-hal-embassy?/esp32", "esp-println/esp32", "esp-storage?/esp32", "esp-wifi?/esp32"]
esp32c2 = ["esp-hal/esp32c2", "esp-backtrace/esp32c2", "esp-hal-embassy?/esp32c2", "esp-println/esp32c2", "esp-storage?/esp32c2", "esp-wifi?/esp32c2", ]
esp32c3 = ["esp-hal/esp32c3", "esp-backtrace/esp32c3", "esp-hal-embassy?/esp32c3", "esp-println/esp32c3", "esp-storage?/esp32c3", "esp-wifi?/esp32c3"]
esp32c6 = ["esp-hal/esp32c6", "esp-backtrace/esp32c6", "esp-hal-embassy?/esp32c6", "esp-println/esp32c6", "esp-storage?/esp32c6", "esp-wifi?/esp32c6", "esp-ieee802154/esp32c6"]
esp32h2 = ["esp-hal/esp32h2", "esp-backtrace/esp32h2", "esp-hal-embassy?/esp32h2", "esp-println/esp32h2", "esp-storage?/esp32h2", "esp-wifi?/esp32h2", "esp-ieee802154/esp32h2"]
esp32c6 = ["esp-hal/esp32c6", "esp-backtrace/esp32c6", "esp-hal-embassy?/esp32c6", "esp-println/esp32c6", "esp-storage?/esp32c6", "esp-wifi?/esp32c6", "esp-ieee802154?/esp32c6"]
esp32h2 = ["esp-hal/esp32h2", "esp-backtrace/esp32h2", "esp-hal-embassy?/esp32h2", "esp-println/esp32h2", "esp-storage?/esp32h2", "esp-wifi?/esp32h2", "esp-ieee802154?/esp32h2"]
esp32s2 = ["esp-hal/esp32s2", "esp-backtrace/esp32s2", "esp-hal-embassy?/esp32s2", "esp-println/esp32s2", "esp-storage?/esp32s2", "esp-wifi?/esp32s2"]
esp32s3 = ["esp-hal/esp32s3", "esp-backtrace/esp32s3", "esp-hal-embassy?/esp32s3", "esp-println/esp32s3", "esp-storage?/esp32s3", "esp-wifi?/esp32s3"]

Expand Down
2 changes: 1 addition & 1 deletion examples/src/bin/ieee802154_receive_all_frames.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//% CHIPS: esp32c6 esp32h2
//% FEATURES: esp-hal/unstable
//% FEATURES: esp-ieee802154 esp-hal/unstable

#![no_std]
#![no_main]
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bin/ieee802154_receive_frame.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//% CHIPS: esp32c6 esp32h2
//% FEATURES: esp-hal/unstable
//% FEATURES: esp-ieee802154 esp-hal/unstable

#![no_std]
#![no_main]
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bin/ieee802154_send_broadcast_frame.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//% CHIPS: esp32c6 esp32h2
//% FEATURES: esp-hal/unstable
//% FEATURES: esp-ieee802154 esp-hal/unstable

#![no_std]
#![no_main]
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bin/ieee802154_send_frame.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//% CHIPS: esp32c6 esp32h2
//% FEATURES: esp-hal/unstable
//% FEATURES: esp-ieee802154 esp-hal/unstable

#![no_std]
#![no_main]
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bin/ieee802154_sniffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! Besides the runtime changeable channel and the output format it's almost identical to ieee802154_receive_all_frames
//% CHIPS: esp32c6 esp32h2
//% FEATURES: esp-hal/unstable
//% FEATURES: esp-ieee802154 esp-hal/unstable

#![no_std]
#![no_main]
Expand Down

0 comments on commit 6b62e20

Please sign in to comment.