2578 Commits

Author SHA1 Message Date
Dániel Buga
a215aca629
Move REF_TICK and RC_FAST_CLK to metadata (#3866)
* Move REF_TICK and RC_FAST_CLK to metadata

* Don't try to use ref_tick if it doesn't exist

* Fix S3
2025-07-28 10:14:34 +00:00
Dániel Buga
82100314c5
Reorganize efuse code (#3868) 2025-07-28 08:35:17 +00:00
Dániel Buga
b2c31a1dac
Reorganize PSRAM (#3867) 2025-07-28 07:24:14 +00:00
Dániel Buga
bb50746e9c
Move TIMG clock source defaults to metadata (#3864)
* Read register once

* Move TIMG clock sources to metadata

* Also describe C2/3/S2/S3 clock source options

* H2: Use PLL as WDT clock source

* Fix H2 WDT calculation

* Initialize clocks before setting up WDT

* Set clock source for all timers in the timer group
2025-07-28 07:10:58 +00:00
Kirill Mikhailov
73ef8d9227
Rename esp-wifi to esp-radio (part 1) (#3858)
* rename `esp-wifi` to `esp-radio`

* Add migration guide entry

* changelog entry

* address reviews

* more fixes

* address reviews

* Thank you for this rebase!

* mmm, rebase

* Remove unnecessary diff

bob

* get rid off all `esp-wifi` references

* drop the links ƒrom the table
2025-07-25 12:26:08 +00:00
Dániel Buga
bb55f1152b
Remove raw interrupt map address (#3863) 2025-07-25 07:39:48 +00:00
Dániel Buga
87febcbb4f
Replace evalexpr (#3860) 2025-07-25 06:37:49 +00:00
Dániel Buga
07214ef80d
Split out preempt driver and default impl (#3855) 2025-07-25 06:35:19 +00:00
Dániel Buga
1af4e29014
Move RSA operand sizes to metadata (including AES fallout) (#3845)
* Encode RSA operand sizes in metadata, compactly

* Rework AES with for-each macro
2025-07-24 08:36:32 +00:00
Kirill Mikhailov
a2f2a224cd
Stop using ok in esp-wifi/esp-ieee802154 crates codebase. (#3853)
* is that it?

* `expect` <-> `unwrap`

* macro update

fix macro

* how did i manage to forget..?
2025-07-24 08:36:04 +00:00
Dániel Buga
818d30972d
Don't try to write FUNC_IN_SEL_CFG of non-matrix signal (#3849) 2025-07-23 07:41:18 +00:00
Dániel Buga
9eb89a3de5
Fix ble crash (#3854)
* Implement NPL timed dequeue

* Add failing test case

* Always return dequeued event

* Add a short sleep to prevent crashing while deinit
2025-07-22 17:12:13 +00:00
HaoboGu
bccd9d770a
Bump embassy-usb version (#3848)
* Bump `embassy-usb` version

Signed-off-by: Haobo Gu <haobogu@outlook.com>

* Add `embassy-usb` update to CHANGELOG.md

Signed-off-by: Haobo Gu <haobogu@outlook.com>

---------

Signed-off-by: Haobo Gu <haobogu@outlook.com>
2025-07-22 13:07:37 +00:00
Dániel Buga
3adadced67
Yield in usleep (#3852) 2025-07-22 12:47:24 +00:00
Juraj Sadel
3995a3f66d
esp-wifi: remove bunch of FIXMEs and clippy cleanup (#3851) 2025-07-22 12:47:07 +00:00
Dániel Buga
d9da2b4721
Restore printing exception context (#3850) 2025-07-22 10:32:17 +00:00
Dániel Buga
0c1cc17ed1
Move SHA algos to metadata (#3844) 2025-07-21 19:47:33 +00:00
Dániel Buga
fd66bd3dcc
Encode AES key lengths in metadata (#3843) 2025-07-21 19:01:45 +00:00
Dániel Buga
0d9f43db29
Rewrite RNG (#3829) 2025-07-21 15:10:35 +00:00
Dániel Buga
94d955bfb0
Fix GPIO matrix typo (#3840) 2025-07-21 14:59:36 +00:00
Björn Quentin
7af0f3f3bb
use riscv 0.14.0 (#3842)
* use riscv 0.14.0

* Don't use the re-exports from esp-riscv-rt because of the RT feature

* fmt

* More fixes caused by the existence of the `rt` feature
2025-07-21 14:37:12 +00:00
Kirill Mikhailov
2518789a5f
cleanup esp-wifi README (#3841)
* cleanup `esp-wifi` README

* better links format

* lose weight, less words
2025-07-21 14:25:11 +00:00
Dániel Buga
39d1e115c1
Add SOC config that is hidden from the peri table (#3839) 2025-07-21 11:48:15 +00:00
Dániel Buga
da9a933e7e
Panic in exception handler (#3838) 2025-07-21 11:43:14 +00:00
Denys Vitali
c4c8d1d5b9
feat(esp-wifi): add Country Code (#3837)
* feat(esp-wifi): add Country Code

* fix: fmt, changelog

* fix: cast

* chore: cargo xtask fmt-packages

* chore: remove example

* fix: use Option<[u8;2]> for country code

* fix: return Some

* Use an opaque type

---------

Co-authored-by: Dániel Buga <bugadani@gmail.com>
2025-07-21 11:00:57 +00:00
Dániel Buga
af6ffb102f
Update instability (#3836) 2025-07-21 09:37:58 +00:00
Kirill Mikhailov
de67c31013
Add additional configuration section to docs in packages that lacked this (#3827)
* Add `additional configuration` to docs in packages that lacked this

* update esp-backtrace doc

* address review

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

* update the "greeting" entry

* conditioned "force frame pointers" entry

* oopsy

---------

Co-authored-by: Dániel Buga <bugadani@gmail.com>
2025-07-18 18:54:09 +00:00
Dániel Buga
fc27f983c9
Generate new semver baseline (#3835) 2025-07-18 15:32:05 +00:00
Szybet
d02dd21871
Make stats fields in esp alloc public (#3828)
* Update lib.rs

* Update CHANGELOG.md

* Update CHANGELOG.md
2025-07-18 12:44:55 +00:00
Dániel Buga
8c64b09ba7
Allow configuring longer WDT periods (#3816)
* Clean up with new PAC

* Allow configuring longer WDT periods

* Enable WDT after updating timeout
2025-07-17 14:50:26 +00:00
Dániel Buga
422f232f94
Add assign_resources (#3809)
* Add assign_resources

* Mark unstable
2025-07-17 14:48:00 +00:00
Dániel Buga
f9419afcc2
Update PAC (#3802) 2025-07-17 12:23:51 +00:00
Dániel Buga
e146e03c72
Use metadata to define LP peripheral FIFO sizes (#3812) 2025-07-17 12:16:24 +00:00
Dániel Buga
fdc2a33e67
Fix S2 PSRAM (#3811) 2025-07-17 09:53:07 +00:00
Dániel Buga
93ffa2ce8e
Clean up some unnecessary lints (#3807)
* Clean up unnecessary lint allows

* Clean up some unnecessary lints
2025-07-17 09:19:37 +00:00
rmsyn
eea0446e77
xtask: add metadata check (#3808)
* xtask: add metadata check

Adds a check for metadata changes to the xtask `update-metadata` task.

* ci: add metadata check to the `ci` workflow

Adds a check for uncommitted metadata changes to the `ci` workflow.
2025-07-16 18:11:53 +00:00
Scott Mabin
6b758d75b8
Finalize releases (#3805)
* Finalize crate releases

* changelog fixup

* fixup docsrs ci test

* docs fixup
esp-riscv-rt-v0.12.0 esp-hal-procmacros-v0.19.0 esp-backtrace-v0.17.0 esp-storage-v0.7.0 esp-rom-sys-v0.1.1 esp-hal-v1.0.0-rc.0 esp-ieee802154-v0.8.0 esp-metadata-generated-v0.1.0 esp-metadata-v0.8.0 esp-println-v0.15.0 esp-config-v0.5.0 esp-bootloader-esp-idf-v0.2.0 esp-hal-embassy-v0.9.0 esp-wifi-v0.15.0 xtensa-lx-rt-proc-macros-v0.4.0 xtensa-lx-rt-v0.20.0 xtensa-lx-v0.12.0
2025-07-16 10:29:34 +00:00
Scott Mabin
9dcaa153a3
fixup (#3804) 2025-07-16 08:46:42 +00:00
Scott Mabin
d15b6ac4e9
xtask: allow manually creating the PR (#3803) 2025-07-15 17:32:31 +00:00
Scott Mabin
21069f30a0
allow pre version bumps, run xtask tests in CI (#3800) 2025-07-15 16:23:56 +00:00
Scott Mabin
1d99fae9ee
ensure the plan phase accounts for perma-unstable packages (#3799) 2025-07-15 14:46:09 +00:00
Dániel Buga
634120f700
Clean up (#3798)
* Clean up unnecessary unsafe code

* Do not print level of unhandled interrupt

* Remove transmutes

* Changelog
2025-07-15 11:40:50 +00:00
Scott Mabin
e620244dfa
use new pac releases (#3797) 2025-07-15 11:13:57 +00:00
Dániel Buga
906fa56435
Update PAC (#3794) 2025-07-15 10:38:29 +00:00
Scott Mabin
6db771c80e
(re-)introduce the rt feature on esp-hal (#3706)
Adds the `rt` feature which disables `esp_hal::init` and removes
runtime symbols from the global name space.

Disabling the `rt` feature is the recommended way to use esp-hal as a
library.
2025-07-15 09:20:26 +00:00
Dániel Buga
978f9083a6
Use array-ified TWAI DATA registers (#3793) 2025-07-15 09:07:26 +00:00
Dániel Buga
9e5e643bb0
Disable USB pads before connecting a function (#3795) 2025-07-15 08:02:30 +00:00
Dániel Buga
496aeb864b
More touching up of generated code (#3791)
* Document remaining macros, update gpio syntax

* Update if_pin_is_type syntax, simplify impl

* Remove impl_for_pin_type

* Remove if_pin_is_type

* Remove the gpio macro
2025-07-14 13:05:27 +00:00
Dániel Buga
40fc4f2c6c
Make sure repeated matchers in for_each macros don't overlap (#3790)
* Allow generating separate repeat branches

* Generate separate repeated matchers for simple/expanded signals
2025-07-14 13:04:51 +00:00
Dániel Buga
df7ba7d427
Document esp-metadata-generated (#3787)
* Try to make it more obvious how to update e-m-g

* Document top level, ensure build-script docs are present

* Document Chip, hide Config
2025-07-11 12:48:25 +00:00