Closed jitendraBLE closed 2 years ago
For any such build errors, the following steps generally help
git submodule update --init --recursive
in esp-idf../install.sh
and . ./export.sh
in esp-idfrm -rf build/ sdkconfig sdkconfig.old
idf.py set-target esp32c3
Thanks Piyush for your quick response.
Does subscribe_publish example in esp-aws-iot repository works for ESP32C3 target?
Thanks Piyush. Issues now fixed by following your above comment.
Hi All
I have ESP32C3 chip and want to build subscribe_publish example project for ESP32C3 target. When I set target esp32c3 using "idf.py set-target esp32c3" command and build the project I got following error:
riscv32-esp-elf-gcc: error: unrecognized command line option '-mlongcalls'
I read the espressif document which says esp-aws-iot sdk project is available for ESP32C3 target. Following link is for reference but it redirect to me on same project which I already tried to build for esp32c3 and it's gave above build error.
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/libraries-and-frameworks/cloud-frameworks.html
Any help will be appreciated. Thanks