Hi,
I tried to follow the steps for setting up the esp32-s2 toolchain for the esp32-s2-wroom module however it doesn't really work.
I'm following those steps:
https://docs.espressif.com/projects/esp ... -configure
$ cd /Users/markus/devel/esp32/esp-idf/examples/get-started/blink
$ idf.py set-target esp32s2
$ idf.py menuconfig
sdkconfig shows up:
CONFIG_IDF_CMAKE=y
CONFIG_IDF_TARGET_ARCH_XTENSA=y
CONFIG_IDF_TARGET="esp32s2"
CONFIG_IDF_TARGET_ESP32S2=y
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0002
....
$ make
make
Python requirements from /Users/markus/devel/esp32/esp-idf/requirements.txt are satisfied.
GENCONFIG
Loading defaults file /Users/markus/devel/esp32/esp-idf/examples/get-started/blink/sdkconfig.defaults...
App "blink" version: v4.3-dev-1901-g178b122c1
Python requirements from /Users/markus/devel/esp32/esp-idf/requirements.txt are satisfied.
Building partitions from /Users/markus/devel/esp32/esp-idf/components/partition_table/partitions_singleapp.csv...
CC build/bootloader/esp_hw_support/compare_set.o
/Users/markus/devel/esp32/esp-idf/components/esp_hw_support/include/soc/compare_set.h: Assembler messages:
/Users/markus/devel/esp32/esp-idf/components/esp_hw_support/include/soc/compare_set.h:33: Error: invalid register 'SCOMPARE1' for 'wsr' instruction
/Users/markus/devel/esp32/esp-idf/components/esp_hw_support/include/soc/compare_set.h:34: Error: unknown opcode or format name 's32c1i'
make[2]: *** [compare_set.o] Error 1
make[1]: *** [component-esp_hw_support-build] Error 2
make: *** [/Users/markus/devel/esp32/esp-idf/examples/get-started/blink/build/bootloader/bootloader.bin] Error 2
Any idea what I can do next?
ESP32-S2 build problems
Re: ESP32-S2 build problems
Hi Markus,
The ESP-IDF "GNU Make" build system doesn't support ESP32-S2, unfortunately. Try using "idf.py build" to build, instead of "make".
(It is possible to run CMake with arguments to then run "make" as the build step for ESP32-S2, but "idf.py build" takes care of this part automatically.)
Angus
The ESP-IDF "GNU Make" build system doesn't support ESP32-S2, unfortunately. Try using "idf.py build" to build, instead of "make".
(It is possible to run CMake with arguments to then run "make" as the build step for ESP32-S2, but "idf.py build" takes care of this part automatically.)
Angus
Re: ESP32-S2 build problems
I just figured that out 10 minutes ago .. yes it needs idf.py build it fixed the problem
thanks for your quick reply!
thanks for your quick reply!
Who is online
Users browsing this forum: Google [Bot], Sang_Huynh and 200 guests