building espressif c++ project


iborco@...
 

Hi,

I have made a simple C++ project using Zephyr, to check if I can use various C++ features from Zephyr - for this particular one, I'm just trying to include the <algorithms> header.

The builds work with the gnuarmemb toolchain (for a nRF52833 board), but fails when I try to build it with the espressif toolchain.

The build output is bellow. The project files are attached.

Any idea how to fix this?

Thank you.

west build -b esp32
-- west build: generating a build system
Including boilerplate (Zephyr base): /Users/borco/zephyrproject/zephyr/cmake/app/boilerplate.cmake
-- Application: /Users/borco/01-basic-app
-- Zephyr version: 2.6.0-rc1 (/Users/borco/zephyrproject/zephyr), build: v2.6.0-rc1-120-g41e885947e4f
-- Found Python3: /Users/borco/.pyenv/versions/3.9.1/Python.framework/Versions/3.9/bin/python3.9 (found suitable exact version "3.9.1") found components: Interpreter
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Board: esp32
-- Cache files will be written to: /Users/borco/Library/Caches/zephyr
-- Found dtc: /usr/local/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found toolchain: espressif (/Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf)
-- Found BOARD.dts: /Users/borco/zephyrproject/zephyr/boards/xtensa/esp32/esp32.dts
-- Generated zephyr.dts: /Users/borco/01-basic-app/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /Users/borco/01-basic-app/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /Users/borco/01-basic-app/build/zephyr/include/generated/device_extern.h
Parsing /Users/borco/zephyrproject/zephyr/Kconfig
Loaded configuration '/Users/borco/zephyrproject/zephyr/boards/xtensa/esp32/esp32_defconfig'
Merged configuration '/Users/borco/01-basic-app/prj.conf'
Configuration saved to '/Users/borco/01-basic-app/build/zephyr/.config'
Kconfig header saved to '/Users/borco/01-basic-app/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
CMake Deprecation Warning at /Users/borco/zephyrproject/modules/lib/civetweb/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Configuring done
CMake Warning (dev) at /Users/borco/zephyrproject/zephyr/cmake/linker/ld/target.cmake:33 (add_custom_command):
  Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /Users/borco/zephyrproject/zephyr/CMakeLists.txt:1198 (configure_linker_script)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /Users/borco/zephyrproject/zephyr/cmake/linker/ld/target.cmake:33 (add_custom_command):
  Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /Users/borco/zephyrproject/zephyr/CMakeLists.txt:1253 (configure_linker_script)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/borco/01-basic-app/build
-- west build: building application
[1/130] Preparing syscall dependency handling

[55/130] Performing configure step for 'EspIdfBootloader'
CMake Warning at /Users/borco/zephyrproject/modules/hal/espressif/tools/cmake/idf.cmake:24 (message):
  IDF_PATH environment variable not found.  Setting IDF_PATH to
  '/Users/borco/zephyrproject/modules/hal/espressif'.
Call Stack (most recent call first):
  /Users/borco/zephyrproject/modules/hal/espressif/tools/cmake/project.cmake:7 (include)
  CMakeLists.txt:20 (include)


-- Found Git: /usr/local/bin/git (found version "2.31.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.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: /Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.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: /Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.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
-- Adding linker script /Users/borco/zephyrproject/modules/hal/espressif/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /Users/borco/zephyrproject/modules/hal/espressif/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /Users/borco/zephyrproject/modules/hal/espressif/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /Users/borco/zephyrproject/modules/hal/espressif/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /Users/borco/zephyrproject/modules/hal/espressif/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /Users/borco/zephyrproject/modules/hal/espressif/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 esp_common esp_rom esptool_py log main micro-ecc partition_table soc spi_flash xtensa
-- Component paths: /Users/borco/zephyrproject/modules/hal/espressif/components/bootloader /Users/borco/zephyrproject/modules/hal/espressif/components/bootloader_support /Users/borco/zephyrproject/modules/hal/espressif/components/efuse /Users/borco/zephyrproject/modules/hal/espressif/components/esp32 /Users/borco/zephyrproject/modules/hal/espressif/components/esp_common /Users/borco/zephyrproject/modules/hal/espressif/components/esp_rom /Users/borco/zephyrproject/modules/hal/espressif/components/esptool_py /Users/borco/zephyrproject/modules/hal/espressif/components/log /Users/borco/zephyrproject/modules/hal/espressif/components/bootloader/subproject/main /Users/borco/zephyrproject/modules/hal/espressif/components/bootloader/subproject/components/micro-ecc /Users/borco/zephyrproject/modules/hal/espressif/components/partition_table /Users/borco/zephyrproject/modules/hal/espressif/components/soc /Users/borco/zephyrproject/modules/hal/espressif/components/spi_flash /Users/borco/zephyrproject/modules/hal/espressif/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/borco/01-basic-app/build/esp-idf/build/bootloader
[78/130] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
FAILED: zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
ccache /Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DBUILD_VERSION=v2.6.0-rc1-120-g41e885947e4f -DKERNEL -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR__=1 -I/Users/borco/zephyrproject/zephyr/kernel/include -I/Users/borco/zephyrproject/zephyr/arch/xtensa/include -I/Users/borco/zephyrproject/zephyr/include -Izephyr/include/generated -I/Users/borco/zephyrproject/zephyr/soc/xtensa/esp32 -I/Users/borco/zephyrproject/zephyr/soc/xtensa/esp32/include -I/Users/borco/zephyrproject/zephyr/lib/libc/newlib/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/adapter/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/adapter/include/bt -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/adapter/include/crypto -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/adapter/include/wifi -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_common/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_rom/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/xtensa/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/xtensa/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/soc/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/soc/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/soc/esp32/private_include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/include/soc -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/src/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/driver/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/soc/esp32 -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_wifi/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/efuse/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/efuse/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_system/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_wifi/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_timer/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_timer/private_include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_netif/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_event/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/log/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/port/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/src -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/include/esp_supplicant -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/src/crypto -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/spi_flash/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/spi_flash/private_include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/bootloader_support/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/bootloader_support/include_bootloader -Os -imacros /Users/borco/01-basic-app/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -fdiagnostics-color=always -imacros /Users/borco/zephyrproject/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/Users/borco/01-basic-app=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/borco/zephyrproject/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/borco/zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections -mlongcalls -std=c99 -MD -MT zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj -MF zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj.d -o zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj -c /Users/borco/zephyrproject/zephyr/lib/posix/pthread_common.c
In file included from /Users/borco/zephyrproject/zephyr/lib/posix/pthread_common.c:10:
/Users/borco/zephyrproject/zephyr/include/posix/time.h:90:15: error: static declaration of 'clock_gettime' follows non-static declaration
 __syscall int clock_gettime(clockid_t clock_id, struct timespec *ts);
               ^~~~~~~~~~~~~
In file included from /Users/borco/zephyrproject/zephyr/include/posix/time.h:12,
                 from /Users/borco/zephyrproject/zephyr/lib/posix/pthread_common.c:10:
/Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/time.h:187:5: note: previous declaration of 'clock_gettime' was here
 int clock_gettime (clockid_t clock_id, struct timespec *tp);
     ^~~~~~~~~~~~~
In file included from /Users/borco/zephyrproject/zephyr/lib/posix/pthread_common.c:10:
/Users/borco/zephyrproject/zephyr/include/posix/time.h:94:5: error: conflicting types for 'timer_create'
 int timer_create(clockid_t clockId, struct sigevent *evp, timer_t *timerid);
     ^~~~~~~~~~~~
In file included from /Users/borco/zephyrproject/zephyr/include/posix/time.h:12,
                 from /Users/borco/zephyrproject/zephyr/lib/posix/pthread_common.c:10:
/Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/time.h:192:5: note: previous declaration of 'timer_create' was here
 int timer_create (clockid_t clock_id,
     ^~~~~~~~~~~~
[79/130] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
FAILED: zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
ccache /Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DBUILD_VERSION=v2.6.0-rc1-120-g41e885947e4f -DKERNEL -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR__=1 -I/Users/borco/zephyrproject/zephyr/kernel/include -I/Users/borco/zephyrproject/zephyr/arch/xtensa/include -I/Users/borco/zephyrproject/zephyr/include -Izephyr/include/generated -I/Users/borco/zephyrproject/zephyr/soc/xtensa/esp32 -I/Users/borco/zephyrproject/zephyr/soc/xtensa/esp32/include -I/Users/borco/zephyrproject/zephyr/lib/libc/newlib/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/adapter/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/adapter/include/bt -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/adapter/include/crypto -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/adapter/include/wifi -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_common/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_rom/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/xtensa/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/xtensa/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/soc/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/soc/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/soc/esp32/private_include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/include/soc -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/src/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/driver/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/soc/soc/esp32 -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_wifi/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/efuse/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/efuse/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_system/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_wifi/esp32/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_timer/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_timer/private_include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_netif/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/esp_event/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/log/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/port/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/src -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/include/esp_supplicant -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/wpa_supplicant/src/crypto -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/spi_flash/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/spi_flash/private_include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/bootloader_support/include -I/Users/borco/zephyrproject/modules/hal/espressif/zephyr/../components/bootloader_support/include_bootloader -Os -imacros /Users/borco/01-basic-app/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -fdiagnostics-color=always -imacros /Users/borco/zephyrproject/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/Users/borco/01-basic-app=CMAKE_SOURCE_DIR -fmacro-prefix-map=/Users/borco/zephyrproject/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/Users/borco/zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections -mlongcalls -std=c99 -MD -MT zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj -MF zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj.d -o zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj -c /Users/borco/zephyrproject/zephyr/lib/posix/nanosleep.c
In file included from /Users/borco/zephyrproject/zephyr/lib/posix/nanosleep.c:12:
/Users/borco/zephyrproject/zephyr/include/posix/time.h:90:15: error: static declaration of 'clock_gettime' follows non-static declaration
 __syscall int clock_gettime(clockid_t clock_id, struct timespec *ts);
               ^~~~~~~~~~~~~
In file included from /Users/borco/zephyrproject/zephyr/include/posix/time.h:12,
                 from /Users/borco/zephyrproject/zephyr/lib/posix/nanosleep.c:12:
/Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/time.h:187:5: note: previous declaration of 'clock_gettime' was here
 int clock_gettime (clockid_t clock_id, struct timespec *tp);
     ^~~~~~~~~~~~~
In file included from /Users/borco/zephyrproject/zephyr/lib/posix/nanosleep.c:12:
/Users/borco/zephyrproject/zephyr/include/posix/time.h:94:5: error: conflicting types for 'timer_create'
 int timer_create(clockid_t clockId, struct sigevent *evp, timer_t *timerid);
     ^~~~~~~~~~~~
In file included from /Users/borco/zephyrproject/zephyr/include/posix/time.h:12,
                 from /Users/borco/zephyrproject/zephyr/lib/posix/nanosleep.c:12:
/Users/borco/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/time.h:192:5: note: previous declaration of 'timer_create' was here
 int timer_create (clockid_t clock_id,
     ^~~~~~~~~~~~
[83/130] Performing build step for 'EspIdfBootloader'
[1/101] Generating project_elf_src.c
[2/101] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src.c.obj
[3/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/lldesc.c.obj
[4/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/cpu_hal.c.obj
[5/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/memory_layout_utils.c.obj
[6/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/cpu_util.c.obj
[7/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rmt_hal.c.obj
[8/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/dac_hal.c.obj
[9/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/adc_hal.c.obj
[10/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rtc_io_hal.c.obj
[11/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/soc_include_legacy_warn.c.obj
[12/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal.c.obj
[13/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/pcnt_hal.c.obj
[14/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal.c.obj
[15/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal_iram.c.obj
[16/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/touch_sensor_hal.c.obj
[17/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sigmadelta_hal.c.obj
[18/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal.c.obj
[19/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/timer_hal.c.obj
[20/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal_iram.c.obj
[21/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/gpio_hal.c.obj
[22/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal_iram.c.obj
[23/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal_iram.c.obj
[24/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal_iram.c.obj
[25/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal.c.obj
[26/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/mpu_hal.c.obj
[27/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal.c.obj
[28/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/soc_hal.c.obj
[29/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2s_hal.c.obj
[30/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/compare_set.c.obj
[31/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal.c.obj
[32/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/twai_hal.c.obj
[33/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/wdt_hal_iram.c.obj
[34/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal_iram.c.obj
[35/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/brownout_hal.c.obj
[36/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/adc_hal.c.obj
[37/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_pm.c.obj
[38/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_init.c.obj
[39/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_clk_init.c.obj
[40/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_time.c.obj
[41/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_wdt.c.obj
[42/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/soc_memory_layout.c.obj
[43/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/mcpwm_hal.c.obj
[44/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/adc_periph.c.obj
[45/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/dac_periph.c.obj
[46/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/gpio_periph.c.obj
[47/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/touch_sensor_hal.c.obj
[48/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/rtc_periph.c.obj
[49/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_sleep.c.obj
[50/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/rtc_io_periph.c.obj
[51/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/sdmmc_periph.c.obj
[52/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/interrupts.c.obj
[53/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/sdio_slave_periph.c.obj
[54/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/ledc_periph.c.obj
[55/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/spi_periph.c.obj
[56/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/i2s_periph.c.obj
[57/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/i2c_periph.c.obj
[58/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/uart_periph.c.obj
[59/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/esp32/rtc_clk.c.obj
[60/101] Building C object esp-idf/soc/soc/esp32/CMakeFiles/soc_esp32.dir/touch_sensor_periph.c.obj
[61/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sdio_slave_hal.c.obj
[62/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[63/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[64/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_api.c.obj
[65/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[66/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[67/101] Linking C static library esp-idf/log/liblog.a
[68/101] Linking C static library esp-idf/soc/soc/esp32/libsoc_esp32.a
[69/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_fields.c.obj
[70/101] Linking C static library esp-idf/soc/libsoc.a
[71/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[72/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_utility.c.obj
[73/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[74/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock.c.obj
[75/101] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[76/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[77/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[78/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[79/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[80/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[81/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[82/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[83/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[84/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[85/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[86/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[87/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[88/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[89/101] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[90/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[91/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[92/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/flash_encrypt.c.obj
[93/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[94/101] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[95/101] Linking C static library esp-idf/micro-ecc/libmicro-ecc.a
[96/101] Linking C static library esp-idf/bootloader_support/libbootloader_support.a
[97/101] Linking C static library esp-idf/efuse/libefuse.a
[98/101] Linking C static library esp-idf/spi_flash/libspi_flash.a
[99/101] Linking C static library esp-idf/main/libmain.a
[100/101] Linking C executable bootloader.elf
[101/101] Generating binary image from built executable
esptool.py v3.0
Generated /Users/borco/01-basic-app/build/esp-idf/build/bootloader/bootloader.bin
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /Users/borco/01-basic-app/build

Join users@lists.zephyrproject.org to automatically receive all group messages.