DaneSlattery aa0e257ffe
RMT Onewire Peripheral (#454)
* 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 <dane@polarmonitoring.com>
Co-authored-by: DaneSlattery <dane_s@umantec.net>
2024-08-10 16:11:38 +03:00
..
2022-11-08 18:27:37 +02:00
2024-06-16 07:50:15 +00:00
2024-06-16 07:50:15 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2024-08-10 16:11:38 +03:00
2023-10-16 19:27:53 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00
2023-10-14 07:36:30 +00:00