-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Firmware] Improve how net-* flags are handled (#200)
* Removed anna from codeowners * Unified wifi and ble feature flags to get nrf compiling
- Loading branch information
Showing
7 changed files
with
76 additions
and
43 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
* @thebutlah | ||
/autoupdater @TheDevMinerTV | ||
|
||
# People need to be able to update these | ||
/Cargo.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
#[cfg(feature = "net-ble")] | ||
#[cfg(mcu_f_esp32)] | ||
#[path = "esp.rs"] | ||
pub mod ඞ; | ||
|
||
#[cfg(mcu_f_nrf52)] | ||
#[path = "nrf52.rs"] | ||
pub mod ඞ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
use embassy_time::{Duration, Timer}; | ||
|
||
use crate::{aliases::ඞ::NetConcrete, networking::protocol::Packets}; | ||
|
||
pub async fn network_task(_packets: &Packets, _net: NetConcrete) -> ! { | ||
loop { | ||
Timer::after(Duration::from_millis(10_000)).await | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pub mod protocol; | ||
|
||
#[cfg(feature = "net-wifi")] | ||
pub mod wifi; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#[cfg(feature = "net-wifi")] | ||
#[cfg(mcu_f_esp32)] | ||
#[path = "esp.rs"] | ||
pub mod ඞ; | ||
|
||
|