turgu1 / ESP-IDF-InkPlate

A porting effort to the ESP-IDF framework for the e-Radionica InkPlate software.
15 stars 9 forks source link

Example projects appear to be configured incorrectly for `idf.py build` #3

Closed makuto closed 2 years ago

makuto commented 3 years ago

I'm building on Ubuntu Linux for my Inkplate 10.

cd examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update
idf.py build

Gives the following output:

Executing action: all (aliases: build)
Running cmake in directory /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0 /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update"...
-- Found Git: /usr/bin/git (found version "2.25.1") 
CMake Warning at /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/git_submodules.cmake:52 (message):
  Git submodule components/openthread/openthread is out of date.  Run 'git
  submodule update --init --recursive' to fix.
Call Stack (most recent call first):
  /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check)
  /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/build.cmake:169 (__build_get_idf_git_revision)
  /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/idf.cmake:50 (__build_init)
  /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/project.cmake:7 (include)
  CMakeLists.txt:2 (include)

-- 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: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/sdkconfig
/home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/sdkconfig:309 CONFIG_ESP32_PANIC_PRINT_REBOOT was replaced with CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT
/home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/sdkconfig:494 CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE was replaced with CONFIG_ESP_COREDUMP_ENABLE_TO_NONE
/home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/sdkconfig:964 CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS was replaced with CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS
/home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/sdkconfig:965 CONFIG_SEMIHOSTFS_HOST_PATH_MAX_LEN was replaced with CONFIG_VFS_SEMIHOSTFS_HOST_PATH_MAX_LEN
-- Found PythonInterp: /home/macoy/.espressif/python_env/idf4.4_py3.8_env/bin/python (found version "3.8.10") 
-- Found Perl: /usr/bin/perl (found version "5.30.0") 
-- App "Inkplate-basic_custom_font" version: 9365c7f-dirty
-- Adding linker script /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32 esp_adc_cal 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_ipc esp_lcd esp_local_ctrl esp_netif esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 jsmn json libsodium log lwip mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/macoy/Repositories/inkplate/esp-idf/components/app_trace /home/macoy/Repositories/inkplate/esp-idf/components/app_update /home/macoy/Repositories/inkplate/esp-idf/components/asio /home/macoy/Repositories/inkplate/esp-idf/components/bootloader /home/macoy/Repositories/inkplate/esp-idf/components/bootloader_support /home/macoy/Repositories/inkplate/esp-idf/components/bt /home/macoy/Repositories/inkplate/esp-idf/components/cbor /home/macoy/Repositories/inkplate/esp-idf/components/cmock /home/macoy/Repositories/inkplate/esp-idf/components/coap /home/macoy/Repositories/inkplate/esp-idf/components/console /home/macoy/Repositories/inkplate/esp-idf/components/cxx /home/macoy/Repositories/inkplate/esp-idf/components/driver /home/macoy/Repositories/inkplate/esp-idf/components/efuse /home/macoy/Repositories/inkplate/esp-idf/components/esp-tls /home/macoy/Repositories/inkplate/esp-idf/components/esp32 /home/macoy/Repositories/inkplate/esp-idf/components/esp_adc_cal /home/macoy/Repositories/inkplate/esp-idf/components/esp_common /home/macoy/Repositories/inkplate/esp-idf/components/esp_eth /home/macoy/Repositories/inkplate/esp-idf/components/esp_event /home/macoy/Repositories/inkplate/esp-idf/components/esp_gdbstub /home/macoy/Repositories/inkplate/esp-idf/components/esp_hid /home/macoy/Repositories/inkplate/esp-idf/components/esp_http_client /home/macoy/Repositories/inkplate/esp-idf/components/esp_http_server /home/macoy/Repositories/inkplate/esp-idf/components/esp_https_ota /home/macoy/Repositories/inkplate/esp-idf/components/esp_https_server /home/macoy/Repositories/inkplate/esp-idf/components/esp_hw_support /home/macoy/Repositories/inkplate/esp-idf/components/esp_ipc /home/macoy/Repositories/inkplate/esp-idf/components/esp_lcd /home/macoy/Repositories/inkplate/esp-idf/components/esp_local_ctrl /home/macoy/Repositories/inkplate/esp-idf/components/esp_netif /home/macoy/Repositories/inkplate/esp-idf/components/esp_phy /home/macoy/Repositories/inkplate/esp-idf/components/esp_pm /home/macoy/Repositories/inkplate/esp-idf/components/esp_ringbuf /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom /home/macoy/Repositories/inkplate/esp-idf/components/esp_serial_slave_link /home/macoy/Repositories/inkplate/esp-idf/components/esp_system /home/macoy/Repositories/inkplate/esp-idf/components/esp_timer /home/macoy/Repositories/inkplate/esp-idf/components/esp_websocket_client /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi /home/macoy/Repositories/inkplate/esp-idf/components/espcoredump /home/macoy/Repositories/inkplate/esp-idf/components/esptool_py /home/macoy/Repositories/inkplate/esp-idf/components/expat /home/macoy/Repositories/inkplate/esp-idf/components/fatfs /home/macoy/Repositories/inkplate/esp-idf/components/freemodbus /home/macoy/Repositories/inkplate/esp-idf/components/freertos /home/macoy/Repositories/inkplate/esp-idf/components/hal /home/macoy/Repositories/inkplate/esp-idf/components/heap /home/macoy/Repositories/inkplate/esp-idf/components/idf_test /home/macoy/Repositories/inkplate/esp-idf/components/ieee802154 /home/macoy/Repositories/inkplate/esp-idf/components/jsmn /home/macoy/Repositories/inkplate/esp-idf/components/json /home/macoy/Repositories/inkplate/esp-idf/components/libsodium /home/macoy/Repositories/inkplate/esp-idf/components/log /home/macoy/Repositories/inkplate/esp-idf/components/lwip /home/macoy/Repositories/inkplate/esp-idf/components/mbedtls /home/macoy/Repositories/inkplate/esp-idf/components/mdns /home/macoy/Repositories/inkplate/esp-idf/components/mqtt /home/macoy/Repositories/inkplate/esp-idf/components/newlib /home/macoy/Repositories/inkplate/esp-idf/components/nghttp /home/macoy/Repositories/inkplate/esp-idf/components/nvs_flash /home/macoy/Repositories/inkplate/esp-idf/components/openssl /home/macoy/Repositories/inkplate/esp-idf/components/openthread /home/macoy/Repositories/inkplate/esp-idf/components/partition_table /home/macoy/Repositories/inkplate/esp-idf/components/perfmon /home/macoy/Repositories/inkplate/esp-idf/components/protobuf-c /home/macoy/Repositories/inkplate/esp-idf/components/protocomm /home/macoy/Repositories/inkplate/esp-idf/components/pthread /home/macoy/Repositories/inkplate/esp-idf/components/sdmmc /home/macoy/Repositories/inkplate/esp-idf/components/soc /home/macoy/Repositories/inkplate/esp-idf/components/spi_flash /home/macoy/Repositories/inkplate/esp-idf/components/spiffs /home/macoy/Repositories/inkplate/esp-idf/components/tcp_transport /home/macoy/Repositories/inkplate/esp-idf/components/tcpip_adapter /home/macoy/Repositories/inkplate/esp-idf/components/tinyusb /home/macoy/Repositories/inkplate/esp-idf/components/ulp /home/macoy/Repositories/inkplate/esp-idf/components/unity /home/macoy/Repositories/inkplate/esp-idf/components/usb /home/macoy/Repositories/inkplate/esp-idf/components/vfs /home/macoy/Repositories/inkplate/esp-idf/components/wear_levelling /home/macoy/Repositories/inkplate/esp-idf/components/wifi_provisioning /home/macoy/Repositories/inkplate/esp-idf/components/wpa_supplicant /home/macoy/Repositories/inkplate/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build
Running ninja in directory /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build
Executing "ninja all"...
[9/990] 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,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[282/990] Performing configure step for 'bootloader'
-- Found Git: /usr/bin/git (found version "2.25.1") 
CMake Warning at /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/git_submodules.cmake:52 (message):
  Git submodule components/openthread/openthread is out of date.  Run 'git
  submodule update --init --recursive' to fix.
Call Stack (most recent call first):
  /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check)
  /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/build.cmake:169 (__build_get_idf_git_revision)
  /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/idf.cmake:50 (__build_init)
  /home/macoy/Repositories/inkplate/esp-idf/tools/cmake/project.cmake:7 (include)
  CMakeLists.txt:52 (include)

-- 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: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/sdkconfig
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /home/macoy/Repositories/inkplate/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 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: /home/macoy/Repositories/inkplate/esp-idf/components/bootloader /home/macoy/Repositories/inkplate/esp-idf/components/bootloader_support /home/macoy/Repositories/inkplate/esp-idf/components/efuse /home/macoy/Repositories/inkplate/esp-idf/components/esp32 /home/macoy/Repositories/inkplate/esp-idf/components/esp_common /home/macoy/Repositories/inkplate/esp-idf/components/esp_hw_support /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom /home/macoy/Repositories/inkplate/esp-idf/components/esp_system /home/macoy/Repositories/inkplate/esp-idf/components/esptool_py /home/macoy/Repositories/inkplate/esp-idf/components/freertos /home/macoy/Repositories/inkplate/esp-idf/components/hal /home/macoy/Repositories/inkplate/esp-idf/components/log /home/macoy/Repositories/inkplate/esp-idf/components/bootloader/subproject/main /home/macoy/Repositories/inkplate/esp-idf/components/bootloader/subproject/components/micro-ecc /home/macoy/Repositories/inkplate/esp-idf/components/newlib /home/macoy/Repositories/inkplate/esp-idf/components/partition_table /home/macoy/Repositories/inkplate/esp-idf/components/soc /home/macoy/Repositories/inkplate/esp-idf/components/spi_flash /home/macoy/Repositories/inkplate/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build/bootloader
[369/990] Performing build step for 'bootloader'
[1/94] Generating project_elf_src_esp32.c
[2/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj
[3/94] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[4/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[5/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[6/94] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj
[7/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[8/94] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj
[9/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[10/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[11/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[12/94] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/cpu_hal.c.obj
[13/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj
[14/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[15/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[16/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj
[17/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj
[18/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[19/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[20/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[21/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj
[22/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj
[23/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[24/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[25/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[26/94] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[27/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[28/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[29/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[30/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[31/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[32/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[33/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[34/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[35/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[36/94] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[37/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[38/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[39/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[40/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[41/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[42/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[43/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[44/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[45/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[46/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[47/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[48/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj
[49/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[50/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[51/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj
[52/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[53/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[54/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj
[55/94] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[56/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj
[57/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj
[58/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[59/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[60/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
[61/94] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[62/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
[63/94] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
[64/94] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
[65/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
[66/94] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[67/94] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[68/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
[69/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
[70/94] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[71/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj
[72/94] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[73/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[74/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[75/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
[76/94] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[77/94] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
[78/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[79/94] Linking C static library esp-idf/log/liblog.a
[80/94] Linking C static library esp-idf/esp_rom/libesp_rom.a
[81/94] Linking C static library esp-idf/esp_common/libesp_common.a
[82/94] Linking C static library esp-idf/xtensa/libxtensa.a
[83/94] Linking C static library esp-idf/esp_hw_support/libesp_hw_support.a
[84/94] Linking C static library esp-idf/esp_system/libesp_system.a
[85/94] Linking C static library esp-idf/efuse/libefuse.a
[86/94] Linking C static library esp-idf/bootloader_support/libbootloader_support.a
[87/94] Linking C static library esp-idf/spi_flash/libspi_flash.a
[88/94] Linking C static library esp-idf/micro-ecc/libmicro-ecc.a
[89/94] Linking C static library esp-idf/soc/libsoc.a
[90/94] Linking C static library esp-idf/hal/libhal.a
[91/94] Linking C static library esp-idf/main/libmain.a
[92/94] Linking C executable bootloader.elf
[93/94] Generating binary image from built executable
esptool.py v3.2-dev
Merged 1 ELF section
Generated /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build/bootloader/bootloader.bin
[94/94] cd /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build/bootloader/esp-idf/esptool_py && /home/macoy/.espressif/python_env/idf4.4_py3.8_env/bin/python /home/macoy/Repositories/inkplate/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build/bootloader/bootloader.bin
Bootloader binary size 0x5ff0 bytes. 0x1010 bytes (17%) free.
[988/990] Linking CXX executable Inkplate-basic_custom_font.elf
FAILED: Inkplate-basic_custom_font.elf 
: && /home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++  -mlongcalls -Wno-frame-address   CMakeFiles/Inkplate-basic_custom_font.elf.dir/project_elf_src_esp32.c.obj  -o Inkplate-basic_custom_font.elf  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_ipc/libesp_ipc.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/app_update/libapp_update.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/vfs/libvfs.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/tcpip_adapter/libtcpip_adapter.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/esp_event/libesp_event.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/lwip/liblwip.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/xtensa/libxtensa.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/app_trace/libapp_trace.a  esp-idf/asio/libasio.a  esp-idf/cbor/libcbor.a  esp-idf/unity/libunity.a  esp-idf/cmock/libcmock.a  esp-idf/coap/libcoap.a  esp-idf/console/libconsole.a  esp-idf/nghttp/libnghttp.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/esp_adc_cal/libesp_adc_cal.a  esp-idf/esp_hid/libesp_hid.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/esp_lcd/libesp_lcd.a  esp-idf/protobuf-c/libprotobuf-c.a  esp-idf/protocomm/libprotocomm.a  esp-idf/mdns/libmdns.a  esp-idf/esp_local_ctrl/libesp_local_ctrl.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a  esp-idf/esp_websocket_client/libesp_websocket_client.a  esp-idf/expat/libexpat.a  esp-idf/wear_levelling/libwear_levelling.a  esp-idf/fatfs/libfatfs.a  esp-idf/freemodbus/libfreemodbus.a  esp-idf/jsmn/libjsmn.a  esp-idf/json/libjson.a  esp-idf/libsodium/liblibsodium.a  esp-idf/mqtt/libmqtt.a  esp-idf/openssl/libopenssl.a  esp-idf/perfmon/libperfmon.a  esp-idf/spiffs/libspiffs.a  esp-idf/ulp/libulp.a  esp-idf/wifi_provisioning/libwifi_provisioning.a  -Wl,--cref -Wl,--Map=/home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build/Inkplate-basic_custom_font.map  -Wl,--gc-sections  -fno-rtti  -fno-lto  esp-idf/unity/libunity.a  esp-idf/wear_levelling/libwear_levelling.a  esp-idf/protocomm/libprotocomm.a  esp-idf/protobuf-c/libprotobuf-c.a  esp-idf/mdns/libmdns.a  esp-idf/console/libconsole.a  esp-idf/json/libjson.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_ipc/libesp_ipc.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/app_update/libapp_update.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/vfs/libvfs.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/tcpip_adapter/libtcpip_adapter.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/esp_event/libesp_event.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/lwip/liblwip.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/xtensa/libxtensa.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/app_trace/libapp_trace.a  esp-idf/nghttp/libnghttp.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcore.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libespnow.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libmesh.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libpp.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libwapi.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_ipc/libesp_ipc.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/app_update/libapp_update.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/vfs/libvfs.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/tcpip_adapter/libtcpip_adapter.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/esp_event/libesp_event.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/lwip/liblwip.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/xtensa/libxtensa.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/app_trace/libapp_trace.a  esp-idf/nghttp/libnghttp.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcore.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libespnow.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libmesh.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libpp.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libwapi.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_ipc/libesp_ipc.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/app_update/libapp_update.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/vfs/libvfs.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/tcpip_adapter/libtcpip_adapter.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/esp_event/libesp_event.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/lwip/liblwip.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/xtensa/libxtensa.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/app_trace/libapp_trace.a  esp-idf/nghttp/libnghttp.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcore.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libespnow.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libmesh.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libpp.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libwapi.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_ipc/libesp_ipc.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/app_update/libapp_update.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/vfs/libvfs.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/tcpip_adapter/libtcpip_adapter.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/esp_event/libesp_event.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/lwip/liblwip.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/xtensa/libxtensa.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/app_trace/libapp_trace.a  esp-idf/nghttp/libnghttp.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcore.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libespnow.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libmesh.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libpp.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libwapi.a  esp-idf/esp_ringbuf/libesp_ringbuf.a  esp-idf/efuse/libefuse.a  esp-idf/esp_ipc/libesp_ipc.a  esp-idf/driver/libdriver.a  esp-idf/esp_pm/libesp_pm.a  esp-idf/mbedtls/libmbedtls.a  esp-idf/app_update/libapp_update.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/nvs_flash/libnvs_flash.a  esp-idf/pthread/libpthread.a  esp-idf/esp_gdbstub/libesp_gdbstub.a  esp-idf/espcoredump/libespcoredump.a  esp-idf/esp_phy/libesp_phy.a  esp-idf/esp_system/libesp_system.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/hal/libhal.a  esp-idf/vfs/libvfs.a  esp-idf/esp_eth/libesp_eth.a  esp-idf/tcpip_adapter/libtcpip_adapter.a  esp-idf/esp_netif/libesp_netif.a  esp-idf/esp_event/libesp_event.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/esp_wifi/libesp_wifi.a  esp-idf/lwip/liblwip.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/xtensa/libxtensa.a  esp-idf/esp_common/libesp_common.a  esp-idf/esp_timer/libesp_timer.a  esp-idf/freertos/libfreertos.a  esp-idf/newlib/libnewlib.a  esp-idf/cxx/libcxx.a  esp-idf/app_trace/libapp_trace.a  esp-idf/nghttp/libnghttp.a  esp-idf/esp-tls/libesp-tls.a  esp-idf/tcp_transport/libtcp_transport.a  esp-idf/esp_http_client/libesp_http_client.a  esp-idf/esp_http_server/libesp_http_server.a  esp-idf/esp_https_ota/libesp_https_ota.a  esp-idf/sdmmc/libsdmmc.a  esp-idf/esp_serial_slave_link/libesp_serial_slave_link.a  esp-idf/ulp/libulp.a  esp-idf/mbedtls/mbedtls/library/libmbedtls.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcoexist.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libcore.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libespnow.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libmesh.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libnet80211.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libpp.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a  /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32/libwapi.a  -Wl,--wrap=mbedtls_mpi_exp_mod  -u esp_app_desc  -u pthread_include_pthread_impl  -u pthread_include_pthread_cond_impl  -u pthread_include_pthread_local_storage_impl  -L /home/macoy/Repositories/inkplate/esp-idf/components/esp_phy/lib/esp32  -lphy  esp-idf/esp_phy/libesp_phy.a  -lphy  esp-idf/esp_phy/libesp_phy.a  -lphy  -lrtc  -u ld_include_highint_hdl  -u start_app  -u start_app_other_cores  -L /home/macoy/Repositories/inkplate/ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate-basic_partial_update/build/esp-idf/esp_system/ld  -T memory.ld  -T sections.ld  -u __ubsan_include  -L /home/macoy/Repositories/inkplate/esp-idf/components/esp_rom/esp32/ld  -T esp32.rom.ld  -T esp32.rom.api.ld  -T esp32.rom.libgcc.ld  -T esp32.rom.newlib-data.ld  -T esp32.rom.syscalls.ld  -Wl,--wrap=longjmp  -u __assert_func  -u vfs_include_syscalls_impl  -L /home/macoy/Repositories/inkplate/esp-idf/components/esp_wifi/lib/esp32  -L /home/macoy/Repositories/inkplate/esp-idf/components/soc/esp32/ld  -T esp32.peripherals.ld  -mfix-esp32-psram-cache-issue  -mfix-esp32-psram-cache-strategy=memw  /home/macoy/Repositories/inkplate/esp-idf/components/xtensa/esp32/libxt_hal.a  -Wl,--undefined=uxTopUsedPriority  -u app_main  -lm  esp-idf/newlib/libnewlib.a  -u newlib_include_heap_impl  -u newlib_include_syscalls_impl  -u newlib_include_pthread_impl  -u newlib_include_assert_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  -lgcc  esp-idf/cxx/libcxx.a  -u __cxx_fatal_exception  esp-idf/app_trace/libapp_trace.a  -lgcov  esp-idf/app_trace/libapp_trace.a  -lgcov  -lc && :
/home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/freertos/libfreertos.a(port_common.c.obj):(.literal.main_task+0x1c): undefined reference to `app_main'
/home/macoy/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/freertos/libfreertos.a(port_common.c.obj): in function `main_task':
/home/macoy/Repositories/inkplate/esp-idf/components/freertos/port/port_common.c:130: undefined reference to `app_main'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

I followed instructions here before running that command.

Upon reading the CMakeLists.txt, there don't look to be any statements that add the ESP-IDF-InkPlate/include. Additionally, the project isn't set up how esp-idf expects. For example, see hello_world, which has a main directory instead of a src directory.

I was able to successfully build and flash that hello_world project.

Is there something I'm missing when trying to build inkplate projects?

turgu1 commented 3 years ago

At this point in time, the library and the examples have not been configured to be used directly with the esp-idf, but with the PlatformIO IDE.

makuto commented 3 years ago

I have created a project which successfully builds using idf.py build. For reference, it's here. I'm not a big fan of CMake so I did the absolute minimum - manually adding the Inkplate library files to my main project library directly. This approach isn't "clean" enough to merit a good pull request to this repository. Do you intend to add CMake-only support? If not, feel free to close this issue.

turgu1 commented 3 years ago

Hello Makuto, thanks for this! I’m not a fan of CMake either. As soon as I can complete my current effort on the EPub-Inkplate software, I will look at your files and try to integrate them. Hope to be able to keep both the PlatformIO and the idf.py configs in the same project…

I will keep this open until I can look at it. Cheers and thanks again.

tajnymag commented 2 years ago

I have created a pull request with a basic support for native esp-idf environments, as I needed to work with an Inkplate device without the Platformio SDK

https://github.com/turgu1/ESP-IDF-InkPlate/pull/9