mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-15 05:13:08 +03:00
regi2c (the analog i2c master) is not implemented on FPGA: the REGI2C_RTC_BUSY poll in the regi2c helpers never completes, so the 2nd-stage bootloader hangs until the WDT resets the chip (observed on the ESP32-S31 FPGA, bitstream v5.0.0-most-ip). Stub out the regi2c_impl_* macros in hal/regi2c_impl.h when HAL_CONFIG(ENV_FPGA) is set, so every regi2c call site is skipped on FPGA for all current and future targets.