From e686ad89eaaaff57449cfb122f607e3d6c924b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Wed, 4 Dec 2024 10:58:01 +0100 Subject: [PATCH] Don't require building ieee802154 for all examples --- examples/Cargo.toml | 4 ++-- examples/src/bin/ieee802154_receive_all_frames.rs | 2 +- examples/src/bin/ieee802154_receive_frame.rs | 2 +- examples/src/bin/ieee802154_send_broadcast_frame.rs | 2 +- examples/src/bin/ieee802154_send_frame.rs | 2 +- examples/src/bin/ieee802154_sniffer.rs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 50faa946801..bbf92e77d8c 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -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"] diff --git a/examples/src/bin/ieee802154_receive_all_frames.rs b/examples/src/bin/ieee802154_receive_all_frames.rs index 62e71184c8c..c288195834a 100644 --- a/examples/src/bin/ieee802154_receive_all_frames.rs +++ b/examples/src/bin/ieee802154_receive_all_frames.rs @@ -1,5 +1,5 @@ //% CHIPS: esp32c6 esp32h2 -//% FEATURES: esp-hal/unstable +//% FEATURES: esp-ieee802154 esp-hal/unstable #![no_std] #![no_main] diff --git a/examples/src/bin/ieee802154_receive_frame.rs b/examples/src/bin/ieee802154_receive_frame.rs index abc4a26e87c..ba8aba35852 100644 --- a/examples/src/bin/ieee802154_receive_frame.rs +++ b/examples/src/bin/ieee802154_receive_frame.rs @@ -1,5 +1,5 @@ //% CHIPS: esp32c6 esp32h2 -//% FEATURES: esp-hal/unstable +//% FEATURES: esp-ieee802154 esp-hal/unstable #![no_std] #![no_main] diff --git a/examples/src/bin/ieee802154_send_broadcast_frame.rs b/examples/src/bin/ieee802154_send_broadcast_frame.rs index c09fc28ecc1..197351811b8 100644 --- a/examples/src/bin/ieee802154_send_broadcast_frame.rs +++ b/examples/src/bin/ieee802154_send_broadcast_frame.rs @@ -1,5 +1,5 @@ //% CHIPS: esp32c6 esp32h2 -//% FEATURES: esp-hal/unstable +//% FEATURES: esp-ieee802154 esp-hal/unstable #![no_std] #![no_main] diff --git a/examples/src/bin/ieee802154_send_frame.rs b/examples/src/bin/ieee802154_send_frame.rs index 6eb25654b29..94e53ee3192 100644 --- a/examples/src/bin/ieee802154_send_frame.rs +++ b/examples/src/bin/ieee802154_send_frame.rs @@ -1,5 +1,5 @@ //% CHIPS: esp32c6 esp32h2 -//% FEATURES: esp-hal/unstable +//% FEATURES: esp-ieee802154 esp-hal/unstable #![no_std] #![no_main] diff --git a/examples/src/bin/ieee802154_sniffer.rs b/examples/src/bin/ieee802154_sniffer.rs index 138ed795ce0..05974776349 100644 --- a/examples/src/bin/ieee802154_sniffer.rs +++ b/examples/src/bin/ieee802154_sniffer.rs @@ -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]