11 Commits

Author SHA1 Message Date
ivmarkov
bb92e2a47e Async examples 2023-10-14 07:36:30 +00:00
ivmarkov
8cc193aa35
TWAI driver async hack; examples cleanup (#292)
* Hacky async TWAI driver

* Async TWAI: Custom priority and pin to core

* Async TWAI: Proper configuration of alerts

* Do not refer to esp-idf-sys as it is not an explicit dependency anymore
2023-08-27 10:47:18 +03:00
Ronen Ulanovsky
3f532d7224
Overhaul UART to support single wire transmitters/receivers (#164)
* overhaul UART to support single wire trasimitters/receivers

* add missing methods for uart transmitter/receiver

* fix `uart_config_t`'s `source_clk` being part of a union in `esp-idf v4.x`

* add `esp32c2`'s `PLL F40M` `APB` clock

* revert `uart_wait_tx_done` to timeout of 0

* fix incorrect order in `uart_driver_install`, `rx_buffer` shou always exceed `UART_FIFO_SIZE`

* Refactor `Owner` enum

* Fix double drop on `into_split`

* Add missing `count` methods for the UART drivers, change their return to be able to fit the maximum allowed value, don't run `drop` on temporary internal borrows, update example
2022-11-19 15:10:43 +02:00
ivmarkov
ace34ce3e5 Remove unused imports 2022-09-25 10:42:13 +03:00
ivmarkov
7d780ab62a fix uart example 2022-09-18 11:01:33 +03:00
Ivan Markov
dce2a16401 fix examples
Fix examples
2022-09-18 11:01:33 +03:00
Ivan Markov
baf9bae9a9 Fix examples
Fix examples

Fix examples

Fix examples

Fix examples
2022-09-18 11:01:33 +03:00
Ivan Markov
9a1ade644f Update examples
Restore LedcTimerDriver

Fix the ledc driver code
2022-09-18 11:01:33 +03:00
ivmarkov
a47d38b919 Remove esp_idf_svc references from examples 2022-02-20 19:26:37 +02:00
ivmarkov
36e146c615 Remove the esp-idf-svc dependency 2022-02-20 18:18:27 +02:00
Björn Quentin
e57736e4c2
Add some basic examples (#46) 2022-02-20 15:14:36 +02:00