2253 Commits

Author SHA1 Message Date
Dániel Buga
e82328c2cf
Ignore zed config (#3681) 2025-06-23 14:17:50 +00:00
Dániel Buga
9507fa38b4
Move smaller GPIO properties to metadata (#3657)
* Move other GPIO properties

* Redo USB pins as pin capability

* Deduplicate interrupt status enum

* Remove unnecessary interrupt enable bits on S2

* Update S2 PAC and remove manual io_mux hackery

* Generate io_mux function from metadata
2025-06-23 12:45:21 +00:00
Dániel Buga
29ac33f2a0
Disallow log and defmt at the same time (#3675) 2025-06-23 12:44:21 +00:00
Gabriel Hansson
b21ae76176
refactor: consolidate esp-riscv-rt symbols into hal-defaults.x (#3671)
* refactor(esp-hal/ld): consolidate riscv startup and interrupt handler symbols to `hal-defaults.x`

* refactor(esp-hal/ld): consolidate riscv `__global_pointer$` to `hal-defaults.x`

* refactor(esp-hal/ld): consolidate riscv `_start_trap` to `hal-defaults.x`

* refactor(esp-hal/ld): consolidate riscv `_mp_hook` to `hal-defaults.x`

* refactor(esp-hal/ld): consolidate riscv `_setup_interrupts` to `hal-defaults.x`

* refactor(esp-hal/ld): consolidate riscv `__post_init` to `hal-defaults.x`

* chore(esp-hal/ld): remove duplicate interrupt0 alias definition in esp32c6.x
2025-06-23 11:08:11 +00:00
Gabriel Hansson
a3ebab6b5b
chore(esp-hal/ld): remove riscv debug.x (#3672) 2025-06-23 10:23:25 +00:00
Dániel Buga
581eec517e
Do not enable static_cell/nightly (#3676) 2025-06-23 09:43:11 +00:00
Scott Mabin
c19f5fd159
Fix docs.rs builds (#3665)
* fix docs.rs builds

* add workflow to check docs-rs builds before release
2025-06-20 08:04:17 +00:00
Dániel Buga
b98631570f
Move GPIO pin properties to metadata (#3656)
* Reorganize esp-metadata

* Move GPIO properties to metadata

* Fix AF enum variants, remove need for paste for them
2025-06-20 07:45:49 +00:00
Björn Quentin
4be232dea4
Docs landing page (#3654)
* Add resources to docs landing page

* Tweak widths

* Fix scrollbar

* Address review comments

* Adjust margin

* Next suggestion
2025-06-19 11:07:46 +00:00
Dániel Buga
9f71e08940
Remove NUM_PINS (#3658)
* Remove the need for NUM_PINS

* Update semver baseline
2025-06-19 11:07:05 +00:00
Juraj Sadel
228d1384c1
fix nightly ci (#3662) 2025-06-19 08:43:50 +00:00
Kirill Mikhailov
6be98e5a00
Adjust links in the monorepo (#3655) 2025-06-18 10:28:37 +00:00
Dániel Buga
75ac7ead62
Delete esp-build (#3645)
* Delete esp-build

* Delete redundant clone
2025-06-18 09:33:16 +00:00
Dániel Buga
772a64a90a
Allow renaming esp-hal (#3653) 2025-06-18 09:29:03 +00:00
Björn Quentin
f5938579a7
Adjust links (#3652) 2025-06-18 07:50:10 +00:00
Dániel Buga
2438d03b21
Simplify generated code to save on build time, yeet a few dependencies (#3643)
* Reduce use of iter::chain

* Cache all symbols

* Trim xtensa-lx-rt deps

* Remove unused dep

* Replace chrono with jiff

* Yeet minijinja

* Save a bit on toml_edit

* Disable some default features

* Disable regex log filters

* Reduce xtensa-lx-rt build script

* Remove unnecessary dependencies

* Remove darling

* Update embedded-test

* lol

* Clean up

* Only validate loaded config once

* fmt

* Changelog
2025-06-17 20:35:00 +00:00
Dániel Buga
150b57f03f
Compare functions by their address (#3650)
* Compare functions by their address

* Remove traits
2025-06-17 16:43:51 +00:00
Dániel Buga
6e74add2a0
Deduplicate ESP32Reset (#3651) 2025-06-17 16:43:39 +00:00
Benedikt
0f343a26e8
RMT: Use MemSize newtype (#3648)
memsize variables sometimes means memory size in blocks, and sometimes
in number of codes. Having a dedicated type helps to make the meaning
obvious and replaces explicit conversion by simple method calls, also
avoiding many integer casts and explicit accesses to the rmt.channel_ram_size
property.

There is no user-visible change, this is only to ease development.
2025-06-17 13:35:45 +00:00
Björn Quentin
b87cd34456
Define configs in YAML files (#3504)
* Define configs in YAML files

* Fix error message string

* Cleanup

* Fix rebase

* Experiment: Value is String

* More i64 -> i128

* More i64 -> i128

* yml -> yaml

* Clippy

* Expect

* Test more

* Explicit `trunc`

* fmt

* Typo

* `is_tooling` -> `ignore_feature_gates`

* Fix

* Briefly explain the config format

* Evaluate conditions in order, first match wins

* Address review

* Move evalexpr I128 support into separate file
2025-06-17 08:13:15 +00:00
Dániel Buga
891a5a4a8c
Move some more peripherals to metadata (#3633)
* Remove gpio bank 1 symbol

* Remove intr status width symbols

* Allow virtual periphs, redo ADC/DAC
2025-06-17 08:10:12 +00:00
Dániel Buga
e05d588f72
Save time on default xtask build (#3647) 2025-06-16 15:02:29 +00:00
Dániel Buga
f71127446b
Remove proc-macros-error2 (#3646) 2025-06-16 15:00:17 +00:00
Dániel Buga
8cf0fc7153
Test -Zstack-protector (#3636)
* Test -Zstack-protector

* Pass config as inline TOML to cargo

* Try to fix failing test
2025-06-16 12:05:21 +00:00
Björn Quentin
57dede24e1
Fix S3-PSRAM mapping with later bootloaders (#3637)
* Fix S3-PSRAM mapping with later bootloaders

* CHANGELOG.md

* Panic if `cache_dbus_mmu_set` fails
2025-06-16 12:00:37 +00:00
Dániel Buga
0579805d12
Add #[enable_doc_switch] (#3630) 2025-06-16 12:00:16 +00:00
Dániel Buga
c29c436be5
Prefix peripheral cfg symbols with chip_has_* (#3628)
* Prefix peri cfg with `soc_has_`

* Clean up ETM
2025-06-16 08:13:28 +00:00
Dániel Buga
3e6b85bf30
Update i2c/spi instance info (#3627)
* Add instances to drivers

* Move AnyI2c

* Move AnySpi and DataMode

* Generate new semver baseline
2025-06-13 13:56:52 +00:00
Björn Quentin
45248100f4
Simple ota example (#3629)
* Fix esp-bootloader-esp-idf

* Use OTA enabled partition table for examples

* Add simple OTA example

* CHANGELOG.md

* Create a dummy `ota_image` in CI

* mkdir

* Remove unnecessary details from CHANGELOG

* Make non-Window's users life easier

* Test ROM function in esp-bootloader-esp-idf

* Fix
2025-06-13 13:42:09 +00:00
Dániel Buga
c15fc6773e
Esp32: ensure wifi data comes before bss (#3635)
* Place wifi data before bss

* Minor fixes

* Changelog

* Fix the stack guard's address
2025-06-13 08:28:29 +00:00
Dániel Buga
793b01beaa
Move timer instance config into driver metadata (#3626)
* Remove timg_timer1 symbol

* Ensure instances exist

* Rename timers to timergroup

* Remove unnecessary cfg
2025-06-12 14:49:04 +00:00
Gabriel Hansson
1b5a85e7d6
chore: remove unused esp-build dependency listings (#3625) 2025-06-12 13:42:26 +00:00
Dániel Buga
db3eb3da95
Remove hand-defined radio symbols (#3632) 2025-06-12 13:04:36 +00:00
Dániel Buga
f22ddb4a87
More i2c metadata & some additional cleanup (#3620)
* Define more i2c metadata

* Remove I2C1 AHB base address

* Encode address in metadata

* Extract timeout value calculation
2025-06-11 09:47:42 +00:00
Björn Quentin
3b181a342d
Always show example description before compiling it (#3622) 2025-06-11 08:05:16 +00:00
Dániel Buga
61aa33b259
Inline width variables (#3624) 2025-06-11 07:59:22 +00:00
Dániel Buga
f394af8ca2
Peri support corrections (#3621) 2025-06-10 13:58:19 +00:00
Dániel Buga
48a5927767
Generate peripheral support table (#3617) 2025-06-10 13:13:24 +00:00
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