6 Commits

Author SHA1 Message Date
Roman Krüger
6cb3ea5b9e
- Added GPIO pins 21-27 to esp32h2 (#501)
- fixed GPIO handler array size for esp32c2
2024-12-16 15:16:39 +02:00
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
Ivan Markov
67fd2866f7
Workaround for https://github.com/esp-rs/xtensa-toolchain/issues/8 2022-08-18 09:32:56 +03:00
imarkov
77cd6e9aff GitHub actions 2021-10-25 12:55:48 -04:00
imarkov
b0e5629869 RiscV ULP boot code no longer dependent on the riscv-rt crate 2021-07-27 16:57:09 +03:00
Y. Sapir
ef4a0dcaa3 Initial commit - cargo new 2019-07-19 02:09:06 +03:00