Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
63e97be
Release 7 packages (#6208)
MabezDev Aug 26, 2026
0d38c38
xtask: re-read manifests in execute-plan apply loop (#6200)
MabezDev Aug 26, 2026
3e03c85
Hide XTAL32K and downstream clocks when disabled (#6194)
bugadani Aug 26, 2026
73c9408
Fix lint (#6213)
JurajSadel Aug 26, 2026
5363c4c
ci: skip CI on closed and merged PRs (#6210)
JurajSadel Aug 26, 2026
c3fd4e5
Fix possible deadlock in esp-radio (#6222)
bugadani Aug 27, 2026
9825680
Bulk-apply API doc improvements (#6217)
bjoernQ Aug 27, 2026
530fa49
Fix PARL_IO sampling using pad clock (#6227)
bugadani Aug 27, 2026
8fa6d7e
UART: clear UPDATE_CONTROL bit on C2, C3, S3 (#6226)
bugadani Aug 27, 2026
4fb0750
Use SDM to send end marker (#6214)
bugadani Aug 28, 2026
7e64035
Tweak break detection tests (#6212)
bugadani Aug 28, 2026
d40f3f8
Test late pin addition behaviour, update docs (#6230)
bugadani Aug 28, 2026
2c3af87
Use defmt-enabled panic macro (#6232)
bugadani Aug 28, 2026
df37d79
Add test and fix glitch (#6233)
bugadani Aug 28, 2026
cf30b58
ESP32: Keep 32kHz crystal powered (#6234)
playfulFence Aug 28, 2026
cf96c3a
Fix changelog checker silently dropping format errors (#6246)
bugadani Aug 31, 2026
43c13af
Ensure max SPI frequency is configurable in stable esp-hal (#6245)
bugadani Aug 31, 2026
b06b604
Fix GPIO wakeup from deep sleep (#6250)
bugadani Aug 31, 2026
c3db28f
Fix esp-storage dep version (#6244)
bugadani Sep 1, 2026
2316996
Fix breaking GPIO change (#6252)
bugadani Sep 1, 2026
5a0eb18
Prevent test firmware from looping (#6251)
bugadani Sep 1, 2026
f4b7dcf
Disable WDTs by raw register manupulation (#6253)
bugadani Sep 2, 2026
dbd951f
Release 3 packages (#6237)
MabezDev Sep 2, 2026
d51330c
Correctly model MEM_CLK and SYS_CLK (#6190)
bugadani Sep 2, 2026
28dc8ef
Enable octal PSRAM for P4, default to 80MHz on S3, C5, C61 (#6195)
bugadani Sep 2, 2026
0f11cad
Enable I2S for ESP32-S31 (#6197)
bjoernQ Sep 2, 2026
12ca82b
Add interrupt handling for I2S parallel peripheral (#6238)
liebman Sep 2, 2026
6d038df
Add clock type presets (#6224)
bugadani Sep 2, 2026
2f13665
Allow wifi disconnect while a connection attempt is in progress (#6254)
FrankBlue Sep 2, 2026
c1383ac
Post release rollover (#6260)
MabezDev Sep 2, 2026
04c16e4
CI: de-duplicate, refactor (#6199)
JurajSadel Sep 2, 2026
95751f7
Enable PCNT on ESP32-P4 (#6187)
bugadani Sep 2, 2026
38c1718
Fix executor test on P4 (#6259)
bugadani Sep 2, 2026
cc8c727
Make the esp-alloc heap region limit configurable (#6256)
FrankBlue Sep 2, 2026
d101616
Add `CRYPTO_CLK` to the clock tree (#6228)
JurajSadel Sep 2, 2026
c9240a0
Refactor I2S into the clock tree (#6225)
bugadani Sep 2, 2026
71d7ad9
Ensure probe-rs stops unwinding the second core stack (#6262)
bugadani Sep 3, 2026
7b7650d
Add sleep driver to S31 (#6229)
bugadani Sep 3, 2026
390ac58
Xtensa PSRAM driver cleanup (#6198)
bugadani Sep 3, 2026
4bab931
BLE: copy less, refactor HCI (#6257)
bugadani Sep 3, 2026
4739d67
S31: Enable LCD_CAM (#6186)
bugadani Sep 3, 2026
567dbfb
Enable PCNT on ESP32-S31, rework API (#6191)
bugadani Sep 3, 2026
21c0a63
Add TxEofSource enum and update TxConfig for TX EOF source selection …
liebman Sep 3, 2026
526d4bb
Implement xarxa-driver (#6249)
bugadani Sep 3, 2026
1c62f6b
Revert accidental stabilization of DirectBindableCpuInterrupt (#6267)
bugadani Sep 4, 2026
88887f1
Add interrupt handling support for I8080 driver and update DMA integr…
liebman Sep 4, 2026
0eb3e53
S31: Ethernet (#6192)
bugadani Sep 4, 2026
9a6f71f
Fix ESP32-S3 USB JTAG register address (#6273)
bugadani Sep 7, 2026
e88f8ce
Rework and overhaul of esp-devtool (#6261)
playfulFence Sep 7, 2026
bb239a0
esp-println cleanup (#6248)
bugadani Sep 8, 2026
92dbff0
Make merge freezes visual and "official" (#6219)
playfulFence Sep 8, 2026
427a45f
Refcount Wi-Fi (#6281)
bugadani Sep 8, 2026
4a0de9e
Safe threading API (#6258)
bugadani Sep 8, 2026
7a60b58
Enable WiFi 6 for ESP32-C5 (#6283)
bjoernQ Sep 8, 2026
6fedea3
Use radio blobs from 6.1-255-g4dbfecac7e3 (#6271)
bjoernQ Sep 8, 2026
ece91a4
Add core flash driver (#6223)
bjoernQ Sep 9, 2026
a56d111
fix: latest redirect (#6290)
SergioGasquez Sep 9, 2026
8d8b1ed
fix: Compilation warning (#6298)
SergioGasquez Sep 10, 2026
89d8290
Add message when calling async fn before rtos init (#6308)
bugadani Sep 10, 2026
b6c7653
esp-radio: expose esp-now v1/v2 length and make it more obvious (#6285)
devsnek Sep 10, 2026
cf694d6
S31: Wi-Fi and 802.15.4 (#6296)
bjoernQ Sep 10, 2026
733918d
Update PACs (#6313)
bugadani Sep 11, 2026
b52d05d
Fix P4 (#6295)
bugadani Sep 11, 2026
ae372ce
Add dram2_uninit.bss (#6293)
bugadani Sep 11, 2026
0127253
fix: Don't panic on unknown Wi-Fi driver error codes (#6309)
MabezDev Sep 11, 2026
0fed45c
Remove the S31 15.4 "workaround" (#6318)
bjoernQ Sep 11, 2026
111705e
Syntactic cleanup in sleep drivers (#6327)
bugadani Sep 14, 2026
12b9fdc
xtask: rework release plan around --exclude and a closure check (#6319)
MabezDev Sep 14, 2026
b1d9a87
Rename QA tests (#6328)
bugadani Sep 15, 2026
f66f625
Use released esp-wifi-sys-* (#6331)
bjoernQ Sep 15, 2026
ed83ac5
Update PACs to released versions (#6333)
MabezDev Sep 15, 2026
525b665
Release 3 packages (#6334)
MabezDev Sep 15, 2026
f769fcd
Add IPC, use CLINT software interrupt where possible (#6221)
bugadani Sep 15, 2026
3d4d586
Make coex example send notifications (#6338)
bugadani Sep 16, 2026
2fbd759
Fix combo module metadata, simplify (#6337)
bugadani Sep 16, 2026
a053fd4
Remove embassy-sync from esp-phy (#6340)
bugadani Sep 16, 2026
16eefa2
Fix C6 context switch source (#6344)
bugadani Sep 16, 2026
0f67ef0
Honor PMP granularity (#6343)
bjoernQ Sep 16, 2026
61c0ce6
Release 2 packages (#6341)
MabezDev Sep 16, 2026
5af7bdf
Refcount radio clocks (#6339)
bugadani Sep 16, 2026
80982ca
Esp32S2 PDMA: clear dma_(out,in)_link when dma_disable (#6348)
yuiiio Sep 17, 2026
3fb9501
PARL_IO: interrupt management on transfer objects, DMA channel interr…
liebman Sep 17, 2026
246ff81
fix(spi): arm the SPI slave peripheral after its DMA channels start (…
molqzone Sep 17, 2026
253c540
Add release runbook and link it from the README (#6264)
MabezDev Sep 17, 2026
1533216
Dma*Future: only clear interrupts which are handled (#6353)
bjoernQ Sep 17, 2026
21b0711
Tidy up the BLE controller glue a bit (#6351)
bugadani Sep 17, 2026
05690ae
Clean up radio clock handling (#6347)
bugadani Sep 17, 2026
4ed1a03
HIL suite: connect HP-HP and LP-LP pairs on all the runners (#6355)
playfulFence Sep 18, 2026
402e492
Fix C6 CLINT context switch (#6356)
bugadani Sep 18, 2026
a4e589c
esp-radio: make Ssid::as_bytes public (#6322)
fbartho Sep 18, 2026
0a60c6d
ESP32-S31: configure TIMG clocks (#6365)
Vivi26499 Sep 19, 2026
213287a
Fix analog GPIO bank selection (#6368)
Vivi26499 Sep 20, 2026
b0652ee
Clean up BLE, vol 2 (#6361)
bugadani Sep 21, 2026
f7a0a1a
esp-radio: Add C5 and C61 defmt and log features (#6370)
JurajSadel Sep 21, 2026
686a3e6
xtask: check crates.io for reserved versions before publishing (#6209)
JurajSadel Sep 22, 2026
95cae9d
devtool: Add ENV-IF and FEATURES-IF variants which do not create new …
playfulFence Sep 23, 2026
63a62eb
Remove ADC2 for ESP32-C3 (#6379)
bjoernQ Sep 23, 2026
86508e8
S31: enaBLE (#6332)
bugadani Sep 23, 2026
ddc81be
Document the trade-offs of Wi-Fi power save (#6384)
bugadani Sep 23, 2026
0f1a437
CI: update HIL bot status on re-runs (#6381)
JurajSadel Sep 23, 2026
b74bd67
Add missing function pointer to NPL table (#6375)
bugadani Sep 23, 2026
5edb7b8
Make RC clock sources adjustable in the clock tree (#6380)
bugadani Sep 24, 2026
8e4520f
BLE modem sleep (#6376)
bugadani Sep 24, 2026
744a0b2
Bugfixes before Wi-Fi light sleep (#6393)
bugadani Sep 25, 2026
c824e15
ADC Improvements (#6360)
bjoernQ Sep 25, 2026
9e23177
Support Wi-Fi during light sleep (#6394)
bugadani Sep 25, 2026
7d244ac
Fix i2s Data32Channel24, Data32Channel16, Data32Channel8 and Data16Ch…
mlandauer Sep 25, 2026
c881279
H4: Part 1 - MVP bringup (#6297)
playfulFence Sep 25, 2026
ced3422
Add flash encryption support (#6315)
bjoernQ Sep 28, 2026
c65add7
BLE in light sleep (#6378)
bugadani Sep 28, 2026
c6fa25f
Fix ADC + radio on certain chips (#6412)
bjoernQ Sep 28, 2026
248b35a
Clarify I2S data-format docs (#6414)
bjoernQ Sep 29, 2026
be39398
TRNG: align with ESP-IDF and use PAC fields (C6/H2) (#6396)
JurajSadel Sep 29, 2026
73aca27
xtask: Plan minor bumps for semver-checked crates outside backport br…
JurajSadel Sep 29, 2026
3c54ac7
Fix RMT slow sclk (#6420)
SergioGasquez Sep 29, 2026
fb247d7
Bump pacs (#6419)
JurajSadel Sep 29, 2026
cc8488b
xtask: Catch missing chip coverage in features and examples (#6374)
JurajSadel Sep 29, 2026
011d21a
Add a CAN FD driver for the ESP32-C5 (#6280)
okhsunrog Sep 29, 2026
0e9fe8d
devtool: misc improvements (#6400)
playfulFence Sep 29, 2026
6962e00
CPU retention and powerdown in light sleep (#6288)
bugadani Sep 30, 2026
c4e5ba7
H4: Part 2 - USB Serial/JTAG, dedicated GPIO, metadata-backed PMP gra…
playfulFence Sep 30, 2026
44c7e7e
Fix ESP32-S31 deep sleep (#6372)
bugadani Oct 1, 2026
8e2f402
Options to reduce the size of WiFi enabled firmware (#6418)
bjoernQ Oct 1, 2026
a9acf19
HIL(radio_basic): Allow more time for semihosting to print the full p…
JurajSadel Oct 1, 2026
f415ade
lcd_cam: enable camera clock before applying configuration (#6404)
Vivi26499 Oct 1, 2026
ffdcbc3
TWAI: release an overrun receive FIFO entry in blocking `receive` (#6…
damischa1 Oct 2, 2026
893b803
Fix BLE and 802.15.4 coex (#6428)
ivmarkov Oct 2, 2026
6ea2c46
fix(esp-radio): `trouble-host` 0.8 examples, stricter HCI reads (#6444)
RomainMuller Oct 2, 2026
3a18496
fix(esp-radio): HCI transport packet size bugs (#6448)
RomainMuller Oct 2, 2026
24cf566
TWAI: disable the fired interrupts before waking the tasks (#6421)
damischa1 Oct 2, 2026
972e710
Add TRNG for P4 and S31 (#6443)
JurajSadel Oct 2, 2026
0508a52
TWAI: count bus errors, arbitration losses and lost frames (#6416)
damischa1 Oct 2, 2026
76a0e71
fix(esp-config): resolve clap parsing panic on --chip argument (#6426…
jorgeandrecastro Oct 2, 2026
1cc2550
flash: invalidate MMU entries via the MMU_ITEM_CONTENT reset value (#…
playfulFence Oct 5, 2026
51a0ce6
fix(timg): apply the MWDT config-update strobe on all chips that have…
m8nky Oct 5, 2026
ccfe82c
esp-hal: panic on failed RTC_SLOW_CLK calibration (#6463)
JurajSadel Oct 6, 2026
1df9dfc
esp-radio: Move AccessPointInfo from wifi::ap into wifi::scan (#6462)
JurajSadel Oct 7, 2026
543e3ba
H4: Part 3 - UART, SPI, DMA (#6317)
playfulFence Oct 7, 2026
a6872a9
Migrate esp-storage consumer(s) to esp_hal::Flash (#6447)
playfulFence Oct 7, 2026
ced491a
sha: derive HIL algorithm capability cfgs from metadata (#6464)
Vivi26499 Oct 7, 2026
5309fa7
esp-storage: Deprecation notice (#6314)
JurajSadel Oct 7, 2026
f686cf3
Reset pre-filled data when re-using a DmaTxStreamBuf (#6468)
bjoernQ Oct 7, 2026
6c591db
Ensure compile_tests always tests new chips, even unreleased ones (#6…
MabezDev Oct 8, 2026
d231cf2
fix(esp32c6): keep BLE timer clock in light sleep (#6471)
JurajSadel Oct 8, 2026
f306379
esp-hal: Use naked functions for CPU retention save/restore (#6446)
JurajSadel Oct 8, 2026
0592507
lcd_cam: add async Camera DMA EOF waits (#6424)
Vivi26499 Oct 8, 2026
5c574d8
xtask: Compare forwards to dependency features (#6474)
JurajSadel Oct 8, 2026
d35c4ee
Only include relevant radio static libs (#6473)
bjoernQ Oct 8, 2026
f8a56b5
Part 4: H4 - stable I2C, I2S (#6326)
playfulFence Oct 8, 2026
4ee0a02
Align wifi clock enablement with ESP-IDF (#6467)
bjoernQ Oct 9, 2026
e0d357f
Fix nightly clippy lints (#6482)
JurajSadel Oct 9, 2026
f8ad3c3
SHA: add SM3 support (#6478)
Vivi26499 Oct 9, 2026
bdcc3b0
Binary size regression nightly job (#6469)
playfulFence Oct 9, 2026
0fe14d7
xtask: List newly stable API in the release plan (#6310)
JurajSadel Oct 12, 2026
46c773c
Add TRNG for C5 and C61 (#6387)
JurajSadel Oct 12, 2026
1791af3
fix failing /trust or /revoke in case comment contains more text (#6495)
playfulFence Oct 12, 2026
01a5beb
Add AGENTS.md and documentation/PULL-REQUESTS.md (#6485)
MabezDev Oct 12, 2026
fd40b74
esp32: fix torn LACT counter read (#6488)
dossalab Oct 12, 2026
c1bf0c7
fix(mcpwm): apply the group clock prescaler through PCR on ESP32-C6/H…
r3wretrhy Oct 12, 2026
0f0ebd9
CI: accept 503 in link-check (#6498)
JurajSadel Oct 13, 2026
5b83d5c
Improve CI slash-commands flexibility (#6501)
playfulFence Oct 14, 2026
f11de2f
esp-radio: forward NPL coexistence status callbacks (#6486)
ku1ik Oct 14, 2026
352ccbb
xtask: skip HIL selectors a chip lacks (#6502)
JurajSadel Oct 15, 2026
8a70d09
Fix Xtensa startup code depending on global_asm! order (#6497)
MabezDev Oct 15, 2026
9899f3a
fix(gpio): release peripheral routing when configuring analog pad (#6…
JurajSadel Oct 15, 2026
a17a218
esp-radio: Default to world safe mode with 802.11d (#6494)
JurajSadel Oct 15, 2026
2836d02
lcd_cam: add DPI VSYNC status and blocking/async waits (#6391)
Vivi26499 Oct 15, 2026
3d4632e
TWAI: change the bitrate and mode of a stopped driver (#6417)
damischa1 Oct 15, 2026
30480dd
xtask: bump yanked zip crate (#6511)
JurajSadel Oct 16, 2026
8ef1b67
ADC: Introduce more metadata (#6508)
JurajSadel Oct 16, 2026
442b09e
xtask: make doc builds more incremental (#6504)
playfulFence Oct 19, 2026
a980feb
xtask: Lookup for `Packages` instead of hardcoding them (#6509)
playfulFence Oct 19, 2026
131a2b9
PSRAM: fix ESP32 size detection (#6487)
latesr Oct 19, 2026
9b9c329
Add an BLE example bypassing any BLE stack (#6513)
bjoernQ Oct 19, 2026
c21d574
H4: Add basic RADIO support (#6500)
playfulFence Oct 19, 2026
2953324
fix(adc): return errors instead of panicking (#6503)
naoNao89 Oct 20, 2026
96abac5
esp-radio: do not restart the access point for an unchanged configura…
eimink Oct 20, 2026
5531334
Set the ESP32-P4 flash MMU entry count to 1024 (#6529)
latesr Oct 20, 2026
d22a16e
tsens: describe clock sources in the clock tree (#6477)
Vivi26499 Oct 20, 2026
51bf56f
Enable TIMG TIMER1 on S31 (#6528)
bugadani Oct 20, 2026
5861a86
Use maximum reclaimed heap in examples (#6533)
bugadani Oct 20, 2026
fea39c5
esp-radio(docs): clarify AP channel and scan docs (#6526)
JurajSadel Oct 20, 2026
abee189
Support some placeholders in example desc (#6537)
bjoernQ Oct 20, 2026
89934dc
More details on peripheral support/stabilization status (#6530)
playfulFence Oct 20, 2026
c20367b
ci: update xtensa toolchain to 1.99.0.0 (#6170)
MabezDev Oct 20, 2026
e9c3001
Forbid comments for the reviewer (#6541)
bugadani Oct 20, 2026
08cad71
Simplify the ram macro section table (#6539)
bugadani Oct 20, 2026
286a7e8
H4 sleep (#6532)
bugadani Oct 21, 2026
7543376
Extract the branch predictor into a shared driver (#6556)
bugadani Oct 21, 2026
24597c9
Remove flash-unlock (#6540)
bjoernQ Oct 21, 2026
ababa7f
Don't show unsupported features in docs (#6522)
bjoernQ Oct 21, 2026
aa2fc36
ADC: Model digital function clock in clock tree (#6516)
JurajSadel Oct 21, 2026
b469654
Dont re-run CI on label changes (#6505)
SergioGasquez Oct 21, 2026
60935fb
ESP32-S31: let core 1 write to PSRAM (#6544)
latesr Oct 21, 2026
686b436
ESP32-S31: default the MPLL to 400 MHz and PSRAM to 200 MHz (#6543)
latesr Oct 21, 2026
eb8b609
Fix shift bug in regi2c read (#6564)
bugadani Oct 22, 2026
3a0ce84
Avoid overwriting OTA0 if it's current (and otadata is reset) (#6567)
bjoernQ Oct 22, 2026
69af2f7
Link RTC sections at their run address (#6561)
bugadani Oct 22, 2026
91bbb0d
Hold the other core in a RAM loop during flash operations. (#6554)
bugadani Oct 22, 2026
2b11627
esp-bootloader-esp-idf: find the booted partition from the last DROM …
latesr Oct 22, 2026
0c810b0
sdmmc: fix clock calculation and initialization order (#6570)
Vivi26499 Oct 22, 2026
4575474
Make agents set up logging in time (#6571)
bugadani Oct 22, 2026
ea74cd8
Model PARL_IO bus width and TX chip-select in metadata (#6555)
bugadani Oct 22, 2026
0cf41de
BLE sleep: allow using RC oscillators (#6562)
playfulFence Oct 22, 2026
ad27a8d
Fix formatting (#6578)
bugadani Oct 23, 2026
f2560e7
Simplify generated clock tree code (#6576)
bugadani Oct 23, 2026
4509a94
Fix off-by-one in the PARL_IO clock divider (#6581)
bugadani Oct 23, 2026
1664347
Support Wi-Fi during light sleep on ESP32 (#6579)
JurajSadel Oct 23, 2026
741e2d3
Correctly cancel FIFO SPI operations (#6575)
bjoernQ Oct 23, 2026
092ede9
RSA: run work queue operations in constant time by default (#6574)
latesr Oct 23, 2026
bb08b0a
Use 0 as the free owner of multi-core mutexes (#6582)
bugadani Oct 23, 2026
fad4e44
ECC: add SM2 curve support (#6559)
Vivi26499 Oct 23, 2026
d9876e8
ESP32-S3: fix Debug Assist CPU1 PC reads (#6594)
Vivi26499 Oct 26, 2026
6af49af
Binary size regression workflow update (#6583)
playfulFence Oct 26, 2026
4f79374
Fix misspelled public API identifiers in esp-hal and esp-radio. (#6597)
bugadani Oct 26, 2026
c4fbede
Fix spelling in comments, docs, and metadata output (#6596)
bugadani Oct 26, 2026
aaacbd5
RNG: use renamed register (#6524)
JurajSadel Oct 26, 2026
635a108
Count the IEEE 802.15.4 radio as a TRNG entropy source (#6598)
snabb Oct 27, 2026
2ec45a2
Ensure a task is only running on one core at a time (#6599)
bugadani Oct 27, 2026
d53f435
Add basic SDMMC tests for P4 (#6566)
bugadani Oct 27, 2026
df66e5d
Reclaim the 64 KiB of boot RAM on the ESP32-S31 (#6602)
latesr Oct 27, 2026
33f9b0f
Add step setting up Python (#6607)
playfulFence Oct 27, 2026
5c0820c
ci: store API baselines in a GitHub release instead of artifacts (#6527)
JurajSadel Oct 27, 2026
b562c20
Merge esp-rs/esp-hal main into feature/ble-host-npl-upstream
collapsinghierarchy Oct 29, 2026
6fbb159
esp-radio: Keep the public npl::send_hci that esp-nimble-host calls
collapsinghierarchy Oct 29, 2026
321c55d
esp-radio: Say why npl::send_hci stays public in the fork
collapsinghierarchy Oct 30, 2026
87a9b4e
esp-radio: Leave os_mempool to esp-nimble-host under ble-host-npl
collapsinghierarchy Oct 30, 2026
e7b8b36
Revert "esp-radio: Leave os_mempool to esp-nimble-host under ble-host…
collapsinghierarchy Oct 30, 2026
135a52a
esp-radio: Clear the free-list link of a block os_memblock_get hands out
collapsinghierarchy Oct 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ xtask = "run --package esp-devtool --"
update-metadata = "run --quiet --manifest-path ./esp-metadata/Cargo.toml -- generate"
xclean = "xtask clean"
xdoc = "run --package esp-devtool --features=deploy-docs,preview-docs --"
xfmt = "xtask fmt-packages"
qa = "xtask run example qa-test"
xfmt = "xtask fmt"
qa = "xtask run qa"
xcheck = "run --quiet --package esp-devtool --features=semver-checks --"
xrelease = "run --package esp-devtool --features=release -- release"
xrel-check = "run --package esp-devtool --features=rel-check -- rel-check"
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To help us review it efficiently, please ensure you've gone through the followin

### Submission Checklist 📝
- [ ] I have updated existing examples or added new ones (if applicable).
- [ ] I have used `cargo xtask fmt-packages` command to ensure that all changed code is formatted correctly.
- [ ] I have used `cargo xtask fmt` command to ensure that all changed code is formatted correctly.
- [ ] I have added changelog entries and/or migration guide notes in the sections below, or I will ask a maintainer to add the `skip-changelog` or `manual-changelog` label as appropriate.
- [ ] My changes are in accordance to the [esp-rs developer guidelines](https://github.com/esp-rs/esp-hal/blob/main/documentation/DEVELOPER-GUIDELINES.md)

Expand Down
137 changes: 0 additions & 137 deletions .github/actions/build-tests/action.yml

This file was deleted.

84 changes: 84 additions & 0 deletions .github/actions/measure-binary-size/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Measure binary size
description: >-
Build examples for one chip at two commits and record the size of every
section that ends up in the image, for `.github/scripts/binary-size.js` to
compare. Uploads the sizes as the `sizes-<soc>` artifact.

inputs:
soc:
description: Chip to build for, as in chips.json.
required: true
examples:
description: Space-separated examples to build.
required: true
package:
description: Optional package the examples belong to (e.g. "qa").
required: false
default: ""
base:
description: Commit to compare against.
required: true
head:
description: Commit to measure.
required: true
between:
description: >-
Space-separated commits between base and head. Examples that grew past
the `MAX_*` limits are also built at each of them.
required: false
default: ""
has-cached:
description: >-
When "true", download the `sizes-cached` artifact produced by `prepare`
so commits already stored in `app-metrics` are not rebuilt.
required: false
default: "false"

runs:
using: composite
steps:
- name: Resolve Rust target
id: target
shell: bash
env:
SOC: ${{ inputs.soc }}
run: |
ENTRY=$(jq -c --arg s "$SOC" '.[] | select(.soc == $s)' .github/chips.json)
echo "rust-target=$(echo "$ENTRY" | jq -r '."rust-target"')" >> "$GITHUB_OUTPUT"
echo "arch=$(echo "$ENTRY" | jq -r '.arch')" >> "$GITHUB_OUTPUT"

- uses: ./.github/actions/setup-toolchains
with:
xtensa: ${{ steps.target.outputs.arch == 'xtensa' }}
xtensa-buildtargets: ${{ inputs.soc }}
xtensa-default: "true"
riscv: ${{ steps.target.outputs.arch == 'riscv' }}
riscv-targets: ${{ steps.target.outputs.rust-target }}

- if: inputs.has-cached == 'true'
uses: actions/download-artifact@v4
continue-on-error: true
with:
name: sizes-cached
path: sizes

- name: Measure ${{ inputs.soc }}
uses: actions/github-script@v8
env:
SOC: ${{ inputs.soc }}
TARGET: ${{ steps.target.outputs.rust-target }}
EXAMPLES: ${{ inputs.examples }}
PACKAGE: ${{ inputs.package }}
BASE: ${{ inputs.base }}
HEAD: ${{ inputs.head }}
BETWEEN: ${{ inputs.between }}
with:
script: |
const { measure } = require('./.github/scripts/binary-size.js');
await measure({ core, exec });

- uses: actions/upload-artifact@v6
with:
name: sizes-${{ inputs.soc }}
path: sizes/${{ inputs.soc }}.txt
if-no-files-found: ignore
21 changes: 19 additions & 2 deletions .github/actions/setup-nightly/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ description: Install the repo-wide pinned Rust nightly toolchain, with an option

inputs:
targets:
description: Comma-separated list of target triples to install.
description: >-
Comma-separated list of target triples to install, or "all" for every RISC-V
triple in chips.json.
required: false
default: ""
components:
Expand All @@ -24,10 +26,25 @@ runs:
shell: bash
run: echo "nightly=nightly" >> "$GITHUB_OUTPUT"

- id: targets
shell: bash
run: |
if [ '${{ inputs.targets }}' = all ]; then
# Order-preserving dedupe, so the triple list reads the same as
# chips.json rather than being alphabetised.
VALUE=$(jq -r '
[.[] | select(.arch == "riscv") | ."rust-target"]
| reduce .[] as $t ([]; if index($t) then . else . + [$t] end)
| join(",")' .github/chips.json)
else
VALUE='${{ inputs.targets }}'
fi
echo "value=$VALUE" >> "$GITHUB_OUTPUT"

- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ steps.version.outputs.nightly }}
targets: ${{ inputs.targets }}
targets: ${{ steps.targets.outputs.value }}
components: ${{ inputs.components }}

# xtask docs/doc-tests call `cargo +nightly`; make that name resolve to the pin.
Expand Down
Loading
Loading