cvonk / OPNpool

Integrates the functionality of a Pentair pool controller into the smart home using ESP32 SoC.
GNU General Public License v3.0
78 stars 5 forks source link

Unable to provision #18

Open nickshew opened 1 year ago

nickshew commented 1 year ago

Hi Coert,

Thanks for the project. I have built one of the boards and flashed your standard code. I then used the apk to install OPNpool on a Samsung S9.

When I attempt to provision by pressing Continue after Selecting Provision Device from the upper right menu the screen flashes up a very brief message and then returns to the blank page with the Continue button.

I used a slow-mo video recording to see what the text said:

To provision your device please make sure that your Phone's Bluetooth is turned on and within range of your new device.

Scanning for OPNpool devices

console.txt

https://github.com/cvonk/OPNpool/assets/22906721/ba1e2c48-6eb7-44be-a96a-ec4e428465e7

Attached is the console output from the LOLIND32 and a very short video of the S9.

Any help would be greatly appreciated.

Regards Nick Shew

cvonk commented 1 year ago

It is trying to find BLE devices. Most common reasons why that would fail is a lack of permissions such as "exact position". I suggest running it with the Android debugger attached to your phone. What Android version is your phone on? If all else fails, you can always compile OPNpool with a static configuration.

nickshew commented 1 year ago

Thanks for getting back to me.

This is an old phone of mine, so having to drag back memories of how to use it!

However, the permissions appear to be good in that I can see nothing is denied and location is permitted while using app. The is no option to have it on all of the time.

The phone is a Samsung S9 and says it has the latest (for it) version. Android version 10.

I enabled developer on the phone and downloaded, installed and connected ADB. Unfortunately, I'm now struggling to find out how to get the debug information. I created a file called dumpstate.zip which 'adb bugreport' produced, but I'm not qualified to glean meaning from it. It does mention some buffering stats and opnpool BLEprovisioning. No idea if it's important though.

nickshew commented 1 year ago

On its way thanks.

cvonk commented 11 months ago

Sorry for the long delay. I had to travel to help care for a family member.

It might be easier for you to statically configure the esp32 code for your WiFi.

/C

Op wo 22 nov 2023 00:40 schreef nickshew @.***>:

On its way thanks.

— Reply to this email directly, view it on GitHub https://github.com/cvonk/OPNpool/issues/18#issuecomment-1821866017, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKIDGRVNTKAINO6QJPX5HLYFU3V5AVCNFSM6AAAAAA7EBTELCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRHA3DMMBRG4 . You are receiving this because you commented.Message ID: @.***>

nickshew commented 11 months ago

No problem, I hope everything is OK.

I originally went for the precompiled files as I was having difficulty understanding the compile method as I don't use the tools very often. I will revisit them. Thanks for taking a look.

Regards Nick

nickshew commented 11 months ago

Sorry to bother you again.

I have followed the instructions to statically configure the WiFi and MQTT. I have run into a problem when building that ota_update_task.h is missing when processing C:/OPNpool/interface/main/main.c. I have included the build output below.

I have also had C:/OPNpool/interface/main/mqtt_task.c:38:10: fatal error: coredump_to_server.h: No such file or directory

I feel I'm missing an important step.

Regards Nick

[0/1] Re-running CMake... -- Component directory C:/OPNpool/interface/components/coredump_to_server does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/OPNpool/interface/components/factory_reset_task does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/OPNpool/interface/components/ota_update_task does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/OPNpool/interface/components/wifi_connect does not contain a CMakeLists.txt file. No component will be added -- ccache will be used for faster recompilation -- Building ESP-IDF components for target esp32 -- Project sdkconfig file C:/OPNpool/interface/sdkconfig Loading defaults file C:/OPNpool/interface/sdkconfig.defaults... C:/OPNpool/interface/sdkconfig.defaults:15 CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH was replaced with CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH C:/OPNpool/interface/sdkconfig.defaults:16 CONFIG_ESP32_COREDUMP_DATA_FORMAT_ELF was replaced with CONFIG_ESP_COREDUMP_DATA_FORMAT_ELF C:/OPNpool/interface/sdkconfig.defaults:17 CONFIG_ESP32_CORE_DUMP_STACK_SIZE was replaced with CONFIG_ESP_COREDUMP_STACK_SIZE -- App "interface" version: v1.2.5-dirty -- Adding linker script C:/OPNpool/interface/build/esp-idf/esp_system/ld/memory.ld -- Adding linker script C:/espressif/esp-idf/components/esp_system/ld/esp32/sections.ld.in -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld -- Adding linker script C:/espressif/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 main 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: C:/espressif/esp-idf/components/app_trace C:/espressif/esp-idf/components/app_update C:/espressif/esp-idf/components/asio C:/espressif/esp-idf/components/bootloader C:/espressif/esp-idf/components/bootloader_support C:/espressif/esp-idf/components/bt C:/espressif/esp-idf/components/cbor C:/espressif/esp-idf/components/cmock C:/espressif/esp-idf/components/coap C:/espressif/esp-idf/components/console C:/espressif/esp-idf/components/cxx C:/espressif/esp-idf/components/driver C:/espressif/esp-idf/components/efuse C:/espressif/esp-idf/components/esp-tls C:/espressif/esp-idf/components/esp32 C:/espressif/esp-idf/components/esp_adc_cal C:/espressif/esp-idf/components/esp_common C:/espressif/esp-idf/components/esp_eth C:/espressif/esp-idf/components/esp_event C:/espressif/esp-idf/components/esp_gdbstub C:/espressif/esp-idf/components/esp_hid C:/espressif/esp-idf/components/esp_http_client C:/espressif/esp-idf/components/esp_http_server C:/espressif/esp-idf/components/esp_https_ota C:/espressif/esp-idf/components/esp_https_server C:/espressif/esp-idf/components/esp_hw_support C:/espressif/esp-idf/components/esp_ipc C:/espressif/esp-idf/components/esp_lcd C:/espressif/esp-idf/components/esp_local_ctrl C:/espressif/esp-idf/components/esp_netif C:/espressif/esp-idf/components/esp_phy C:/espressif/esp-idf/components/esp_pm C:/espressif/esp-idf/components/esp_ringbuf C:/espressif/esp-idf/components/esp_rom C:/espressif/esp-idf/components/esp_serial_slave_link C:/espressif/esp-idf/components/esp_system C:/espressif/esp-idf/components/esp_timer C:/espressif/esp-idf/components/esp_websocket_client C:/espressif/esp-idf/components/esp_wifi C:/espressif/esp-idf/components/espcoredump C:/espressif/esp-idf/components/esptool_py C:/espressif/esp-idf/components/expat C:/espressif/esp-idf/components/fatfs C:/espressif/esp-idf/components/freemodbus C:/espressif/esp-idf/components/freertos C:/espressif/esp-idf/components/hal C:/espressif/esp-idf/components/heap C:/espressif/esp-idf/components/idf_test C:/espressif/esp-idf/components/ieee802154 C:/espressif/esp-idf/components/jsmn C:/espressif/esp-idf/components/json C:/espressif/esp-idf/components/libsodium C:/espressif/esp-idf/components/log C:/espressif/esp-idf/components/lwip C:/OPNpool/interface/main C:/espressif/esp-idf/components/mbedtls C:/espressif/esp-idf/components/mdns C:/espressif/esp-idf/components/mqtt C:/espressif/esp-idf/components/newlib C:/espressif/esp-idf/components/nghttp C:/espressif/esp-idf/components/nvs_flash C:/espressif/esp-idf/components/openssl C:/espressif/esp-idf/components/openthread C:/espressif/esp-idf/components/partition_table C:/espressif/esp-idf/components/perfmon C:/espressif/esp-idf/components/protobuf-c C:/espressif/esp-idf/components/protocomm C:/espressif/esp-idf/components/pthread C:/espressif/esp-idf/components/sdmmc C:/espressif/esp-idf/components/soc C:/espressif/esp-idf/components/spi_flash C:/espressif/esp-idf/components/spiffs C:/espressif/esp-idf/components/tcp_transport C:/espressif/esp-idf/components/tcpip_adapter C:/espressif/esp-idf/components/tinyusb C:/espressif/esp-idf/components/ulp C:/espressif/esp-idf/components/unity C:/espressif/esp-idf/components/usb C:/espressif/esp-idf/components/vfs C:/espressif/esp-idf/components/wear_levelling C:/espressif/esp-idf/components/wifi_provisioning C:/espressif/esp-idf/components/wpa_supplicant C:/espressif/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: C:/OPNpool/interface/build [2/1077] 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, factory,app,factory,0x10000,1344K, ota_0,app,ota_0,0x160000,1280K, ota_1,app,ota_1,0x2a0000,1280K, coredump,data,coredump,0x3e0000,128K,


[638/1077] Performing build step for 'bootloader' [0/1] Re-running CMake... -- Building ESP-IDF components for target esp32 -- Project sdkconfig file C:/OPNpool/interface/sdkconfig -- Adding linker script C:/espressif/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script C:/espressif/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Adding linker script C:/espressif/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld -- Adding linker script C:/espressif/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: C:/espressif/esp-idf/components/bootloader C:/espressif/esp-idf/components/bootloader_support C:/espressif/esp-idf/components/efuse C:/espressif/esp-idf/components/esp32 C:/espressif/esp-idf/components/esp_common C:/espressif/esp-idf/components/esp_hw_support C:/espressif/esp-idf/components/esp_rom C:/espressif/esp-idf/components/esp_system C:/espressif/esp-idf/components/esptool_py C:/espressif/esp-idf/components/freertos C:/espressif/esp-idf/components/hal C:/espressif/esp-idf/components/log C:/espressif/esp-idf/components/bootloader/subproject/main C:/espressif/esp-idf/components/bootloader/subproject/components/micro-ecc C:/espressif/esp-idf/components/newlib C:/espressif/esp-idf/components/partition_table C:/espressif/esp-idf/components/soc C:/espressif/esp-idf/components/spi_flash C:/espressif/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: C:/OPNpool/interface/build/bootloader [1/98] Building C object esp-idf/esp_rom/CMakeFiles/idf_esp_rom.dir/patches/esp_rom_sys.c.obj [2/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj [3/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/cpu_util.c.obj [4/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/port/esp32/chip_info.c.obj [5/98] Building C object esp-idf/xtensa/CMakeFiles/idf_xtensa.dir/xt_trax.c.obj [6/98] Building C object esp-idf/log/CMakeFiles/idf_log.dir/log_noos.c.obj [7/98] Building C object esp-idf/esp_system/CMakeFiles/idf_esp_system.dir/esp_err.c.obj [8/98] Building C object esp-idf/esp_rom/CMakeFiles/idf_esp_rom.dir/patches/esp_rom_crc.c.obj [9/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/compare_set.c.obj [10/98] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj [11/98] Building C object esp-idf/xtensa/CMakeFiles/idf_xtensa.dir/eri.c.obj [12/98] Building C object esp-idf/esp_rom/CMakeFiles/idf_esp_rom.dir/patches/esp_rom_tjpgd.c.obj [13/98] Building C object esp-idf/log/CMakeFiles/idf_log.dir/log.c.obj [14/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj [15/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj [16/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj [17/98] Building C object esp-idf/log/CMakeFiles/idf_log.dir/log_buffers.c.obj [18/98] Building ASM object esp-idf/esp_rom/CMakeFiles/idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj [19/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj [20/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj [21/98] Building C object esp-idf/esp_rom/CMakeFiles/idf_esp_rom.dir/patches/esp_rom_efuse.c.obj [22/98] Building C object esp-idf/esp_rom/CMakeFiles/idf_esp_rom.dir/patches/esp_rom_uart.c.obj [23/98] Building C object esp-idf/esp_hw_support/CMakeFiles/idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj [24/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/i2c_periph.c.obj [25/98] Building C object esp-idf/main/CMakeFiles/idf_main.dir/bootloader_start.c.obj [26/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/soc_include_legacy_warn.c.obj [27/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/i2s_periph.c.obj [28/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/adc_periph.c.obj [29/98] Building C object esp-idf/hal/CMakeFiles/idf_hal.dir/efuse_hal.c.obj [30/98] Building C object esp-idf/hal/CMakeFiles/idf_hal.dir/esp32/efuse_hal.c.obj [31/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/pcnt_periph.c.obj [32/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rmt_periph.c.obj [33/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/mcpwm_periph.c.obj [34/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/sdio_slave_periph.c.obj [35/98] Building C object esp-idf/hal/CMakeFiles/idf_hal.dir/cpu_hal.c.obj [36/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/ledc_periph.c.obj [37/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/sdmmc_periph.c.obj [38/98] Building C object esp-idf/hal/CMakeFiles/idf_hal.dir/wdt_hal_iram.c.obj [39/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/interrupts.c.obj [40/98] Building C object esp-idf/efuse/CMakeFiles/idf_efuse.dir/src/esp_efuse_utility.c.obj [41/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/lcd_periph.c.obj [42/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/gpio_periph.c.obj [43/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/dac_periph.c.obj [44/98] Building C object esp-idf/efuse/CMakeFiles/idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj [45/98] Building C object esp-idf/hal/CMakeFiles/idf_hal.dir/mpu_hal.c.obj [46/98] Building C object esp-idf/efuse/CMakeFiles/idf_efuse.dir/src/esp_efuse_api.c.obj [47/98] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj [48/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/lldesc.c.obj [49/98] Linking C static library esp-idf\log\liblog.a [50/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/uart_periph.c.obj [51/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_io_periph.c.obj [52/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/touch_sensor_periph.c.obj [53/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/timer_periph.c.obj [54/98] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/spi_periph.c.obj [55/98] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj [56/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_common_loader.c.obj [57/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_mem.c.obj [58/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_random.c.obj [59/98] Building C object esp-idf/spi_flash/CMakeFiles/idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj [60/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_common.c.obj [61/98] Linking C static library esp-idf\esp_rom\libesp_rom.a [62/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_clock_init.c.obj [63/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/secure_boot.c.obj [64/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/flash_encrypt.c.obj [65/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_panic.c.obj [66/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj [67/98] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj [68/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_console.c.obj [69/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_console_loader.c.obj [70/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_utility.c.obj [71/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/flash_partitions.c.obj [72/98] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj [73/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj [74/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/esp_image_format.c.obj [75/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_efuse.c.obj [76/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj [77/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_init.c.obj [78/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_flash.c.obj [79/98] Building C object esp-idf/micro-ecc/CMakeFiles/idf_micro-ecc.dir/uECC_verify_antifault.c.obj [80/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj [81/98] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj [82/98] Building C object esp-idf/efuse/CMakeFiles/idf_efuse.dir/esp32/esp_efuse_fields.c.obj [83/98] Linking C static library esp-idf\esp_common\libesp_common.a [84/98] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj [85/98] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj [86/98] Linking C static library esp-idf\xtensa\libxtensa.a [87/98] Linking C static library esp-idf\esp_hw_support\libesp_hw_support.a [88/98] Linking C static library esp-idf\esp_system\libesp_system.a [89/98] Linking C static library esp-idf\efuse\libefuse.a [90/98] Linking C static library esp-idf\bootloader_support\libbootloader_support.a [91/98] Linking C static library esp-idf\spi_flash\libspi_flash.a [92/98] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a [93/98] Linking C static library esp-idf\soc\libsoc.a [94/98] Linking C static library esp-idf\hal\libhal.a [95/98] Linking C static library esp-idf\main\libmain.a [96/98] Linking C executable bootloader.elf [97/98] Generating binary image from built executable esptool.py v3.3.4-dev Creating esp32 image... Merged 1 ELF section Successfully created esp32 image. Generated C:/OPNpool/interface/build/bootloader/bootloader.bin [98/98] cmd.exe /C "cd /D C:\OPNpool\interface\build\bootloader\esp-idf\esptool_py && C:\espressif\bin\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/espressif/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/OPNpool/interface/build/bootloader/bootloader.bin" Bootloader binary size 0x6420 bytes. 0xbe0 bytes (11%) free. [1044/1075] Building C object esp-idf/main/CMakeFiles/idf_main.dir/main.c.obj FAILED: esp-idf/main/CMakeFiles/idf_main.dir/main.c.obj ccache C:\espressif\bin\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -IC:/OPNpool/interface/build/config -IC:/OPNpool/interface/main -IC:/OPNpool/interface/components/coredump_to_server/include -IC:/OPNpool/interface/components/factory_reset_task/include -IC:/OPNpool/interface/components/ota_update_task/include -IC:/OPNpool/interface/components/wifi_connect/include -IC:/espressif/esp-idf/components/newlib/platform_include -IC:/espressif/esp-idf/components/freertos/include -IC:/espressif/esp-idf/components/freertos/include/esp_additions/freertos -IC:/espressif/esp-idf/components/freertos/port/xtensa/include -IC:/espressif/esp-idf/components/freertos/include/esp_additions -IC:/espressif/esp-idf/components/esp_hw_support/include -IC:/espressif/esp-idf/components/esp_hw_support/include/soc -IC:/espressif/esp-idf/components/esp_hw_support/include/soc/esp32 -IC:/espressif/esp-idf/components/esp_hw_support/port/esp32/. -IC:/espressif/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/espressif/esp-idf/components/heap/include -IC:/espressif/esp-idf/components/log/include -IC:/espressif/esp-idf/components/lwip/include/apps -IC:/espressif/esp-idf/components/lwip/include/apps/sntp -IC:/espressif/esp-idf/components/lwip/lwip/src/include -IC:/espressif/esp-idf/components/lwip/port/esp32/include -IC:/espressif/esp-idf/components/lwip/port/esp32/include/arch -IC:/espressif/esp-idf/components/soc/include -IC:/espressif/esp-idf/components/soc/esp32/. -IC:/espressif/esp-idf/components/soc/esp32/include -IC:/espressif/esp-idf/components/hal/esp32/include -IC:/espressif/esp-idf/components/hal/include -IC:/espressif/esp-idf/components/hal/platform_port/include -IC:/espressif/esp-idf/components/esp_rom/include -IC:/espressif/esp-idf/components/esp_rom/include/esp32 -IC:/espressif/esp-idf/components/esp_rom/esp32 -IC:/espressif/esp-idf/components/esp_common/include -IC:/espressif/esp-idf/components/esp_system/include -IC:/espressif/esp-idf/components/esp_system/port/soc -IC:/espressif/esp-idf/components/esp_system/port/public_compat -IC:/espressif/esp-idf/components/esp32/include -IC:/espressif/esp-idf/components/xtensa/include -IC:/espressif/esp-idf/components/xtensa/esp32/include -IC:/espressif/esp-idf/components/driver/include -IC:/espressif/esp-idf/components/driver/esp32/include -IC:/espressif/esp-idf/components/esp_pm/include -IC:/espressif/esp-idf/components/esp_ringbuf/include -IC:/espressif/esp-idf/components/efuse/include -IC:/espressif/esp-idf/components/efuse/esp32/include -IC:/espressif/esp-idf/components/vfs/include -IC:/espressif/esp-idf/components/esp_wifi/include -IC:/espressif/esp-idf/components/esp_event/include -IC:/espressif/esp-idf/components/esp_netif/include -IC:/espressif/esp-idf/components/esp_eth/include -IC:/espressif/esp-idf/components/tcpip_adapter/include -IC:/espressif/esp-idf/components/esp_phy/include -IC:/espressif/esp-idf/components/esp_phy/esp32/include -IC:/espressif/esp-idf/components/esp_ipc/include -IC:/espressif/esp-idf/components/app_trace/include -IC:/espressif/esp-idf/components/esp_timer/include -IC:/espressif/esp-idf/components/esp_http_server/include -IC:/espressif/esp-idf/components/nghttp/port/include -IC:/espressif/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/espressif/esp-idf/components/esp_http_client/include -IC:/espressif/esp-idf/components/esp_https_ota/include -IC:/espressif/esp-idf/components/bootloader_support/include -IC:/espressif/esp-idf/components/nvs_flash/include -IC:/espressif/esp-idf/components/spi_flash/include -IC:/espressif/esp-idf/components/mbedtls/port/include -IC:/espressif/esp-idf/components/mbedtls/mbedtls/include -IC:/espressif/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/espressif/esp-idf/components/app_update/include -IC:/espressif/esp-idf/components/json/cJSON -IC:/espressif/esp-idf/components/mqtt/esp-mqtt/include -IC:/espressif/esp-idf/components/tcp_transport/include -IC:/espressif/esp-idf/components/esp-tls -IC:/espressif/esp-idf/components/esp-tls/esp-tls-crypto -IC:/espressif/esp-idf/components/mdns/include -IC:/espressif/esp-idf/components/console -IC:/espressif/esp-idf/components/espcoredump/include -IC:/espressif/esp-idf/components/espcoredump/include/port/xtensa -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fmacro-prefix-map=C:/OPNpool/interface=. -fmacro-prefix-map=C:/espressif/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4.6\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj -MF esp-idf\main\CMakeFiles__idf_main.dir\main.c.obj.d -o esp-idf/main/CMakeFiles/idf_main.dir/main.c.obj -c C:/OPNpool/interface/main/main.c C:/OPNpool/interface/main/main.c:35:10: fatal error: ota_update_task.h: No such file or directory

include "ota_update_task.h"

      ^~~~~~~~~~~~~~~~~~~

compilation terminated. [1065/1075] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/hass_task.c.obj ninja: build stopped: subcommand failed.