espressif / esp-phy-lib

Precompiled libraries for low-level RF functions in Espressif chips
Apache License 2.0
7 stars 6 forks source link

undefined reference to `rom_temp_to_power' #2

Open dwery opened 2 years ago

dwery commented 2 years ago

while building the esp-homekit-sdk demo smart_outlet wit an esp32c3 rev 2

esp-idf/components/esp_phy/lib/esp32c3/libphy.a(phy_chip_v7.o): in function phy_get_romfunc_addr': (.text.phy_get_romfunc_addr+0x1a): undefined reference torom_temp_to_power'

Jason2866 commented 2 years ago

esp32c3 rev 2 is not supported anymore from espressif. Support is only from rev 3. You can uncomment this line https://github.com/espressif/esp-idf/blob/release/v4.4/components/esp_rom/esp32c3/ld/esp32c3.rom.ld#L1899 and linking will work