2907 Commits

Author SHA1 Message Date
Go Suzuki
6b735e1510
feat(example): Add LP I2C Example (SHT30 temp. and humid. sensor) (#4679)
* feat(example): Add LP I2C Example (SHT30 temp. and humid. sensor)

* Fix the wrong attribute name `required_features` in Cargo.toml.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix file name.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Added descriptions for constants.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Added some spaces.

* Split write and read.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Added descriptions for addresses.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Added descriptions for addresses on main.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Changed I2C failure handling.

* Fix link.

* Change the variable name

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-23 09:19:35 +00:00
Dániel Buga
05de427c34
Model and use the new clock system in MCPWM (#4647) 2025-12-19 11:25:49 +00:00
Juraj Sadel
3e68b81f67
esp-radio: Hide wifi_csi_info_t from pub API (#4643)
* esp-radio: Hide wifi_csi_info_t from pub API

* reviews

* changelog

* Really don't expose the C type

* Comment about the known bindgen bug  workaround

* refactor and clean
2025-12-19 11:24:40 +00:00
Kirill Mikhailov
3cda4910a8
HIL: Add an option to run specific tests (#4680)
* Add an option to run specific HIL tests

rename `--tests` arg in `run elfs` to be `--elfs` (less misleading)

* no need to be that detailed

* rework PR search

* ugh

I'm so stupid
2025-12-19 11:22:15 +00:00
Kirill Mikhailov
3e420ec6f1
xtask: Allow builds/runs of multiple tests at once (#4678)
* Allow multiple test runs

* address reviews + protection against `--test ""`/ `--test " "`

* Update comment for value parser

* reimplement empty strings rejection, allow spaces between tests
2025-12-18 13:43:41 +00:00
Juraj Sadel
5f7098ea43
xtask: Generate pub markers for esp-rom-sys ROM symbols for semver checks (#4613)
* xtask: Generate pub markers for esp-rom-sys ROM symbols for semver checks

* Clean dead code and add a testcase

* Improve test and comments parsing

* Don't iterate over files and use rom-functions.x instead
2025-12-18 10:00:50 +00:00
Juraj Sadel
90c90cba6a
CI(baseline_generation): Get packages from breaking-change-<package_name> labels for non-workflow_dispatch runs" (#4670) 2025-12-18 09:56:02 +00:00
Kirill Mikhailov
497d7127ad
Fix doc comment for tests subcommand (#4673)
Co-authored-by: Juraj Sadel <juraj.sadel@espressif.com>
2025-12-17 08:30:39 +00:00
Juraj Sadel
e6d87048b3
S2(clocks): Fix ref_tick divider (#4654)
Co-authored-by: Scott Mabin <scott@mabez.dev>
Co-authored-by: Dániel Buga <bugadani@gmail.com>
2025-12-16 22:12:19 +00:00
Dániel Buga
190bdcb399
Tweak DMA and SPI futures (#4668)
* DMA: Read interrupt status once

* Clean up SPI future

* Force inlining the pointer load
2025-12-16 22:02:58 +00:00
Dániel Buga
49940948ff
CpuClock: Fix API-breaking changes (#4674)
* Fix API-breaking changes

* Implement default by converting from default CpuClock

* Run semver check in merge queue
2025-12-16 21:40:32 +00:00
Scott Mabin
3be4fab05a
ensure we only download the latest non-expired artifact (#4672) 2025-12-16 14:27:08 +00:00
Kirill Mikhailov
1a8ce17ee2
document new HIL runners (#4671) 2025-12-16 13:14:26 +01:00
Dániel Buga
51533e7d62
Expose new clock config options unstably (#4660)
* Remove unused clock types

* Unsafely expose clock config

* Merge configure functions

* Expose clock tree config struct
2025-12-16 09:57:07 +00:00
Scott Mabin
5740aaf956
use 1.92 in CI (#4661) 2025-12-15 16:21:37 +00:00
Björn Quentin
ec48cfc77d
Only take some of the sections into consideration (#4659) 2025-12-15 14:46:59 +00:00
Juraj Sadel
01fc21c02c
CI(binary_size): Give report even when one of the workflows fail (#4664) 2025-12-15 14:23:42 +00:00
Juraj Sadel
7fd020aa06
Clean HIL README (#4662) 2025-12-15 13:27:53 +00:00
Juraj Sadel
3f9113aebe
Don't mention discussion (#4658) 2025-12-15 13:01:33 +01:00
Dániel Buga
c9247f09c6
Try to optimize accessing the current task (#4648) 2025-12-15 09:24:46 +00:00
Kaspar Schleiser
0308275e41
refactor(rtos): remove unneeded timer handler cast (#4653)
Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de>
2025-12-12 14:01:46 +00:00
Dániel Buga
f29be06c6f
Inline control of upstream clock nodes (#4644) 2025-12-12 13:49:45 +00:00
Björn Quentin
0bbe2b0808
Use released esp-wifi-sys-esp32X packages (#4652) 2025-12-11 13:48:28 +00:00
Dániel Buga
16e34d56c4
Minor clock tree tweaks (#4636)
* Remove I2C clock field

* Extract MCPWM clock source getter

* Define PLL_F160M
2025-12-11 11:41:25 +00:00
Dániel Buga
1d1f402002
Fix clippy lints (#4646) 2025-12-10 17:11:31 +00:00
Dániel Buga
2533d839a3
Enable digital clocks, set RC_SLOW calibration value (#4629) 2025-12-10 15:25:13 +00:00
Dániel Buga
f605508c04
S3: rework clocktree (#4633)
* Rework S3 clock tree

* Summarize PVT tuning
2025-12-10 14:52:29 +00:00
Tomas Borcin
81ffccd15a
Change issue template labels (#4645)
* Changing needs attention label to bug jury and enhancement to feature request

* Changing needs attention label to bug jury and enhancement to feature request

* Update .github/ISSUE_TEMPLATE/bug_report.md

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

---------

Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
Co-authored-by: Dániel Buga <bugadani@gmail.com>
2025-12-10 15:09:24 +01:00
Dániel Buga
3f6d26cfad
C6: Set highest MSPI divider (#4642)
* Fix MSPI clock divider default

* Set defaults to ESP32 RTC clocks
2025-12-10 11:25:50 +00:00
Taras Radchenko
04586d834d
Add support for Ext1WakeupSource on H2 (#4641)
* Add ESP32-H2 LP GPIO to esp-metadata

* Impl RtcPin for H2 GPIOs

* Implement support for Ext1WakeupSource on H2

Because H2's LP GPIOs support pull-up/pull-down
resistors, it makes sense semantically to use
RtcPinWithResistors trait. However, because the
sleep implementation configures pins using Input
type, there's no need in hidden trait methods.

Add extra bool flag to RtcSleepConfig to keep track
of whether "top" power domain (controls peripherals)
is needed by ext1. Unfortunately there's no better way
to do this because RtcSleepConfig.apply(), being the
only method that takes a &mut self, does not take
WakeTriggers as parameter.

* Add support for H2 in sleep_timer_lpio QA test

* Fix formatting

* Update changelog

* Fix docs
2025-12-10 11:05:46 +00:00
Juraj Sadel
439528cead
docs(rtc): Mention in the time_since_boot() that the timer is reset … (#4630)
* docs(rtc): Mention in the time_since_boot() that the timer is reset only on a power-on-reset

* changelog
2025-12-10 10:31:08 +00:00
Dániel Buga
10025b6b26
Ensure async waker code lives in IRAM (#4627) 2025-12-09 13:46:44 +00:00
Juraj Sadel
dd1103068d
qa-test: clean up emojis (#4635) 2025-12-09 08:53:13 +00:00
Dániel Buga
b81533a8b4
Stabilize read_ready and write_ready (#4600) 2025-12-08 09:24:53 +00:00
Björn Quentin
057ec250f4
Define esp-hal using ~ inside esp-* crates that depend on unstable features (#4621)
* Specify `esp-hal` as `~1.0`

* Teach `execute-plan` about tilde dependencies

* Also support exact version requirements, cleanup
2025-12-08 09:22:41 +00:00
Benedikt
209326011a
RMT: Remove generic data types (#4616)
* RMT: Remove Into<PulseCode> / From<PulseCode> support

which was probably of little value, anyway, and also in preparation for adding
more sophisticated Encoder data types

* update changelog + migration guide
2025-12-08 07:12:33 +00:00
Juraj Sadel
b42861ac1c
xtask: Deduplicate _feature_rules methods and add semver_feature_rules() (#4615) 2025-12-05 16:05:53 +00:00
Juraj Sadel
200bd1c64e
Fix depracated TWAI link (#4620) 2025-12-05 14:15:14 +00:00
Dániel Buga
30c6568c9f
Rework S2 clocktree (#4610)
* Validate peripheral clock nodes

* Rework S2 clock tree
2025-12-05 09:16:27 +00:00
Go Suzuki
ddd74a1252
fix(lp_core): Use SHF_ALLOC flag for determining loadable ELF sections on load_lp_code!. (#4612)
* fix(lp_core): Use SHF_ALLOC flag for determining loadable ELF sections on load_lp_code!.

* Use `is_empty()` instead of `len() == 0`.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update CHANGELOG.md

* Update esp-hal-procmacros/src/lp_core.rs

Remove redundant `into()`s.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* More detailed error message

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-04 15:28:33 +00:00
Jesse Braham
01e941346d
Move more types out of wifi module and into csi and scan submodules instead (#4588)
* Move CSI-related types to their own module, enable `csi` feature in docs

* Move more types to `scan` module

* Miscellaneous fixes/cleanup

* Update changelog and migration guide

* Review comments

* ¯\_(ツ)_/¯
2025-12-03 21:49:39 +00:00
Dániel Buga
4ee9a976a8
Validate peripheral clock nodes (#4608) 2025-12-03 17:39:30 +00:00
Dániel Buga
a40a555f15
XTL -> XTAL (#4611) 2025-12-03 17:30:04 +00:00
Sergio Gasquez Arcos
3b01415f30
Use esp_hal::time::Duration instead of core::time::Duration (#4609)
* feat: Use esp_hal::time::Duration instead of core

* feat: Make clippy check that we use  esp_hal::time::Duration

* fix: Update qa-test

* docs: Update changelog
2025-12-03 15:52:31 +00:00
Dániel Buga
d3d2a77759
Fix some UART-related issues (#4586)
* Correct read documentation

* Fix loop condition

* Changelog PR numbers

* Expand read_ready documentation

* Expand write_ready documentation

* Remove loop, clear fifo full when reading data

* Unconditionally set threshold

* Drain bytes before waiting for fifo

* Remove obsolete changelog entry
2025-12-03 13:18:41 +00:00
Dániel Buga
845e831d46
Fix disabling the BLE stack on C2 (#4606)
* Remove debug assert

* Remove waiting tasks from dropped queue

* Handle alloc errors more gracefully

* Immediately delete "other" tasks

* Disable BLE controller

* Restore assert
2025-12-03 12:22:05 +00:00
Björn Quentin
00183a3c1c
Add a guide for creating reproducers (#4605)
* Add a guide for creating reproducers

* Update .github/ISSUE_TEMPLATE/bug_report.md

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

* Apply suggestions

---------

Co-authored-by: Dániel Buga <bugadani@gmail.com>
2025-12-03 11:47:28 +00:00
Dániel Buga
9d6d6dc7f0
Rework H2 clocktree (#4595) 2025-12-03 08:54:15 +00:00
Dániel Buga
162e0014ec
Also set EXCM bit for the idle context (#4591)
* Also set EXCM bit for the idle context

* Fix warning
2025-12-02 18:08:03 +00:00
Scott Mabin
949e85effe
don't check the changelog whilst PR is draft (#4602) 2025-12-02 17:15:40 +00:00