Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `rom_temp_to_power' #2

Open
dwery opened this issue Nov 14, 2021 · 1 comment
Open

undefined reference to `rom_temp_to_power' #2

dwery opened this issue Nov 14, 2021 · 1 comment

Comments

@dwery
Copy link

dwery commented Nov 14, 2021

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 to rom_temp_to_power'

@Jason2866
Copy link

Jason2866 commented Feb 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants