-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* commit test 1 test commit 2 next device asd * try example, haven't built yet * Add feature flags for legacy RMT examples Remove references to the ds18b20 specific device. Add a feature flag `rmt-legacy` that, when enabled, will build the original rmt modules from v4 of the esp-idf. When disabled, the v5 rmt interface can be used for one wire applications. Implement the Iterator trait for a device search and use the Iterator in the example. * Add more feature guards to examples compile * Add alternative main functions for examples * Use std threading * Add std to thread sleep * use std duration * correct use for legacy rmt component * Remove local bindings and use the esp-idf-sys master * fix a typo * Remove esp-idf component inclusion * Update gitignore * Fix examples * mut-ex out the example compilation * add implementation for temperature readings * Conditional compile * esp4.4 compile * Changes to cargo and config * Remove OWDevice and simplify API * Remove phantomdata that is not required * adjust lifetimes for single search at a time * Keep RMT peripheral and add channel to onewire Moves the RMT driver into a private `driver` module, which will only be compiled in rmt-legacy mode. Also reduce the number of cfg feature flags in examples by wrapping the implementation in a module. * modularise examples * Fix for CI * update example name to make it pop --------- Co-authored-by: Dane Slattery <[email protected]> Co-authored-by: DaneSlattery <[email protected]>
- Loading branch information
1 parent
098e2df
commit aa0e257
Showing
10 changed files
with
1,340 additions
and
882 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -6,3 +6,5 @@ | |
**/*.rs.bk | ||
ulp/ulp_start.o | ||
install-rust-toolchain.sh | ||
/.devcontainer | ||
components_esp32.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
Oops, something went wrong.