velxio/docs/wiki
David Montero ac3a8a8e4c fix(esp32): core arduino-esp32 headers never resolve to user libs
A user library that ships a core-named header (e.g. WiFiEspAT/src/WiFi.h)
could shadow the arduino-esp32 core during ESP-IDF library resolution.
WiFiEspAT shadowing WiFi.h pulled EspAtDrv.cpp into the build, whose
const char OK[]/STATUS[] collide with ESP-IDF's enum STATUS in
rom/ets_sys.h, breaking every ESP32 sketch that #include <WiFi.h>.

_resolve_library_components now:
- skips a header entirely when the arduino-esp32 core provides it
  (computed set from cores/ + libraries/, cached), so a user lib can
  never shadow WiFi.h/Wire.h/SPI.h/WebServer.h/...
- skips a resolved user lib whose library.properties architectures=
  excludes esp32/*.

Regression: test/backend/unit/test_espidf_core_first.py

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 05:11:36 +02:00
..
circuit-emulation-adc-aliasing.md
circuit-emulation-api.md
circuit-emulation-appendix.md
circuit-emulation-architecture.md
circuit-emulation-avr-bridge.md
circuit-emulation-components.md
circuit-emulation-esp32-qemu.md
circuit-emulation-gotchas.md
circuit-emulation-mna-solver.md
circuit-emulation-ngspice.md
circuit-emulation-overview.md
circuit-emulation-performance.md
circuit-emulation-tests.md
circuit-emulation-velxio-integration.md
circuit-emulation.md
component-interaction.md
component-metadata-generator.md
custom-chips-api-reference.md
custom-chips-build-and-test.md
custom-chips-esp32-backend-runtime.md
custom-chips-examples.md
docker-infrastructure.md
electrical-simulation-user-guide.md
epaper-emulation.md docs(wiki): update ePaper emulation guide for all controllers + decoder internals 2026-06-04 23:53:59 -03:00
esp32-cache-disable-runtime-crash.md
esp32-external-library-compilation.md fix(esp32): core arduino-esp32 headers never resolve to user libs 2026-06-05 05:11:36 +02:00
esp32-gpio-sensor-simulation.md
esp32-i2c-slave-simulation.md
esp32-spi-display-performance.md
esp32-wifi-emulation-fixes.md
micropython-esp32-qemu-fixes.md
picow-cyw43-emulation.md