Adding ESP32/Xtensa Silicon and Custom Boards To PX4
summary
Adds Xtensa ESP32 support to PX4 by copying an STM32 V4 board directory, switching the architecture and target, and iterating on compile errors via menuconfig vs boardconfig changes until peripherals build. Implements PX4-to-NuttX translation layers (GPIO, SPI, PWM), uses the NuttX LEDC lower‑half then reimplements the driver, and implements HRT with the three required functions: init, interrupt handler, latency update. Result is a functioning ESP32 PX4 build used for payload control (Wi‑Fi via the Ethernet stack), not for flight control.
AI-written summary · about
