2415 Commits

Author SHA1 Message Date
Dániel Buga
f6d54a0471
Generate macros from metadata (#3604)
* Generate macros from metadata

* Don't generate metadata env vars

* Add trm link, change cores to integer

* Port RMT memory constants

* Add some I2C flags

* Auto-generate PeriConfig, remove trait

* Make sure memory_range is hidden
2025-06-10 10:06:32 +00:00
Juraj Sadel
7c322ec31c
esp-wifi and esp-storage can be used with opt-level=s (#3618) 2025-06-10 09:31:25 +00:00
Björn Quentin
3893e5665b
Remove global wifi/ble init state tracking (#3553)
* Remove global wifi/ble init state tracking

* CHANGELOG.md

* Remove (now) redundant clippy-allow

* Cleanup after rebase

* Fix CHANGELOG

* Rebase

* Remove unused
2025-06-10 09:31:11 +00:00
Scott Mabin
e3f847c9c8
Post release rollover (#3616) 2025-06-09 15:45:06 +00:00
Scott Mabin
71fe3f0e46
Add subcommand to rollover migration guides (#3606)
* add subcommand to create migration guides

* make git changes
2025-06-09 14:18:53 +00:00
Dániel Buga
1f1e120dd2
Uncomment ESP32-C3 ICACHE (#3613) tmp-doc-deploy 2025-06-09 11:25:46 +00:00
Dániel Buga
77be40d2e4
Skip generating index if documentation doesnt exists (#3608) 2025-06-09 10:01:15 +00:00
Scott Mabin
ac4bbdd6be
fixup readme links and title (#3610) 2025-06-06 15:08:23 +00:00
Björn Quentin
b88ed17c1c
Prepare semver check for toolchain 1.87 (#3607)
* Honor 1.87's changed `attr`s

* re-gen api-baseline
2025-06-06 12:32:53 +00:00
Dániel Buga
5b56cbd559
Remove unnecessary allow(dead_code) (#3601) 2025-06-06 10:34:44 +00:00
Dániel Buga
ec237026fd
Don't check chip when building documentation (#3605) 2025-06-06 10:28:21 +00:00
Scott Mabin
d34aab3ecd
Finalize crates for release (#3603) esp-hal-embassy-v0.8.1 esp-wifi-v0.14.1 2025-06-05 14:25:01 +00:00
Dániel Buga
8644f9b928
Remove unused conversions (#3600) 2025-06-05 12:07:35 +00:00
Dániel Buga
8237e04fff
Replace length check with debug assert (#3599) 2025-06-05 12:07:24 +00:00
Dániel Buga
5b55161885
Collect crates that have inline assembly (#3597) 2025-06-05 12:04:15 +00:00
Dániel Buga
c6153fa067
Remove chip features from xtensa-lx-rt (#3598) 2025-06-05 11:55:51 +00:00
Dániel Buga
2b6cece356
Lower the probability of a lockup (#3589) 2025-06-05 11:43:44 +00:00
Anthony Grondin
a6cd292e1d
feat(esp-wifi): Add fetching RSSI by wrapping esp_wifi_sta_get_rssi() (#3593)
* feat(esp-wifi): Add fetching RSSI by wrapping `esp_wifi_sta_get_rssi()`

* Add CHANGELOG.md entry

* Return an error if calling WifiController::rssi(&self) while running in AP mode.
2025-06-05 11:41:26 +00:00
Dániel Buga
4894220e29
Add multi-core critical section test (#3585) 2025-06-05 11:04:38 +00:00
Dániel Buga
4d8207694a
Document the I2C module (#3594)
* Document the i2c module

* Fix cp error, add config change example, mention that blocking is available in async
2025-06-05 07:33:17 +00:00
Dániel Buga
c4dca475da
S2: Allow configuring BusTimeout::Disabled (#3591)
* Handle timeout last

* Clean up, allow BusTimeout::Disabled on S2

* Calculate the current timestamp before checking for error

* Simplify BusTimeout
2025-06-04 14:54:34 +00:00
Björn Quentin
75f728aec9
esp-wifi: Fix ble + coex + defmt for ESP32 (#3596)
* Make CI fail as it should

* Fix ESP32 + defmt + ble + coex

* CHANGELOG
2025-06-04 14:26:59 +00:00
Dániel Buga
b6ba222dec
Lint with DEFMT_LOG=trace (#3595) 2025-06-04 14:08:26 +00:00
Scott Mabin
3cd36062d4
Finalize crates for release (#3588) esp-riscv-rt-v0.11.0 esp-alloc-v0.8.0 esp-bootloader-esp-idf-v0.1.0 esp-wifi-v0.14.0 esp-build-v0.3.0 xtensa-lx-rt-proc-macros-v0.3.0 xtensa-lx-rt-v0.19.0 esp-config-v0.4.0 esp-storage-v0.6.0 esp-hal-embassy-v0.8.0 esp-backtrace-v0.16.0 esp-hal-procmacros-v0.18.0 esp-println-v0.14.0 esp-hal-v1.0.0-beta.1 xtensa-lx-v0.11.0 esp-metadata-v0.7.0 esp-ieee802154-v0.7.0 esp-lp-hal-v0.2.0 2025-06-03 12:30:48 +00:00
Scott Mabin
1e839e3711
Add docsrs metadata and warning for esp-lp-hal (#3587) 2025-06-03 11:26:03 +00:00
Dániel Buga
1767e74cb6
Use a configurable deadline (#3577) 2025-06-03 09:44:19 +00:00
Dániel Buga
f5287c3ef9
Remove note about fixed cargo bug (#3105)
* Remove note

* Remove workaround

* Fix MSRV changelogs
2025-06-02 13:51:36 +00:00
Björn Quentin
00565c39ed
Improve PSRAM detection (#3554)
* Improve PSRAM detection

* CHANGELOG.md

* Just probe ESP32 PSRAM

* Read device ID workaround

* Exit QIO mode before trying to read the SPI RAM device id

* Last try

* Fix

* Workaround faulty SVD
2025-06-02 13:44:47 +00:00
Dániel Buga
6ab240d7ff
Fix i2c hanging after cancelling a transaction (#3572)
* Add failing test

* Reset FSM when cancelling a transaction

* Refactor clear_bus_blocking to avoid duplicating the logic

* Extract timeout from ClearBusFuture

* Clear bus immediately when cancelling an async transfer
2025-06-02 12:12:03 +00:00
Dániel Buga
946cbf842e
Fix duration_since_epoch (#3582) 2025-06-02 11:12:44 +00:00
Björn Quentin
68986d375c
Fix ESP32 MAC address from efuse (#3579) 2025-05-30 13:33:20 +00:00
Dániel Buga
d3a303c4be
Use the I2C future on ESP32, add sw timeout for S2 (#3571) 2025-05-30 13:19:01 +00:00
Dániel Buga
5992933ca7
Simplify esp-wifi timer code (#3576)
* Simplify esp-wifi timer code

* Reserve and use FROM_CPU_INTR2 on RISC-V
2025-05-30 11:35:59 +00:00
Björn Quentin
42e239ccf1
Summarize failed CI checks (#3574) 2025-05-30 09:16:10 +00:00
Dániel Buga
3fec3376a4
Disable timer as part of preempt::disable (#3575) 2025-05-30 08:06:17 +00:00
Dániel Buga
79b6464321
I2c: clear bus on error (#3570)
* Make sure connect_pin is not generic

* Allow Driver to access Config

* Implement bus clearing

* Explain that the first ever command needs to be a start

* Extract constant
2025-05-30 06:40:59 +00:00
Kirill Mikhailov
59cfe438fe
change common test pins for esp32 (#3573) 2025-05-29 16:36:16 +00:00
Scott Mabin
e97de69b42
use 1.87 in CI, bump MSRV to 1.86 (#3560)
* use 1.87 in CI, bump MSRV to 1.86

* update API baseline files (rustdoc json format change)

* Add api-baseline regen guide to guidelines
2025-05-29 13:45:22 +00:00
Dániel Buga
f5305a6686
Add i2c blocking timeout test, unwrap results (#3567)
* Add blocking timeout test

* Don't ignore return values
2025-05-29 10:51:49 +00:00
Dániel Buga
13b46968f3
Create new semver baseline on release (#3568)
* Fix bumping renamed packages

* Generate new baseline

* Print PR body if too long

* Extract and test version bump code

* Also handle simple dependencies
2025-05-28 15:05:20 +00:00
Dániel Buga
6a49e9e0cd
Parametrize I2C tests a bit better (#3566) 2025-05-28 10:52:18 +00:00
Dániel Buga
efbd0cb12a
Accept double quotes in docu workflow input (#3565) 2025-05-28 09:26:53 +00:00
Dániel Buga
e5c66e8f98
Disable I2C arbitration (#3559) 2025-05-28 09:15:33 +00:00
Dániel Buga
f203d25cb7
Remove probe speed override for C2 (#3562) 2025-05-27 15:56:55 +00:00
Björn Quentin
7e2f1b1d31
Include uninit in noinit section (#3558)
* Include `uninit` in noinit section

* CHANGELOG.md

* Include `defmt` in flip-link test
2025-05-27 13:06:36 +00:00
Dániel Buga
3f4350d883
Fix an I2C race condition (#3555)
* Remove redundant reset

* Prevent timeout when interrupted
2025-05-27 11:19:07 +00:00
Renken
631b4aab41
Expose ADC asynchronous functionalities where applicable (#3443)
From a user's perspective, logic based on asynchronous ADC
functionalities using esp-hal v0.23 is no longer possible with
v1.0.0-beta.0. This is due to the fact that asynchronous traits used to
implement the latter are gatekept behind a module, called `asynch`,
accessible only to the esp-hal crate itself. As a result, users cannot
write generic logic that requires the implementation of such traits as
they are currently private.

See https://github.com/esp-rs/esp-hal/discussions/3441 for a concrete
example.

Co-authored-by: Juraj Sadel <juraj.sadel@espressif.com>
2025-05-27 09:19:14 +00:00
Dániel Buga
692b7dddc2
Publish based on release plan (#3542)
* Publish and tag based on release plan

* Update wording

* Update xtask/src/commands/release/execute_plan.rs

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

---------

Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
2025-05-26 11:37:38 +00:00
Björn Quentin
0f4b29d49d
No need to ref-count wifi anymore (#3550)
* No need to ref-count wifi anymore

* CHANGELOG.md
2025-05-26 11:29:36 +00:00
Juraj Sadel
c6437c7a44
Update examples and qa-test to new bootloader (#3541) 2025-05-26 10:37:41 +00:00