5 Commits

Author SHA1 Message Date
Juraj Sadel
788d52cf69
Add app_desc to uart-interrupt example (#4477) 2025-11-11 07:01:06 +00:00
Zach Grimaldi
7fc858d836
feat: uart break send + detect (#4284)
* feat: uart break send + detect

* fix: example configs

* fix: not needed directives

* fix: instability::unstable; one line doc comment

* Update esp-hal/CHANGELOG.md

Co-authored-by: Dániel Buga <bugadani@gmail.com>

* fix: fold in hil test

* chore: remove old test from toml

* feat: add missing `wait_for_break` fn

* fix: self.regs

* feat: wait_for_break with timeout + async

* chore: fmt

* fix: pins now match embassy_serial example

* test: increase break length

* test: uses wait_for_break method

* test: with timeout

* fix: extend break on other test

* fix: missing assert

* test: explicit enable before first break

* test: delay after enable

* test: sync_regs on c6/h2

* test: interleaved

* test: sync and delay

* test: c6/h2 sync on send

* test: sync only without additional delay

* test: break detection amongst transmission

* fix: data tests should flush to allow full tx

* fix: delete unneeded example

* feat: added break sending to uart example

* fix: use time::Duration

* fix: TRMs dictate c3 and s3 need sync_regs after write to conf0

* fix: use Duration in HIL tests

* fix: save unoptimizable register read

* fix: remove cancellation safe (they're not)

* fix: reg assignment bits()

* test: no sync after enable_listen_rx (just after conf0 writes)

* chore: retrigger ci

* chore: retrigger ci again

* chore: update example payload to be something more relevant

* test: put back sync for c6/h2

* docs: update changelog

* docs: clarify changelog entry

* fix: missing byte in example

* fix: changelog version

* Update esp-hal/src/uart/mod.rs

Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>

---------

Co-authored-by: Dániel Buga <bugadani@gmail.com>
Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
2025-11-10 08:04:34 +00:00
Dániel Buga
6869eedc92
Touch up dependencies (#4280)
* Remove esp-metadata dependency

* Update dependencies

* Remove litrs
2025-10-07 13:18:33 +00:00
Dániel Buga
1eed542f64
Use cargo-batch to build tests and examples, avoid linting so much (#4108)
* Use cargo-batch

* Run CI on mac runner

* Rely on MSRV and nightly jobs to lint

* Build docs separately

* Don't copy examples - fix builds on stable

* Run everything by default, set CI env var in ci command

* Run batched commands with RUSTC_BOOTSTRAP enabled

* Force cargo-batch to correctly ignore unstable option

* Test with nightly

* Use a persistent target folder, remove cache

* Don't delete the lp examples

* Restore target dir

* Build with stable again

* Fix rebase fail

* Remove handling tests

* Remove redundant code

* Restore repeated test run option

* Add simpler cargo check

* Introduce check-packages

* Remove stabilized -Zdoctest-xcompile

* Clean up commented code

* Remove more stuff

* Fix uart_uhci test

* No badger for us
2025-09-18 11:25:11 +00:00
Jesse Braham
8c86bf727a
Restructure example applications into self-contained projects (#3915)
* Move all `embassy` examples to `async` and convert to individual projects

* Move all peripheral examples to `peripheral` and convert to individual projects

* Move all interrupt examples to `interrupt` and convert to individual projects

* Move all `ble` examples to `ble` and convert to individual projects

* Move all `esp-now` examples to `esp-now` and convert to individual projects

* Move all Wi-Fi examples to `wifi` and convert to individual projects

* Move all `ieee802154` examples to `ieee802154` and convert to individual projects

* Move all OTA examples to `ota` and convert to individual projects

* Remove files which are no longer required

* Update `xtask` to handle new examples project layout

* Update `examples/README.md`

* Don't hide TOML parsing error in `is_published`

* Update `fmt-packages` subcommand to handle new examples project layout
2025-08-11 10:22:42 +00:00