This is OpenSensor Engineering's independently maintained fork of esp-rs/esp-wifi-sys. The canonical repository is opensensor/esp-wifi-sys.
AI-assisted and AI-generated contributions are welcome. See Contributing for review and validation expectations. Submit issues and pull requests here.
The OpenSensor ESP repository index links the related driver, stack, register definitions and reverse-engineering tools. Original history, credits and licenses are retained.
C3/S3 now build the printf compatibility library from vendored, licensed C source.
Their remaining archives and bindings preserve the published 0.2.0 packages
used by the OpenSensor driver. Other chip packages retain their upstream contents.
See source printf, provenance and validation for the
build requirements and exact limits; the driver repository records device results.
The original documentation follows; its badges, release links and project status refer to upstream unless explicitly identified as OpenSensor results.
This repository hosts the wireless-driver's binaries and low-level bindings.
If you are looking for esp-wifi see esp-radio in esp-hal
The headers and libraries are prepared in esp-wireless-drivers-3rdparty.
Depending on the lld version used by the toolchain you might see linker errors like this after copying the libs:
rust-lld: error: relocation refers to a symbol in a discarded section: .L0
>>> defined in /Users/espressif/action-runner/esp-rs/_work/esp-hal/esp-hal/target/riscv32imac-unknown-none-elf/debug/build/esp-wifi-sys-esp32c61-e592915ee1a41dea/out/libphy.a(phy_api.o)
>>> referenced by phy_api.o:(.eh_frame+0x12d4) in archive /Users/espressif/action-runner/esp-rs/_work/esp-hal/esp-hal/target/riscv32imac-unknown-none-elf/debug/build/esp-wifi-sys-esp32c61-e592915ee1a41dea/out/libphy.a
You can strip the .eh_frame segment from these binaries like this, to make it work:
riscv32-esp-elf-objcopy --remove-section=.eh_frame esp-wifi-sys-esp32c61/libs/libphy.a
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.