espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.69k stars 7.29k forks source link

bootloader_flash_update_size() is missing (IDFGH-12123) #13179

Closed ammaree closed 8 months ago

ammaree commented 8 months ago

Answers checklist.

IDF version.

v5.3-dev-2032-g4d90eedb6e

Operating System used.

macOS

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

What is the expected behavior?

bootloader_flash_update_size() to be found and linked.

What is the actual behavior?

undefined reference to `bootloader_flash_update_size'

Steps to reproduce.

This problem is specific to the esp32s3 build, verified that the API is not present in bootloader_flash_config_esp32s3.c

Build or installation Logs.

-- Found Git: /usr/local/bin/git (found version "2.43.1") 

######################################################
Components        :  espcoredump buffers commands common hal_esp32 rtos-support socketsX main rules esp_pm hal
Project Version   : 0.6.0.50
Project ID        : fc06ff52918242568065655301234567
WIFI FW Version   : a1053230
Model / Config    : MakerFabs S3P16 (LCD+PSRAM2) / [/Users/andremaree/DevSpace/z-comp/configs/Z_ESP32S3_R1_F16_PS2.dbg]
Target MCU        : esp32s3
Platform          : 9 / mf3p16
Platform AEP      : 2
GUI config        : 0
######################################################
-- Component directory /Users/andremaree/DevSpace/z-comp/devices does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-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: /Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Dependencies lock doesn't exist, solving dependencies.
NOTICE: Skipping optional dependency: espressif/esp_wrover_kit
NOTICE: Skipping optional dependency: espressif/esp-box
......Updating lock file at /Users/andremaree/DevSpace/z-projects/irmacs/dependencies.lock
Processing 4 dependencies:
[1/4] espressif/jsmn (1.1.0)
[2/4] espressif/led_strip (2.5.3)
[3/4] idf (5.3.0)
[4/4] joltwallet/littlefs (1.14.1)
NOTICE: Skipping optional dependency: espressif/esp_wrover_kit
NOTICE: Skipping optional dependency: espressif/esp-box
-- Project sdkconfig file /Users/andremaree/DevSpace/z-projects/irmacs/sdkconfig
/var/folders/l7/2mnysjf14w11tv45mh1q_lpr0000gn/T/kconfgen_tmp0zvbq5l2:36: warning: malformed string literal in assignment to IDF_TARGET (defined at /Users/andremaree/DevSpace/z-sdk/esp-idf/Kconfig:64). Assignment ignored.
Loading defaults file /Users/andremaree/DevSpace/z-comp/configs/Z_ESP32S3_R1_F16_PS2.dbg...
-- Compiler supported targets: xtensa-esp-elf
-- 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: /Users/andremaree/.espressif/python_env/idf5.3_py3.9_env/bin/python (found version "3.9.6") found components: Interpreter 
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "fc06ff5291824256806565530123456" version: 0.6.0.50
-- Adding linker script /Users/andremaree/DevSpace/z-projects/irmacs/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Components: actuators app_update bootloader bootloader_support buffers commands common confidential cxx database driver efuse endpoints esp_adc esp_app_format esp_bootloader_format esp_coex esp_common esp_driver_ana_cmpr esp_driver_dac esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_i2s esp_driver_ledc esp_driver_mcpwm esp_driver_parlio esp_driver_pcnt esp_driver_rmt esp_driver_sdio esp_driver_sdm esp_driver_sdmmc esp_driver_sdspi esp_driver_spi esp_driver_tsens esp_driver_uart esp_driver_usb_serial_jtag esp_event esp_hw_support esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__jsmn espressif__led_strip esptool_py freertos hal hal_esp32 heap http identity irmacos joltwallet__littlefs jsonX log lwip main mbedtls modbus mqtt newlib nvs_flash partition_table printfx pthread rtos-support rules sdmmc sntp_client soc socketsX spi_flash statistics stringsX syslog systiming telnet_server thingsboard vfs wpa_supplicant xtensa
-- Component paths: /Users/andremaree/DevSpace/z-comp/actuators /Users/andremaree/DevSpace/z-sdk/esp-idf/components/app_update /Users/andremaree/DevSpace/z-sdk/esp-idf/components/bootloader /Users/andremaree/DevSpace/z-sdk/esp-idf/components/bootloader_support /Users/andremaree/DevSpace/z-comp/buffers /Users/andremaree/DevSpace/z-comp/commands /Users/andremaree/DevSpace/z-comp/common /Users/andremaree/DevSpace/z-comp/confidential /Users/andremaree/DevSpace/z-sdk/esp-idf/components/cxx /Users/andremaree/DevSpace/z-comp/database /Users/andremaree/DevSpace/z-sdk/esp-idf/components/driver /Users/andremaree/DevSpace/z-sdk/esp-idf/components/efuse /Users/andremaree/DevSpace/z-comp/endpoints /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_adc /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_app_format /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_bootloader_format /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_coex /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_common /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_ana_cmpr /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_dac /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_gpio /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_gptimer /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_i2c /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_i2s /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_ledc /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_mcpwm /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_parlio /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_pcnt /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_rmt /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_sdio /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_sdm /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_sdmmc /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_sdspi /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_spi /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_tsens /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_uart /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_driver_usb_serial_jtag /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_event /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_hw_support /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_mm /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_netif /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_netif_stack /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_partition /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_phy /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_pm /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_psram /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_ringbuf /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_system /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_timer /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi /Users/andremaree/DevSpace/z-sdk/esp-idf/components/espcoredump /Users/andremaree/DevSpace/z-projects/irmacs/managed_components/espressif__jsmn /Users/andremaree/DevSpace/z-projects/irmacs/managed_components/espressif__led_strip /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esptool_py /Users/andremaree/DevSpace/z-sdk/esp-idf/components/freertos /Users/andremaree/DevSpace/z-sdk/esp-idf/components/hal /Users/andremaree/DevSpace/z-comp/hal_esp32 /Users/andremaree/DevSpace/z-sdk/esp-idf/components/heap /Users/andremaree/DevSpace/z-comp/http /Users/andremaree/DevSpace/z-comp/identity /Users/andremaree/DevSpace/z-comp/irmacos /Users/andremaree/DevSpace/z-projects/irmacs/managed_components/joltwallet__littlefs /Users/andremaree/DevSpace/z-comp/jsonX /Users/andremaree/DevSpace/z-comp/log /Users/andremaree/DevSpace/z-sdk/esp-idf/components/lwip /Users/andremaree/DevSpace/z-projects/irmacs/main /Users/andremaree/DevSpace/z-sdk/esp-idf/components/mbedtls /Users/andremaree/DevSpace/z-comp/modbus /Users/andremaree/DevSpace/z-comp/mqtt /Users/andremaree/DevSpace/z-sdk/esp-idf/components/newlib /Users/andremaree/DevSpace/z-sdk/esp-idf/components/nvs_flash /Users/andremaree/DevSpace/z-sdk/esp-idf/components/partition_table /Users/andremaree/DevSpace/z-comp/printfx /Users/andremaree/DevSpace/z-sdk/esp-idf/components/pthread /Users/andremaree/DevSpace/z-comp/rtos-support /Users/andremaree/DevSpace/z-comp/rules /Users/andremaree/DevSpace/z-sdk/esp-idf/components/sdmmc /Users/andremaree/DevSpace/z-comp/sntp_client /Users/andremaree/DevSpace/z-sdk/esp-idf/components/soc /Users/andremaree/DevSpace/z-comp/socketsX /Users/andremaree/DevSpace/z-sdk/esp-idf/components/spi_flash /Users/andremaree/DevSpace/z-comp/statistics /Users/andremaree/DevSpace/z-comp/stringsX /Users/andremaree/DevSpace/z-comp/syslog /Users/andremaree/DevSpace/z-comp/systiming /Users/andremaree/DevSpace/z-comp/telnet_server /Users/andremaree/DevSpace/z-comp/thingsboard /Users/andremaree/DevSpace/z-sdk/esp-idf/components/vfs /Users/andremaree/DevSpace/z-sdk/esp-idf/components/wpa_supplicant /Users/andremaree/DevSpace/z-sdk/esp-idf/components/xtensa
-- Configuring done (8.1s)
-- Generating done (2.0s)
-- Build files have been written to: /Users/andremaree/DevSpace/z-projects/irmacs/build

 *  Executing task in folder build: ninja  

[17/935] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,16K,
otadata,data,ota,0xd000,8K,
phy_init,data,phy,0xf000,4K,
ota_0,app,ota_0,0x10000,1536K,
ota_1,app,ota_1,0x190000,1536K,
lfs,data,spiffs,0x310000,13184K,
coredump,data,coredump,0xff0000,64K,
*******************************************************************************
[492/935] Performing configure step for 'bootloader'
-- Found Git: /usr/local/bin/git (found version "2.43.1") 
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-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: /Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file /Users/andremaree/DevSpace/z-projects/irmacs/sdkconfig
-- Compiler supported targets: xtensa-esp-elf
-- 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 /Users/andremaree/DevSpace/z-sdk/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Bootloader project name: "bootloader" version: 1
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script /Users/andremaree/DevSpace/z-sdk/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_bootloader_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: /Users/andremaree/DevSpace/z-sdk/esp-idf/components/bootloader /Users/andremaree/DevSpace/z-sdk/esp-idf/components/bootloader_support /Users/andremaree/DevSpace/z-sdk/esp-idf/components/efuse /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_app_format /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_bootloader_format /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_common /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_hw_support /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_system /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esptool_py /Users/andremaree/DevSpace/z-sdk/esp-idf/components/freertos /Users/andremaree/DevSpace/z-sdk/esp-idf/components/hal /Users/andremaree/DevSpace/z-sdk/esp-idf/components/log /Users/andremaree/DevSpace/z-sdk/esp-idf/components/bootloader/subproject/main /Users/andremaree/DevSpace/z-sdk/esp-idf/components/bootloader/subproject/components/micro-ecc /Users/andremaree/DevSpace/z-sdk/esp-idf/components/newlib /Users/andremaree/DevSpace/z-sdk/esp-idf/components/partition_table /Users/andremaree/DevSpace/z-sdk/esp-idf/components/soc /Users/andremaree/DevSpace/z-sdk/esp-idf/components/spi_flash /Users/andremaree/DevSpace/z-sdk/esp-idf/components/xtensa
-- Configuring done (11.4s)
-- Generating done (0.3s)
-- Build files have been written to: /Users/andremaree/DevSpace/z-projects/irmacs/build/bootloader
[607/935] Performing build step for 'bootloader'
[1/112] Generating project_elf_src_esp32s3.c
[2/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/gdma_periph.c.obj
[3/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/sdm_periph.c.obj
[4/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/pcnt_periph.c.obj
[5/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/interrupts.c.obj
[6/112] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
[7/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/rmt_periph.c.obj
[8/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj
[9/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/adc_periph.c.obj
[10/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/ledc_periph.c.obj
[11/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/dedic_gpio_periph.c.obj
[12/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/uart_periph.c.obj
[13/112] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32s3.c.obj
[14/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/i2c_periph.c.obj
[15/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/temperature_sensor_periph.c.obj
[16/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/i2s_periph.c.obj
[17/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/gpio_periph.c.obj
[18/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/lcd_periph.c.obj
[19/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/spi_periph.c.obj
[20/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/usb_periph.c.obj
[21/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/usb_dwc_periph.c.obj
[22/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[23/112] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[24/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/timer_periph.c.obj
[25/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/twai_periph.c.obj
[26/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/mpi_periph.c.obj
[27/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/mcpwm_periph.c.obj
[28/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/sdmmc_periph.c.obj
[29/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/touch_sensor_periph.c.obj
[30/112] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[31/112] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s3/rtc_io_periph.c.obj
[32/112] Building C object esp-idf/esp_bootloader_format/CMakeFiles/__idf_esp_bootloader_format.dir/esp_bootloader_desc.c.obj
[33/112] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/hal_utils.c.obj
[34/112] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj
[35/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[36/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj
[37/112] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32s3/efuse_hal.c.obj
[38/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[39/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[40/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[41/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32s3.c.obj
[42/112] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj
[43/112] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj
[44/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[45/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[46/112] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/cache_hal.c.obj
[47/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[48/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[49/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[50/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s3/bootloader_sha.c.obj
[51/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s3/bootloader_soc.c.obj
[52/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[53/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj
[54/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[55/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32s3.c.obj
[56/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[57/112] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s3/esp_efuse_table.c.obj
[58/112] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s3/esp_efuse_fields.c.obj
[59/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[60/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj
[61/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s3/cpu_region_protect.c.obj
[62/112] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[63/112] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[64/112] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s3/esp_efuse_rtc_calib.c.obj
[65/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s3/bootloader_esp32s3.c.obj
[66/112] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s3/esp_efuse_utility.c.obj
[67/112] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
[68/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj
[69/112] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[70/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s3/chip_info.c.obj
[71/112] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[72/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s3/rtc_clk_init.c.obj
[73/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj
[74/112] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[75/112] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[76/112] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj
[77/112] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_systimer.c.obj
[78/112] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_cache_writeback_esp32s3.S.obj
[79/112] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[80/112] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_spiflash.c.obj
[81/112] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_wdt.c.obj
[82/112] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c.obj
[83/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s3/rtc_sleep.c.obj
[84/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[85/112] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_cache_esp32s2_esp32s3.c.obj
[86/112] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[87/112] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[88/112] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[89/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s3/rtc_time.c.obj
[90/112] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[91/112] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[92/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s3/rtc_init.c.obj
[93/112] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[94/112] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s3/rtc_clk.c.obj
[95/112] Linking C static library esp-idf/log/liblog.a
[96/112] Linking C static library esp-idf/esp_rom/libesp_rom.a
[97/112] Linking C static library esp-idf/esp_common/libesp_common.a
[98/112] Linking C static library esp-idf/esp_hw_support/libesp_hw_support.a
[99/112] Linking C static library esp-idf/esp_system/libesp_system.a
[100/112] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[101/112] Linking C static library esp-idf/efuse/libefuse.a
[102/112] Linking C static library esp-idf/bootloader_support/libbootloader_support.a
[103/112] Linking C static library esp-idf/esp_bootloader_format/libesp_bootloader_format.a
[104/112] Linking C static library esp-idf/spi_flash/libspi_flash.a
[105/112] Linking C static library esp-idf/hal/libhal.a
[106/112] Linking C static library esp-idf/micro-ecc/libmicro-ecc.a
[107/112] Linking C static library esp-idf/soc/libsoc.a
[108/112] Linking C static library esp-idf/xtensa/libxtensa.a
[109/112] Linking C static library esp-idf/main/libmain.a
[110/112] Linking C executable bootloader.elf
[111/112] Generating binary image from built executable
esptool.py vv4.8.dev1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /Users/andremaree/DevSpace/z-projects/irmacs/build/bootloader/bootloader.bin
[112/112] cd /Users/andremaree/DevSpace/z-projects/irmacs/build/bootloader/esp-idf/esptool_py && /Users/andremaree/.espressif/python_env/idf5.3_py3.9_env/bin/python /Users/andremaree/DevSpace/z-sdk/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /Users/andremaree/DevSpace/z-projects/irmacs/build/bootloader/bootloader.bin
Bootloader binary size 0x4c70 bytes. 0x3390 bytes (40%) free.
[933/935] Linking CXX executable fc06ff52918242568065655301234567.elf
FAILED: fc06ff52918242568065655301234567.elf 
: && /Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ -mlongcalls -Wl,--wrap=uart_ll_get_txfifo_len -Wl,--wrap=uart_ll_write_txfifo -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32S3=0 -Wl,--Map=/Users/andremaree/DevSpace/z-projects/irmacs/build/fc06ff52918242568065655301234567.map -Wl,--no-warn-rwx-segments -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32s3.peripherals.ld -T esp32s3.rom.ld -T esp32s3.rom.api.ld -T esp32s3.rom.libgcc.ld -T esp32s3.rom.newlib.ld -T esp32s3.rom.version.ld -T memory.ld -T sections.ld CMakeFiles/fc06ff52918242568065655301234567.elf.dir/project_elf_src_esp32s3.c.obj -o fc06ff52918242568065655301234567.elf -L/Users/andremaree/DevSpace/z-sdk/esp-idf/components/soc/esp32s3/ld   -L/Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_rom/esp32s3/ld   -L/Users/andremaree/DevSpace/z-projects/irmacs/build/esp-idf/esp_system/ld   -L/Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_phy/lib/esp32s3   -L/Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3 esp-idf/xtensa/libxtensa.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/efuse/libefuse.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/esp_driver_gpio/libesp_driver_gpio.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/confidential/libconfidential.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/esp_driver_pcnt/libesp_driver_pcnt.a  esp-idf/esp_driver_gptimer/libesp_driver_gptimer.a  esp-idf/esp_driver_spi/libesp_driver_spi.a  esp-idf/esp_driver_mcpwm/libesp_driver_mcpwm.a  esp-idf/esp_driver_i2s/libesp_driver_i2s.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_driver_sdmmc/libesp_driver_sdmmc.a  esp-idf/esp_driver_sdspi/libesp_driver_sdspi.a  esp-idf/esp_driver_rmt/libesp_driver_rmt.a  esp-idf/esp_driver_tsens/libesp_driver_tsens.a  esp-idf/esp_driver_sdm/libesp_driver_sdm.a  esp-idf/esp_driver_i2c/libesp_driver_i2c.a  esp-idf/esp_driver_uart/libesp_driver_uart.a  esp-idf/esp_driver_ledc/libesp_driver_ledc.a  esp-idf/esp_driver_usb_serial_jtag/libesp_driver_usb_serial_jtag.a  esp-idf/driver/libdriver.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_psram/libesp_psram.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/syslog/libsyslog.a  esp-idf/systiming/libsystiming.a  esp-idf/socketsX/libsocketsX.a  esp-idf/telnet_server/libtelnet_server.a  esp-idf/common/libcommon.a  esp-idf/statistics/libstatistics.a  esp-idf/stringsX/libstringsX.a  esp-idf/printfx/libprintfx.a  esp-idf/modbus/libmodbus.a  esp-idf/database/libdatabase.a  esp-idf/identity/libidentity.a  esp-idf/jsonX/libjsonX.a  esp-idf/thingsboard/libthingsboard.a  esp-idf/irmacos/libirmacos.a  esp-idf/mqtt/libmqtt.a  esp-idf/commands/libcommands.a  esp-idf/rules/librules.a  esp-idf/endpoints/libendpoints.a  esp-idf/actuators/libactuators.a  esp-idf/sntp_client/libsntp_client.a  esp-idf/espressif__led_strip/libespressif__led_strip.a  esp-idf/joltwallet__littlefs/libjoltwallet__littlefs.a  esp-idf/main/libmain.a  esp-idf/rtos-support/librtos-support.a  esp-idf/buffers/libbuffers.a  esp-idf/http/libhttp.a  esp-idf/hal_esp32/libhal_esp32.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/pthread/libpthread.a  esp-idf/cxx/libcxx.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/efuse/libefuse.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/esp_driver_gpio/libesp_driver_gpio.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/confidential/libconfidential.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/esp_driver_pcnt/libesp_driver_pcnt.a  esp-idf/esp_driver_gptimer/libesp_driver_gptimer.a  esp-idf/esp_driver_spi/libesp_driver_spi.a  esp-idf/esp_driver_mcpwm/libesp_driver_mcpwm.a  esp-idf/esp_driver_i2s/libesp_driver_i2s.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_driver_sdmmc/libesp_driver_sdmmc.a  esp-idf/esp_driver_sdspi/libesp_driver_sdspi.a  esp-idf/esp_driver_rmt/libesp_driver_rmt.a  esp-idf/esp_driver_tsens/libesp_driver_tsens.a  esp-idf/esp_driver_sdm/libesp_driver_sdm.a  esp-idf/esp_driver_i2c/libesp_driver_i2c.a  esp-idf/esp_driver_uart/libesp_driver_uart.a  esp-idf/esp_driver_ledc/libesp_driver_ledc.a  esp-idf/esp_driver_usb_serial_jtag/libesp_driver_usb_serial_jtag.a  esp-idf/driver/libdriver.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_psram/libesp_psram.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/syslog/libsyslog.a  esp-idf/systiming/libsystiming.a  esp-idf/socketsX/libsocketsX.a  esp-idf/telnet_server/libtelnet_server.a  esp-idf/common/libcommon.a  esp-idf/statistics/libstatistics.a  esp-idf/stringsX/libstringsX.a  esp-idf/printfx/libprintfx.a  esp-idf/modbus/libmodbus.a  esp-idf/database/libdatabase.a  esp-idf/identity/libidentity.a  esp-idf/jsonX/libjsonX.a  esp-idf/thingsboard/libthingsboard.a  esp-idf/irmacos/libirmacos.a  esp-idf/mqtt/libmqtt.a  esp-idf/commands/libcommands.a  esp-idf/rules/librules.a  esp-idf/endpoints/libendpoints.a  esp-idf/actuators/libactuators.a  esp-idf/sntp_client/libsntp_client.a  esp-idf/espressif__led_strip/libespressif__led_strip.a  esp-idf/joltwallet__littlefs/libjoltwallet__littlefs.a  esp-idf/main/libmain.a  esp-idf/rtos-support/librtos-support.a  esp-idf/buffers/libbuffers.a  esp-idf/http/libhttp.a  esp-idf/hal_esp32/libhal_esp32.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/pthread/libpthread.a  esp-idf/cxx/libcxx.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/efuse/libefuse.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/esp_driver_gpio/libesp_driver_gpio.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/confidential/libconfidential.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/esp_driver_pcnt/libesp_driver_pcnt.a  esp-idf/esp_driver_gptimer/libesp_driver_gptimer.a  esp-idf/esp_driver_spi/libesp_driver_spi.a  esp-idf/esp_driver_mcpwm/libesp_driver_mcpwm.a  esp-idf/esp_driver_i2s/libesp_driver_i2s.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_driver_sdmmc/libesp_driver_sdmmc.a  esp-idf/esp_driver_sdspi/libesp_driver_sdspi.a  esp-idf/esp_driver_rmt/libesp_driver_rmt.a  esp-idf/esp_driver_tsens/libesp_driver_tsens.a  esp-idf/esp_driver_sdm/libesp_driver_sdm.a  esp-idf/esp_driver_i2c/libesp_driver_i2c.a  esp-idf/esp_driver_uart/libesp_driver_uart.a  esp-idf/esp_driver_ledc/libesp_driver_ledc.a  esp-idf/esp_driver_usb_serial_jtag/libesp_driver_usb_serial_jtag.a  esp-idf/driver/libdriver.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_psram/libesp_psram.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/syslog/libsyslog.a  esp-idf/systiming/libsystiming.a  esp-idf/socketsX/libsocketsX.a  esp-idf/telnet_server/libtelnet_server.a  esp-idf/common/libcommon.a  esp-idf/statistics/libstatistics.a  esp-idf/stringsX/libstringsX.a  esp-idf/printfx/libprintfx.a  esp-idf/modbus/libmodbus.a  esp-idf/database/libdatabase.a  esp-idf/identity/libidentity.a  esp-idf/jsonX/libjsonX.a  esp-idf/thingsboard/libthingsboard.a  esp-idf/irmacos/libirmacos.a  esp-idf/mqtt/libmqtt.a  esp-idf/commands/libcommands.a  esp-idf/rules/librules.a  esp-idf/endpoints/libendpoints.a  esp-idf/actuators/libactuators.a  esp-idf/sntp_client/libsntp_client.a  esp-idf/espressif__led_strip/libespressif__led_strip.a  esp-idf/joltwallet__littlefs/libjoltwallet__littlefs.a  esp-idf/main/libmain.a  esp-idf/rtos-support/librtos-support.a  esp-idf/buffers/libbuffers.a  esp-idf/http/libhttp.a  esp-idf/hal_esp32/libhal_esp32.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/pthread/libpthread.a  esp-idf/cxx/libcxx.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  esp-idf/xtensa/libxtensa.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/efuse/libefuse.a  esp-idf/esp_bootloader_format/libesp_bootloader_format.a  esp-idf/esp_app_format/libesp_app_format.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/esp_partition/libesp_partition.a  esp-idf/app_update/libapp_update.a  esp-idf/esp_mm/libesp_mm.a  esp-idf/esp_driver_gpio/libesp_driver_gpio.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/confidential/libconfidential.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/esp_driver_pcnt/libesp_driver_pcnt.a  esp-idf/esp_driver_gptimer/libesp_driver_gptimer.a  esp-idf/esp_driver_spi/libesp_driver_spi.a  esp-idf/esp_driver_mcpwm/libesp_driver_mcpwm.a  esp-idf/esp_driver_i2s/libesp_driver_i2s.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_driver_sdmmc/libesp_driver_sdmmc.a  esp-idf/esp_driver_sdspi/libesp_driver_sdspi.a  esp-idf/esp_driver_rmt/libesp_driver_rmt.a  esp-idf/esp_driver_tsens/libesp_driver_tsens.a  esp-idf/esp_driver_sdm/libesp_driver_sdm.a  esp-idf/esp_driver_i2c/libesp_driver_i2c.a  esp-idf/esp_driver_uart/libesp_driver_uart.a  esp-idf/esp_driver_ledc/libesp_driver_ledc.a  esp-idf/esp_driver_usb_serial_jtag/libesp_driver_usb_serial_jtag.a  esp-idf/driver/libdriver.a  esp-idf/esp_adc/libesp_adc.a  esp-idf/esp_psram/libesp_psram.a  esp-idf/esp_event/libesp_event.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/vfs/libvfs.a  esp-idf/lwip/liblwip.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_coex/libesp_coex.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/syslog/libsyslog.a  esp-idf/systiming/libsystiming.a  esp-idf/socketsX/libsocketsX.a  esp-idf/telnet_server/libtelnet_server.a  esp-idf/common/libcommon.a  esp-idf/statistics/libstatistics.a  esp-idf/stringsX/libstringsX.a  esp-idf/printfx/libprintfx.a  esp-idf/modbus/libmodbus.a  esp-idf/database/libdatabase.a  esp-idf/identity/libidentity.a  esp-idf/jsonX/libjsonX.a  esp-idf/thingsboard/libthingsboard.a  esp-idf/irmacos/libirmacos.a  esp-idf/mqtt/libmqtt.a  esp-idf/commands/libcommands.a  esp-idf/rules/librules.a  esp-idf/endpoints/libendpoints.a  esp-idf/actuators/libactuators.a  esp-idf/sntp_client/libsntp_client.a  esp-idf/espressif__led_strip/libespressif__led_strip.a  esp-idf/joltwallet__littlefs/libjoltwallet__littlefs.a  esp-idf/main/libmain.a  esp-idf/rtos-support/librtos-support.a  esp-idf/buffers/libbuffers.a  esp-idf/http/libhttp.a  esp-idf/hal_esp32/libhal_esp32.a  esp-idf/log/liblog.a  esp-idf/heap/libheap.a  esp-idf/soc/libsoc.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/pthread/libpthread.a  esp-idf/cxx/libcxx.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/mbedtls/3rdparty/everest/libeverest.a  esp-idf/mbedtls/mbedtls/3rdparty/p256-m/libp256m.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libcore.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libespnow.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libmesh.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libnet80211.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libpp.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libsmartconfig.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_wifi/lib/esp32s3/libwapi.a  /Users/andremaree/DevSpace/z-sdk/esp-idf/components/xtensa/esp32s3/libxt_hal.a  -u esp_app_desc  -u ld_include_highint_hdl  -u start_app  -u start_app_other_cores  -u __ubsan_include  -u esp_system_include_startup_funcs  -Wl,--wrap=longjmp  -u __assert_func  -u uart_vfs_include_dev_init  -u usb_serial_jtag_vfs_include_dev_init  -u usb_serial_jtag_connection_monitor_include  -u include_esp_phy_override  -lphy  -lbtbb  esp-idf/esp_phy/libesp_phy.a  -lphy  -lbtbb  esp-idf/esp_phy/libesp_phy.a  -lphy  -lbtbb  -u vfs_include_syscalls_impl  -u esp_vfs_include_console_register  -Wl,--undefined=FreeRTOS_openocd_params  -u app_main  -lc  -lm  -u newlib_include_heap_impl  -u newlib_include_syscalls_impl  -u newlib_include_pthread_impl  -u newlib_include_assert_impl  -u newlib_include_init_funcs  -u pthread_include_pthread_impl  -u pthread_include_pthread_cond_var_impl  -u pthread_include_pthread_local_storage_impl  -u pthread_include_pthread_rwlock_impl  -u pthread_include_pthread_semaphore_impl  -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting  -Wl,--wrap=__register_frame_info_bases  -Wl,--wrap=__register_frame_info  -Wl,--wrap=__register_frame  -Wl,--wrap=__register_frame_info_table_bases  -Wl,--wrap=__register_frame_info_table  -Wl,--wrap=__register_frame_table  -Wl,--wrap=__deregister_frame_info_bases  -Wl,--wrap=__deregister_frame_info  -Wl,--wrap=_Unwind_Find_FDE  -Wl,--wrap=_Unwind_GetGR  -Wl,--wrap=_Unwind_GetCFA  -Wl,--wrap=_Unwind_GetIP  -Wl,--wrap=_Unwind_GetIPInfo  -Wl,--wrap=_Unwind_GetRegionStart  -Wl,--wrap=_Unwind_GetDataRelBase  -Wl,--wrap=_Unwind_GetTextRelBase  -Wl,--wrap=_Unwind_SetIP  -Wl,--wrap=_Unwind_SetGR  -Wl,--wrap=_Unwind_GetLanguageSpecificData  -Wl,--wrap=_Unwind_FindEnclosingFunction  -Wl,--wrap=_Unwind_Resume  -Wl,--wrap=_Unwind_RaiseException  -Wl,--wrap=_Unwind_DeleteException  -Wl,--wrap=_Unwind_ForcedUnwind  -Wl,--wrap=_Unwind_Resume_or_Rethrow  -Wl,--wrap=_Unwind_Backtrace  -Wl,--wrap=__cxa_call_unexpected  -Wl,--wrap=__gxx_personality_v0  -u __cxa_guard_dummy  -lstdc++  esp-idf/pthread/libpthread.a  esp-idf/newlib/libnewlib.a  -lgcc  esp-idf/cxx/libcxx.a  -u __cxx_fatal_exception  -u esp_system_include_coredump_init && :
/Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/esp_system/libesp_system.a(cpu_start.c.obj):(.iram1.2.literal+0xe4): undefined reference to `bootloader_flash_update_size'
/Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/esp_system/libesp_system.a(cpu_start.c.obj): in function `call_start_cpu0':
/Users/andremaree/DevSpace/z-sdk/esp-idf/components/esp_system/port/cpu_start.c:773:(.iram1.2+0x46c): undefined reference to `bootloader_flash_update_size'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

 *  The terminal process "/bin/zsh '-l', '-c', 'ninja '" terminated with exit code: 1.

More Information.

No response

sudeep-mohanty commented 8 months ago

Hello @ammaree, Thanks for reporting the issue. There is a linking failure indeed! Not only for esp32s3 but for all targets except esp32 and ep32s2. We shall fix this. Thanks!