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
Build micropython for ESP32 ports & ESP-IDF v5.06. failed with static-assert #14350
Comments
Hi, i have the same Error with ESP-IDF, branch v5.2 and Micropython v1.22-release branch I changed it to WIFI_AUTH_MAX == 13 and this specific error disappeared. But i get a lot of other errors: Did you get it to build? If yes which ESP-IDF version did you use? Any suggestions are appreciated. |
After checking out a different idf-version, did you update the submodules in the esp-idf directory and did you re-run install.sh? |
I made a complete clean install of esp-idf and micropython because I hade so many errors. I used the following versions: $ git clone -b v1.22-release https://github.com/micropython/micropython.git This fails with the above mentioned errors. is there an esp-idf version & micropython version that works currently? |
I got it working with the esp-idf v 5.2 and micropython master branch. However with the latest esp-idf master branch I got similar errors to #13197 |
Hi! Fresh build now: Executing action: all (aliases: build)
Running cmake in directory /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DMICROPY_BOARD=ESP32_GENERIC -DMICROPY_BOARD_DIR=/[...]/job/ESP/micropython/src/micropython/ports/esp32/boards/ESP32_GENERIC -DCCACHE_ENABLE=0 /[...]/job/ESP/micropython/src/micropython/ports/esp32"...
-- IDF_TARGET not set, using default target: esp32
-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/share/esp/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/share/esp/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/share/esp/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
Processing 2 dependencies:
[1/2] espressif/mdns (1.1.0)
[2/2] idf (5.0.6)
-- Project sdkconfig file /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/sdkconfig
Loading defaults file /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/sdkconfig.combined...
/[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/sdkconfig.combined:140 CONFIG_BT_NIMBLE_TASK_STACK_SIZE was replaced with CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: /usr/share/esp/espressif/python_env/idf5.0_py3.10_env/bin/python (found version "3.10.12") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "micropython" version: v1.22.2-dirty
-- Adding linker script /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/soc/esp32/ld/esp32.peripherals.ld
**********************************************************
Including User C Module(s) from file:
Current list DIR is: /[...]/job/ESP/micropython/src/micropython/py
**********************************************************
Found User C Module(s):
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__mdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main_esp32 mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /usr/share/esp/esp-idf-v5.0.6/components/app_trace /usr/share/esp/esp-idf-v5.0.6/components/app_update /usr/share/esp/esp-idf-v5.0.6/components/bootloader /usr/share/esp/esp-idf-v5.0.6/components/bootloader_support /usr/share/esp/esp-idf-v5.0.6/components/bt /usr/share/esp/esp-idf-v5.0.6/components/cmock /usr/share/esp/esp-idf-v5.0.6/components/console /usr/share/esp/esp-idf-v5.0.6/components/cxx /usr/share/esp/esp-idf-v5.0.6/components/driver /usr/share/esp/esp-idf-v5.0.6/components/efuse /usr/share/esp/esp-idf-v5.0.6/components/esp-tls /usr/share/esp/esp-idf-
v5.0.6/components/esp_adc /usr/share/esp/esp-idf-v5.0.6/components/esp_app_format /usr/share/esp/esp-idf-v5.0.6/components/esp_common /usr/share/esp/esp-idf-v5.0.6/components/esp_eth /usr/share/esp/esp-idf-v5.0.6/components/esp_event /usr/share/esp/esp-idf-v5.0.6/components/esp_gdbstub /usr/share/esp/esp-idf-v5.0.6/components/esp_hid /usr/share/esp/esp-idf-v5.0.6/components/esp_http_client /usr/share/esp/esp-idf-v5.0.6/components/esp_http_server /usr/share/esp/esp-idf-v5.0.6/components/esp_https_ota /usr/share/esp/esp-idf-v5.0.6/components/esp_https_server /usr/share/esp/esp-idf-v5.0.6/components/esp_hw_support /usr/share/esp/esp-idf-v5.0.6/components/esp_lcd /usr/share/esp/esp-idf-v5.0.6/components/esp_local_ctrl /usr/share/esp/esp-idf-v5.0.6/components/esp_netif /usr/share/esp/esp-idf-v5.0.6/components/esp_partition /usr/share/esp/esp-idf-v5.0.6/components/esp_phy /usr/share/esp/esp-idf-v5.0.6/components/esp_pm /usr/share/esp/esp-idf-v5.0.6/components/esp_psram /usr/share/esp/esp-idf-v5.0.6/components/esp_ringbuf /usr/share/esp/esp-idf-v5.0.6/components/esp_rom /usr/share/esp/esp-idf-v5.0.6/components/esp_system /usr/share/esp/esp-idf-v5.0.6/components/esp_timer /usr/share/esp/esp-idf-v5.0.6/components/esp_wifi /usr/share/esp/esp-idf-v5.0.6/components/espcoredump /[...]/job/ESP/micropython/src/micropython/ports/esp32/managed_components/espressif__mdns /usr/share/esp/esp-idf-v5.0.6/components/esptool_py /usr/share/esp/esp-idf-v5.0.6/components/fatfs /usr/share/esp/esp-idf-v5.0.6/components/freertos /usr/share/esp/esp-idf-v5.0.6/components/hal /usr/share/esp/esp-idf-v5.0.6/components/heap /usr/share/esp/esp-idf-v5.0.6/components/http_parser /usr/share/esp/esp-idf-v5.0.6/components/idf_test /usr/share/esp/esp-idf-v5.0.6/components/ieee802154 /usr/share/esp/esp-idf-v5.0.6/components/json /usr/share/esp/esp-idf-v5.0.6/components/log /usr/share/esp/esp-idf-v5.0.6/components/lwip /[...]/job/ESP/micropython/src/micropython/ports/esp32/main_esp32 /usr/share/esp/esp-idf-v5.0.6/components/mbedtls /usr/share/esp/esp-idf-v5.0.6/components/mqtt /usr/share/esp/esp-idf-v5.0.6/components/newlib /usr/share/esp/esp-idf-v5.0.6/components/nvs_flash /usr/share/esp/esp-idf-v5.0.6/components/openthread /usr/share/esp/esp-idf-v5.0.6/components/partition_table /usr/share/esp/esp-idf-v5.0.6/components/perfmon /usr/share/esp/esp-idf-v5.0.6/components/protobuf-c /usr/share/esp/esp-idf-v5.0.6/components/protocomm /usr/share/esp/esp-idf-v5.0.6/components/pthread /usr/share/esp/esp-idf-v5.0.6/components/sdmmc /usr/share/esp/esp-idf-v5.0.6/components/soc /usr/share/esp/esp-idf-v5.0.6/components/spi_flash /usr/share/esp/esp-idf-v5.0.6/components/spiffs /usr/share/esp/esp-idf-v5.0.6/components/tcp_transport /usr/share/esp/esp-idf-v5.0.6/components/ulp /usr/share/esp/esp-idf-v5.0.6/components/unity /usr/share/esp/esp-idf-v5.0.6/components/usb /usr/share/esp/esp-idf-v5.0.6/components/vfs /usr/share/esp/esp-idf-v5.0.6/components/wear_levelling /usr/share/esp/esp-idf-v5.0.6/components/wifi_provisioning /usr/share/esp/esp-idf-v5.0.6/components/wpa_supplicant /usr/share/esp/esp-idf-v5.0.6/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC
Running ninja in directory /[...]o/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC
Executing "ninja all"...
[3/1235] Generating ../../partition_table/partition-table.binPartition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1984K,
vfs,data,fat,0x200000,2M,
*******************************************************************************
[364/1235] Performing configure step for 'bootloader'-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/share/esp/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/share/esp/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/share/esp/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/sdkconfig
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/soc/esp32/ld/esp32.peripherals.ld
-- App "bootloader" version: v5.0.6
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /usr/share/esp/esp-idf-v5.0.6/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /usr/share/esp/esp-idf-v5.0.6/components/bootloader /usr/share/esp/esp-idf-v5.0.6/components/bootloader_support /usr/share/esp/esp-idf-v5.0.6/components/efuse /usr/share/esp/esp-idf-v5.0.6/components/esp_app_format /usr/share/esp/esp-idf-v5.0.6/components/esp_common /usr/share/esp/esp-idf-v5.0.6/components/esp_hw_support /usr/share/esp/esp-idf-v5.0.6/components/esp_rom /usr/share/esp/esp-idf-v5.0.6/components/esp_system /usr/share/esp/esp-idf-v5.0.6/components/esptool_py /usr/share/esp/esp-idf-v5.0.6/components/freertos /usr/share/esp/esp-idf-v5.0.6/components/hal /usr/share/esp/esp-idf-v5.0.6/components/log /usr/share/esp/esp-idf-v5.0.6/components/bootloader/subproject/main /usr/share/esp/esp-idf-v5.0.6/components/bootloader/subproject/components/micro-ecc /usr/share/esp/esp-idf-v5.0.6/components/newlib /usr/share/esp/esp-idf-v5.0.6/components/partition_table /usr/share/esp/esp-idf-v5.0.6/components/soc /usr/share/esp/esp-idf-v5.0.6/components/spi_flash /usr/share/esp/esp-idf-v5.0.6/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/bootloader
[101/102] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/bootloader/bootloader.bin
[102/102] cd /[...]/job/ESP/micropython/src/micropython/ports/esp32/bu...src/micropython/ports/esp32/build-ESP32_GENERIC/bootloader/bootloader.binBootloader binary size 0x5a20 bytes. 0x15e0 bytes (20%) free.
[945/1235] cd /[...]/job/ESP/micropython/src/micropython/ports/esp32/b...python/src/micropython/ports/esp32/build-ESP32_GENERIC/genhdr/mpversion.hGEN /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/genhdr/mpversion.h
[994/1235] Generating ../../genhdr/qstrdefs.collected.hQSTR updated
[995/1235] Generating ../../genhdr/root_pointers.collectedRoot pointer registrations updated
[999/1235] Generating /[...]/job/ESP/micropython/src/micropython/mpy-cross/build/mpy-crossmake[1]: вход в каталог «/[...]/job/ESP/micropython/src/micropython/mpy-cross»
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
GEN build/genhdr/mpversion.h
CC ../py/mpstate.c
CC ../py/nlr.c
CC ../py/nlrx86.c
CC ../py/nlrx64.c
CC ../py/nlrthumb.c
CC ../py/nlraarch64.c
CC ../py/nlrmips.c
CC ../py/nlrpowerpc.c
CC ../py/nlrxtensa.c
CC ../py/nlrsetjmp.c
CC ../py/malloc.c
CC ../py/gc.c
CC ../py/pystack.c
CC ../py/qstr.c
CC ../py/vstr.c
CC ../py/mpprint.c
CC ../py/unicode.c
CC ../py/mpz.c
CC ../py/reader.c
CC ../py/lexer.c
CC ../py/parse.c
CC ../py/scope.c
CC ../py/compile.c
CC ../py/emitcommon.c
CC ../py/emitbc.c
CC ../py/asmbase.c
CC ../py/asmx64.c
CC ../py/emitnx64.c
CC ../py/asmx86.c
CC ../py/emitnx86.c
CC ../py/asmthumb.c
CC ../py/emitnthumb.c
CC ../py/emitinlinethumb.c
CC ../py/asmarm.c
CC ../py/emitnarm.c
CC ../py/asmxtensa.c
CC ../py/emitnxtensa.c
CC ../py/emitinlinextensa.c
CC ../py/emitnxtensawin.c
CC ../py/formatfloat.c
CC ../py/parsenumbase.c
CC ../py/parsenum.c
CC ../py/emitglue.c
CC ../py/persistentcode.c
CC ../py/runtime.c
CC ../py/runtime_utils.c
CC ../py/scheduler.c
CC ../py/nativeglue.c
CC ../py/pairheap.c
CC ../py/ringbuf.c
CC ../py/stackctrl.c
CC ../py/argcheck.c
CC ../py/warning.c
CC ../py/profile.c
CC ../py/map.c
CC ../py/obj.c
CC ../py/objarray.c
CC ../py/objattrtuple.c
CC ../py/objbool.c
CC ../py/objboundmeth.c
CC ../py/objcell.c
CC ../py/objclosure.c
CC ../py/objcomplex.c
CC ../py/objdeque.c
CC ../py/objdict.c
CC ../py/objenumerate.c
CC ../py/objexcept.c
CC ../py/objfilter.c
CC ../py/objfloat.c
CC ../py/objfun.c
CC ../py/objgenerator.c
CC ../py/objgetitemiter.c
CC ../py/objint.c
CC ../py/objint_longlong.c
CC ../py/objint_mpz.c
CC ../py/objlist.c
CC ../py/objmap.c
CC ../py/objmodule.c
CC ../py/objobject.c
CC ../py/objpolyiter.c
CC ../py/objproperty.c
CC ../py/objnone.c
CC ../py/objnamedtuple.c
CC ../py/objrange.c
CC ../py/objreversed.c
CC ../py/objset.c
CC ../py/objsingleton.c
CC ../py/objslice.c
CC ../py/objstr.c
CC ../py/objstrunicode.c
CC ../py/objstringio.c
CC ../py/objtuple.c
CC ../py/objtype.c
CC ../py/objzip.c
CC ../py/opmethods.c
CC ../py/sequence.c
CC ../py/stream.c
CC ../py/binary.c
CC ../py/builtinimport.c
CC ../py/builtinevex.c
CC ../py/builtinhelp.c
CC ../py/modarray.c
CC ../py/modbuiltins.c
CC ../py/modcollections.c
CC ../py/modgc.c
CC ../py/modio.c
CC ../py/modmath.c
CC ../py/modcmath.c
CC ../py/modmicropython.c
CC ../py/modstruct.c
CC ../py/modsys.c
CC ../py/moderrno.c
CC ../py/modthread.c
CC ../py/vm.c
CC ../py/bc.c
CC ../py/showbc.c
CC ../py/repl.c
CC ../py/smallint.c
CC ../py/frozenmod.c
CC main.c
CC gccollect.c
CC ../shared/runtime/gchelper_generic.c
LINK build/mpy-cross
text data bss dec hex filename
326600 13784 872 341256 53508 build/mpy-cross
make[1]: выход из каталога «/[...]/job/ESP/micropython/src/micropython/mpy-cross»
[1000/1235] cd /[...]/job/ESP/micropython/src/micropython/ports/esp32/...me/aso/job/ESP/micropython/src/micropython/ports/esp32/boards/manifest.pyMPY flashbdev.py
MPY _boot.py
MPY apa106.py
MPY espnow.py
MPY inisetup.py
MPY asyncio/__init__.py
MPY asyncio/core.py
MPY asyncio/event.py
MPY asyncio/funcs.py
MPY asyncio/lock.py
MPY asyncio/stream.py
MPY uasyncio.py
MPY requests/__init__.py
MPY mip/__init__.py
MPY ntptime.py
MPY webrepl.py
MPY webrepl_setup.py
MPY urequests.py
MPY aioespnow.py
MPY dht.py
MPY onewire.py
MPY ds18x20.py
MPY neopixel.py
MPY umqtt/robust.py
MPY umqtt/simple.py
MPY upysh.py
GEN /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/frozen_content.c
[1002/1235] Generating ../../genhdr/moduledefs.collectedModule registrations updated
[1234/1235] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 27 ELF sections
Successfully created esp32 image.
Generated /[...]/job/ESP/micropython/src/micropython/ports/esp32/build-ESP32_GENERIC/micropython.bin
[1235/1235] cd /[...]/job/ESP/micropython/src/micropython/ports/esp32/...cropython/src/micropython/ports/esp32/build-ESP32_GENERIC/micropython.binmicropython.bin binary size 0x19d300 bytes. Smallest app partition is 0x1f0000 bytes. 0x52d00 bytes (17%) free.
Project build complete. To flash, run this command:
/usr/share/esp/espressif/python_env/idf5.0_py3.10_env/bin/python ../../../../../../../../../usr/share/esp/esp-idf-v5.0.6/components/esptool_py/esptool/esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size 4MB --flash_freq 40m 0x1000 build-ESP32_GENERIC/bootloader/bootloader.bin 0x8000 build-ESP32_GENERIC/partition_table/partition-table.bin 0x10000 build-ESP32_GENERIC/micropython.bin
or run 'idf.py -p (PORT) flash'
bootloader @0x001000 23072 ( 5600 remaining)
partitions @0x008000 3072 ( 1024 remaining)
application @0x010000 1692416 ( 339200 remaining)
total 1757952 |
Hi! |
With other versions of ESP-IDF later than v.5.0.6 - I have not tested micropython, sorry. |
You can find the list of supported ESP-IDF versions in the esp32 port README. This is the copy for master: But according to your comment you cloned the |
(@aso-c thanks for reporting this! For now the quickest way forward will be to switch to a supported ESP-IDF version. You can have more than one version installed at the same time in different directories, if necessary. We'll keep this issue open until 5.0.6 is supported.) |
Checks
I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.
I've searched for existing issues matching this bug, and didn't find any.
Port, board and/or hardware
esp32 port, ESP32-boards, all variants
MicroPython version
MicroPython v1.22.2-dirty on 2024-04-18; Generic ESP32 module with ESP32; ESP-IDF v.5.0.6
Reproduction
make
Expected behaviour
Build micrpopython port for ESP32, simply make. ;))
Observed behaviour
Build process failed by the static assert with message:
"Synchronize WIFI_AUTH_XXX constants with the ESP-IDF. Look at esp-idf/components/esp_wifi/include/esp_wifi_types.h"
Additional Information
I discover this trouble and detect, that Espressif upgrade it's code in all 5.x.y branches.
Now:
Upd: I'm detect, that in ESP-IDF, branch v5.2.x - WIFI_AUTH_MAX == 13
The text was updated successfully, but these errors were encountered: