Ai-Thinker-Open / ESP32-A1S-AudioKit

Ai-Thinker AudioKit Board SDK - 安信可 esp32-a1s 音频模组开发板
Other
132 stars 63 forks source link

When using this repo, the build is failing #29

Open jvanlangen opened 3 years ago

jvanlangen commented 3 years ago

I've downloaded the ESP-IDF 3.x version, also downloaded the ESP-ADF (which builds and flashes correctly) it to the ESP-A1S. But fails when running with a i2c_bus.c:101 (i2c_bus_write_bytes):I2C Bus WriteReg Error so I thought I need to use this version.

But when I override the ESP-ADF path with the content of this repo, the build will fail:

> Executing task: cmake --build . <

[3/357] cmd.exe /C "cd /D C:\Dev\ESP-ADF\pipeline_play_sdcard_muisc\build\esp-idf\partition_table && C...bin\cmake.exe -E echo *******************************************************************************" 
Partition table binary generated. Contents:
*******************************************************************************
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[9/357] Building C object esp-idf/esp_peripherals/CMakeFiles/idf_component_esp_peripherals.dir/periph_console.c.obj
FAILED: esp-idf/esp_peripherals/CMakeFiles/idf_component_esp_peripherals.dir/periph_console.c.obj
ccache C:\Users\jvanl\.espressif\tools\xtensa-esp32-elf\1.22.0-97-gc752ad5d-5.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DADF_VER=\"\" -DESP_PLATFORM -DGCC_NOT_5_2_0=0 -DHAVE_CONFIG_H -DIDF_VER=\"v3.3.5\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/include -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/adc_button -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/gpio_isr -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/sdcard -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/touch -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/button -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/blufi -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/IS31FL3216 -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/aw2013 -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/driver/i2c_bus -Iconfig -IC:/Users/jvanl/esp/esp-idf/components/driver/include -IC:/Users/jvanl/esp/esp-idf/components/esp_ringbuf/include -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/include -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es8388 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es8374 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es8311 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es7243 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es7148 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/ac101 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/tas5805m -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/zl38063 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/zl38063/api_lib -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/zl38063/example_apps -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/zl38063/firmware -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/include -IC:/Users/jvanl/esp/esp-idf/components/esp_adc_cal/include -IC:/Users/jvanl/esp/esp-adf/components/audio_sal/include -IC:/Users/jvanl/esp/esp-idf/components/fatfs/src -IC:/Users/jvanl/esp/esp-idf/components/wear_levelling/include -IC:/Users/jvanl/esp/esp-idf/components/spi_flash/include -IC:/Users/jvanl/esp/esp-idf/components/sdmmc/include -IC:/Users/jvanl/esp/esp-idf/components/console -IC:/Users/jvanl/esp/esp-adf/components/audio_pipeline/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_audio/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_codec/include/codec -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_codec/include/processing -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_upnp/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_ssdp/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/recorder_engine/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/audio_misc/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_sip/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/mrm_client/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/lib/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/wake_word_engine/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/speech_command_recognition/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/acoustic_algorithm/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/esp-tts/esp_tts_chinese/include -IC:/Users/jvanl/esp/esp-idf/components/nghttp/port/include -IC:/Users/jvanl/esp/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/Users/jvanl/esp/esp-idf/components/tcp_transport/include -IC:/Users/jvanl/esp/esp-idf/components/lwip/include/apps -IC:/Users/jvanl/esp/esp-idf/components/lwip/include/apps/sntp -IC:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include -IC:/Users/jvanl/esp/esp-idf/components/lwip/port/esp32/include -IC:/Users/jvanl/esp/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/jvanl/esp/esp-idf/components/lwip/include_compat -IC:/Users/jvanl/esp/esp-idf/components/lwip/port/esp32/tcp_isn -IC:/Users/jvanl/esp/esp-idf/components/vfs/include -IC:/Users/jvanl/esp/esp-idf/components/esp-tls -IC:/Users/jvanl/esp/esp-idf/components/mbedtls/port/include -IC:/Users/jvanl/esp/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/jvanl/esp/esp-idf/components/esp32/include -IC:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include -IC:/Users/jvanl/esp/esp-idf/components/esp_event/include -IC:/Users/jvanl/esp/esp-idf/components/log/include -IC:/Users/jvanl/esp/esp-idf/components/efuse/include -IC:/Users/jvanl/esp/esp-idf/components/efuse/esp32/include -IC:/Users/jvanl/esp/esp-idf/components/newlib/platform_include -IC:/Users/jvanl/esp/esp-idf/components/newlib/include -IC:/Users/jvanl/esp/esp-idf/components/freertos/include -IC:/Users/jvanl/esp/esp-idf/components/app_trace/include -IC:/Users/jvanl/esp/esp-idf/components/heap/include -IC:/Users/jvanl/esp/esp-idf/components/soc/esp32/include -IC:/Users/jvanl/esp/esp-idf/components/soc/include -IC:/Users/jvanl/esp/esp-adf/components/audio_board/include -IC:/Users/jvanl/esp/esp-adf/components/audio_board/lyrat_v4_3 -IC:/Users/jvanl/esp/esp-idf/components/spiffs/include -IC:/Users/jvanl/esp/esp-adf/components/display_service/include -IC:/Users/jvanl/esp/esp-adf/components/display_service/led_indicator/include -IC:/Users/jvanl/esp/esp-adf/components/display_service/led_bar/include -IC:/Users/jvanl/esp/esp-adf/components/esp_dispatcher/include -IC:/Users/jvanl/esp/esp-idf/components/wpa_supplicant/include -IC:/Users/jvanl/esp/esp-idf/components/wpa_supplicant/port/include -mlongcalls   -mlongcalls -Og -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -nostdlib -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -std=gnu99 -Wno-old-style-declaration -MD -MT esp-idf/esp_peripherals/CMakeFiles/idf_component_esp_peripherals.dir/periph_console.c.obj -MF esp-idf\esp_peripherals\CMakeFiles\idf_component_esp_peripherals.dir\periph_console.c.obj.d -o esp-idf/esp_peripherals/CMakeFiles/idf_component_esp_peripherals.dir/periph_console.c.obj   -c C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_console.c
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_console.c: In function 'console_get_line':
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_console.c:106:33: error: 'CONFIG_ESP_CONSOLE_UART_NUM' undeclared (first use in this function)
     int nread = uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, (uint8_t *)&c, 1, time_to_wait);
                                 ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_console.c:106:33: note: each undeclared identifier is reported only once for each function it appears in
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_console.c: In function '_console_init':
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_console.c:266:25: error: 'CONFIG_ESP_CONSOLE_UART_NUM' undeclared (first use in this function)
     uart_driver_install(CONFIG_ESP_CONSOLE_UART_NUM, console->buffer_size * 2, 0, 0, NULL, 0);
                         ^
[12/357] Building C object esp-idf/esp_peripherals/CMakeFiles/idf_component_esp_peripherals.dir/periph_wifi.c.obj
FAILED: esp-idf/esp_peripherals/CMakeFiles/idf_component_esp_peripherals.dir/periph_wifi.c.obj
ccache C:\Users\jvanl\.espressif\tools\xtensa-esp32-elf\1.22.0-97-gc752ad5d-5.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DADF_VER=\"\" -DESP_PLATFORM -DGCC_NOT_5_2_0=0 -DHAVE_CONFIG_H -DIDF_VER=\"v3.3.5\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/include -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/adc_button -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/gpio_isr -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/sdcard -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/touch -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/button -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/blufi -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/IS31FL3216 -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/lib/aw2013 -IC:/Users/jvanl/esp/esp-adf/components/esp_peripherals/driver/i2c_bus -Iconfig -IC:/Users/jvanl/esp/esp-idf/components/driver/include -IC:/Users/jvanl/esp/esp-idf/components/esp_ringbuf/include -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/include -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es8388 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es8374 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es8311 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es7243 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/es7148 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/ac101 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/tas5805m -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/zl38063 -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/zl38063/api_lib -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/zl38063/example_apps -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/zl38063/firmware -IC:/Users/jvanl/esp/esp-adf/components/audio_hal/driver/include -IC:/Users/jvanl/esp/esp-idf/components/esp_adc_cal/include -IC:/Users/jvanl/esp/esp-adf/components/audio_sal/include -IC:/Users/jvanl/esp/esp-idf/components/fatfs/src -IC:/Users/jvanl/esp/esp-idf/components/wear_levelling/include -IC:/Users/jvanl/esp/esp-idf/components/spi_flash/include -IC:/Users/jvanl/esp/esp-idf/components/sdmmc/include -IC:/Users/jvanl/esp/esp-idf/components/console -IC:/Users/jvanl/esp/esp-adf/components/audio_pipeline/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_audio/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_codec/include/codec -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_codec/include/processing -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_upnp/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_ssdp/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/recorder_engine/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/audio_misc/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/esp_sip/include -IC:/Users/jvanl/esp/esp-adf/components/esp-adf-libs/mrm_client/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/lib/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/wake_word_engine/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/speech_command_recognition/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/acoustic_algorithm/include -IC:/Users/jvanl/esp/esp-adf/components/esp-sr/esp-tts/esp_tts_chinese/include -IC:/Users/jvanl/esp/esp-idf/components/nghttp/port/include -IC:/Users/jvanl/esp/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/Users/jvanl/esp/esp-idf/components/tcp_transport/include -IC:/Users/jvanl/esp/esp-idf/components/lwip/include/apps -IC:/Users/jvanl/esp/esp-idf/components/lwip/include/apps/sntp -IC:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include -IC:/Users/jvanl/esp/esp-idf/components/lwip/port/esp32/include -IC:/Users/jvanl/esp/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/jvanl/esp/esp-idf/components/lwip/include_compat -IC:/Users/jvanl/esp/esp-idf/components/lwip/port/esp32/tcp_isn -IC:/Users/jvanl/esp/esp-idf/components/vfs/include -IC:/Users/jvanl/esp/esp-idf/components/esp-tls -IC:/Users/jvanl/esp/esp-idf/components/mbedtls/port/include -IC:/Users/jvanl/esp/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/jvanl/esp/esp-idf/components/esp32/include -IC:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include -IC:/Users/jvanl/esp/esp-idf/components/esp_event/include -IC:/Users/jvanl/esp/esp-idf/components/log/include -IC:/Users/jvanl/esp/esp-idf/components/efuse/include -IC:/Users/jvanl/esp/esp-idf/components/efuse/esp32/include -IC:/Users/jvanl/esp/esp-idf/components/newlib/platform_include -IC:/Users/jvanl/esp/esp-idf/components/newlib/include -IC:/Users/jvanl/esp/esp-idf/components/freertos/include -IC:/Users/jvanl/esp/esp-idf/components/app_trace/include -IC:/Users/jvanl/esp/esp-idf/components/heap/include -IC:/Users/jvanl/esp/esp-idf/components/soc/esp32/include -IC:/Users/jvanl/esp/esp-idf/components/soc/include -IC:/Users/jvanl/esp/esp-adf/components/audio_board/include -IC:/Users/jvanl/esp/esp-adf/components/audio_board/lyrat_v4_3 -IC:/Users/jvanl/esp/esp-idf/components/spiffs/include -IC:/Users/jvanl/esp/esp-adf/components/display_service/include -IC:/Users/jvanl/esp/esp-adf/components/display_service/led_indicator/include -IC:/Users/jvanl/esp/esp-adf/components/display_service/led_bar/include -IC:/Users/jvanl/esp/esp-adf/components/esp_dispatcher/include -IC:/Users/jvanl/esp/esp-idf/components/wpa_supplicant/include -IC:/Users/jvanl/esp/esp-idf/components/wpa_supplicant/port/include -mlongcalls   -mlongcalls -Og -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -nostdlib -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -std=gnu99 -Wno-old-style-declaration -MD -MT esp-idf/esp_peripherals/CMakeFiles/idf_component_esp_peripherals.dir/periph_wifi.c.obj -MF esp-idf\esp_peripherals\CMakeFiles\idf_component_esp_peripherals.dir\periph_wifi.c.obj.d -o esp-idf/esp_peripherals/CMakeFiles/idf_component_esp_peripherals.dir/periph_wifi.c.obj   -c C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c: In function '_wifi_smartconfig_event_callback':
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:109:14: error: 'SC_EVENT_SCAN_DONE' undeclared (first use in this function)
         case SC_EVENT_SCAN_DONE:
              ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:109:14: note: each undeclared identifier is reported only once for each function it appears in
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:113:14: error: 'SC_EVENT_FOUND_CHANNEL' undeclared (first use in this function)
         case SC_EVENT_FOUND_CHANNEL:
              ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:117:14: error: 'SC_EVENT_GOT_SSID_PSWD' undeclared (first use in this function)
         case SC_EVENT_GOT_SSID_PSWD:
              ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:119:13: error: unknown type name 'smartconfig_event_got_ssid_pswd_t'
             smartconfig_event_got_ssid_pswd_t *evt = (smartconfig_event_got_ssid_pswd_t *)event_data;
             ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:119:55: error: 'smartconfig_event_got_ssid_pswd_t' undeclared (first use in this function)
             smartconfig_event_got_ssid_pswd_t *evt = (smartconfig_event_got_ssid_pswd_t *)event_data;
                                                       ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:119:90: error: expected expression before ')' token
             smartconfig_event_got_ssid_pswd_t *evt = (smartconfig_event_got_ssid_pswd_t *)event_data;
                                                                                          ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:121:42: error: request for member 'ssid' in something not a structure or union
             memcpy(sta_conf.sta.ssid, evt->ssid, sizeof(sta_conf.sta.ssid));
                                          ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:122:46: error: request for member 'password' in something not a structure or union
             memcpy(sta_conf.sta.password, evt->password, sizeof(sta_conf.sta.password));
                                              ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:123:41: error: request for member 'bssid_set' in something not a structure or union
             sta_conf.sta.bssid_set = evt->bssid_set;
                                         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:125:47: error: request for member 'bssid' in something not a structure or union
                 memcpy(sta_conf.sta.bssid, evt->bssid, sizeof(sta_conf.sta.bssid));
                                               ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:143:14: error: 'SC_EVENT_SEND_ACK_DONE' undeclared (first use in this function)
         case SC_EVENT_SEND_ACK_DONE:
              ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c: In function 'periph_wifi_config_start':
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:243:9: error: unknown type name 'smartconfig_start_config_t'
         smartconfig_start_config_t cfg = SMARTCONFIG_START_CONFIG_DEFAULT();
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:243:42: error: implicit declaration of function 'SMARTCONFIG_START_CONFIG_DEFAULT' [-Werror=implicit-function-declaration]
         smartconfig_start_config_t cfg = SMARTCONFIG_START_CONFIG_DEFAULT();
                                          ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:244:38: warning: passing argument 1 of 'esp_smartconfig_start' from incompatible pointer type [-Wincompatible-pointer-types]
         err |= esp_smartconfig_start(&cfg);
                                      ^
In file included from C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:29:0:
C:/Users/jvanl/esp/esp-idf/components/esp32/include/esp_smartconfig.h:76:11: note: expected 'sc_callback_t {aka void (*)(enum <anonymous>,  void *)}' but argument is of type 'int *'
 esp_err_t esp_smartconfig_start(sc_callback_t cb, ...);
           ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:245:36: error: 'SC_EVENT' undeclared (first use in this function)
         esp_event_handler_register(SC_EVENT, ESP_EVENT_ANY_ID, &_wifi_smartconfig_event_callback, NULL);
                                    ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c: In function '_wifi_event_callback':
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:298:23: error: 'WIFI_EVENT' undeclared (first use in this function)
     if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) {
                       ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:298:49: error: 'WIFI_EVENT_STA_START' undeclared (first use in this function)
     if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) {
                                                 ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:300:31: error: 'IP_EVENT' undeclared (first use in this function)
     }  else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) {
                               ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:300:55: error: 'IP_EVENT_STA_GOT_IP' undeclared (first use in this function)
     }  else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) {
                                                       ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:301:9: error: unknown type name 'ip_event_got_ip_t'
         ip_event_got_ip_t *event = (ip_event_got_ip_t *) event_data;
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:301:37: error: 'ip_event_got_ip_t' undeclared (first use in this function)
         ip_event_got_ip_t *event = (ip_event_got_ip_t *) event_data;
                                     ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:301:56: error: expected expression before ')' token
         ip_event_got_ip_t *event = (ip_event_got_ip_t *) event_data;
                                                        ^
In file included from C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43:0,
                 from C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
                 from C:/Users/jvanl/esp/esp-idf/components/esp32/include/esp_event_legacy.h:23,
                 from C:/Users/jvanl/esp/esp-idf/components/esp_event/include/esp_event.h:26,
                 from C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:27:
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:199:45: note: in definition of macro 'ip4_addr1'
 #define ip4_addr1(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[0])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:33:24: note: in expansion of macro 'ip4_addr1_16'
 #define IP2STR(ipaddr) ip4_addr1_16(ipaddr), \
                        ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:308:137: note: in expansion of macro 'IP2STR'
         if (level==ESP_LOG_ERROR )          { esp_log_write(ESP_LOG_ERROR,      tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:200:45: note: in definition of macro 'ip4_addr2'
 #define ip4_addr2(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[1])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:5: note: in expansion of macro 'ip4_addr2_16'
     ip4_addr2_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:308:137: note: in expansion of macro 'IP2STR'
         if (level==ESP_LOG_ERROR )          { esp_log_write(ESP_LOG_ERROR,      tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:201:45: note: in definition of macro 'ip4_addr3'
 #define ip4_addr3(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[2])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:35:5: note: in expansion of macro 'ip4_addr3_16'
     ip4_addr3_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:308:137: note: in expansion of macro 'IP2STR'
         if (level==ESP_LOG_ERROR )          { esp_log_write(ESP_LOG_ERROR,      tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:202:45: note: in definition of macro 'ip4_addr4'
 #define ip4_addr4(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[3])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:36:5: note: in expansion of macro 'ip4_addr4_16'
     ip4_addr4_16(ipaddr)
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:308:137: note: in expansion of macro 'IP2STR'
         if (level==ESP_LOG_ERROR )          { esp_log_write(ESP_LOG_ERROR,      tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:199:45: note: in definition of macro 'ip4_addr1'
 #define ip4_addr1(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[0])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:33:24: note: in expansion of macro 'ip4_addr1_16'
 #define IP2STR(ipaddr) ip4_addr1_16(ipaddr), \
                        ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:309:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_WARN )      { esp_log_write(ESP_LOG_WARN,       tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:200:45: note: in definition of macro 'ip4_addr2'
 #define ip4_addr2(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[1])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:5: note: in expansion of macro 'ip4_addr2_16'
     ip4_addr2_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:309:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_WARN )      { esp_log_write(ESP_LOG_WARN,       tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:201:45: note: in definition of macro 'ip4_addr3'
 #define ip4_addr3(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[2])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:35:5: note: in expansion of macro 'ip4_addr3_16'
     ip4_addr3_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:309:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_WARN )      { esp_log_write(ESP_LOG_WARN,       tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:202:45: note: in definition of macro 'ip4_addr4'
 #define ip4_addr4(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[3])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:36:5: note: in expansion of macro 'ip4_addr4_16'
     ip4_addr4_16(ipaddr)
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:309:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_WARN )      { esp_log_write(ESP_LOG_WARN,       tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:199:45: note: in definition of macro 'ip4_addr1'
 #define ip4_addr1(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[0])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:33:24: note: in expansion of macro 'ip4_addr1_16'
 #define IP2STR(ipaddr) ip4_addr1_16(ipaddr), \
                        ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:310:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_DEBUG )     { esp_log_write(ESP_LOG_DEBUG,      tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:200:45: note: in definition of macro 'ip4_addr2'
 #define ip4_addr2(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[1])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:5: note: in expansion of macro 'ip4_addr2_16'
     ip4_addr2_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:310:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_DEBUG )     { esp_log_write(ESP_LOG_DEBUG,      tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:201:45: note: in definition of macro 'ip4_addr3'
 #define ip4_addr3(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[2])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:35:5: note: in expansion of macro 'ip4_addr3_16'
     ip4_addr3_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:310:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_DEBUG )     { esp_log_write(ESP_LOG_DEBUG,      tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:202:45: note: in definition of macro 'ip4_addr4'
 #define ip4_addr4(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[3])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:36:5: note: in expansion of macro 'ip4_addr4_16'
     ip4_addr4_16(ipaddr)
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:310:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_DEBUG )     { esp_log_write(ESP_LOG_DEBUG,      tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:199:45: note: in definition of macro 'ip4_addr1'
 #define ip4_addr1(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[0])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:33:24: note: in expansion of macro 'ip4_addr1_16'
 #define IP2STR(ipaddr) ip4_addr1_16(ipaddr), \
                        ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:311:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_VERBOSE )   { esp_log_write(ESP_LOG_VERBOSE,    tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:200:45: note: in definition of macro 'ip4_addr2'
 #define ip4_addr2(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[1])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:5: note: in expansion of macro 'ip4_addr2_16'
     ip4_addr2_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:311:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_VERBOSE )   { esp_log_write(ESP_LOG_VERBOSE,    tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:201:45: note: in definition of macro 'ip4_addr3'
 #define ip4_addr3(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[2])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:35:5: note: in expansion of macro 'ip4_addr3_16'
     ip4_addr3_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:311:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_VERBOSE )   { esp_log_write(ESP_LOG_VERBOSE,    tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:202:45: note: in definition of macro 'ip4_addr4'
 #define ip4_addr4(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[3])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:36:5: note: in expansion of macro 'ip4_addr4_16'
     ip4_addr4_16(ipaddr)
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:311:137: note: in expansion of macro 'IP2STR'
         else if (level==ESP_LOG_VERBOSE )   { esp_log_write(ESP_LOG_VERBOSE,    tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:199:45: note: in definition of macro 'ip4_addr1'
 #define ip4_addr1(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[0])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:33:24: note: in expansion of macro 'ip4_addr1_16'
 #define IP2STR(ipaddr) ip4_addr1_16(ipaddr), \
                        ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:312:137: note: in expansion of macro 'IP2STR'
         else                                { esp_log_write(ESP_LOG_INFO,       tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:200:45: note: in definition of macro 'ip4_addr2'
 #define ip4_addr2(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[1])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:5: note: in expansion of macro 'ip4_addr2_16'
     ip4_addr2_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:312:137: note: in expansion of macro 'IP2STR'
         else                                { esp_log_write(ESP_LOG_INFO,       tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:201:45: note: in definition of macro 'ip4_addr3'
 #define ip4_addr3(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[2])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:35:5: note: in expansion of macro 'ip4_addr3_16'
     ip4_addr3_16(ipaddr), \
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:312:137: note: in expansion of macro 'IP2STR'
         else                                { esp_log_write(ESP_LOG_INFO,       tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:53: error: request for member 'ip_info' in something not a structure or union
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
                                                     ^
C:/Users/jvanl/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:202:45: note: in definition of macro 'ip4_addr4'
 #define ip4_addr4(ipaddr) (((const u8_t*)(&(ipaddr)->addr))[3])
                                             ^
C:/Users/jvanl/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:36:5: note: in expansion of macro 'ip4_addr4_16'
     ip4_addr4_16(ipaddr)
     ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:312:137: note: in expansion of macro 'IP2STR'
         else                                { esp_log_write(ESP_LOG_INFO,       tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
                                                                                                                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:320:41: note: in expansion of macro 'ESP_LOG_LEVEL'
         if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
                                         ^
C:/Users/jvanl/esp/esp-idf/components/log/include/esp_log.h:276:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
 #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO,    tag, format, ##__VA_ARGS__)
                                      ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:302:9: note: in expansion of macro 'ESP_LOGI'
         ESP_LOGI(TAG, "Got ip:" IPSTR, IP2STR(&event->ip_info.ip));
         ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:311:56: error: 'WIFI_EVENT_STA_DISCONNECTED' undeclared (first use in this function)
     } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) {
                                                        ^
In file included from C:/Users/jvanl/esp/esp-idf/components/esp32/include/esp_wpa2.h:20:0,
                 from C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:26:
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c: In function '_wifi_init':
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:393:48: error: 'WIFI_EVENT' undeclared (first use in this function)
     ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &_wifi_event_callback, self));
                                                ^
C:/Users/jvanl/esp/esp-idf/components/esp32/include/esp_err.h:117:31: note: in definition of macro 'ESP_ERROR_CHECK'
         esp_err_t __err_rc = (x);                                       \
                               ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:394:48: error: 'IP_EVENT' undeclared (first use in this function)
     ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &_wifi_event_callback, self));
                                                ^
C:/Users/jvanl/esp/esp-idf/components/esp32/include/esp_err.h:117:31: note: in definition of macro 'ESP_ERROR_CHECK'
         esp_err_t __err_rc = (x);                                       \
                               ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:394:58: error: 'IP_EVENT_STA_GOT_IP' undeclared (first use in this function)
     ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &_wifi_event_callback, self));
                                                          ^
C:/Users/jvanl/esp/esp-idf/components/esp32/include/esp_err.h:117:31: note: in definition of macro 'ESP_ERROR_CHECK'
         esp_err_t __err_rc = (x);                                       \
                               ^
C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:434:25: error: too few arguments to function 'esp_wifi_sta_wpa2_ent_enable'
         ESP_ERROR_CHECK(esp_wifi_sta_wpa2_ent_enable());
                         ^
C:/Users/jvanl/esp/esp-idf/components/esp32/include/esp_err.h:117:31: note: in definition of macro 'ESP_ERROR_CHECK'
         esp_err_t __err_rc = (x);                                       \
                               ^
In file included from C:/Users/jvanl/esp/esp-adf/components/esp_peripherals/periph_wifi.c:26:0:
C:/Users/jvanl/esp/esp-idf/components/esp32/include/esp_wpa2.h:47:11: note: declared here
 esp_err_t esp_wifi_sta_wpa2_ent_enable(const esp_wpa2_config_t *config);
           ^
cc1.exe: some warnings being treated as errors
[18/357] Performing build step for 'bootloader'
[1/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/cpu_util.c.obj
[2/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk.c.obj
[3/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/gpio_periph.c.obj
[4/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_clk_init.c.obj
[5/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_pm.c.obj
[6/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_periph.c.obj
[7/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_sleep.c.obj
[8/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/sdio_slave_periph.c.obj
[9/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_init.c.obj
[10/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_time.c.obj
[11/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/spi_periph.c.obj
[12/55] Building C object esp-idf/log/CMakeFiles/idf_component_log.dir/log.c.obj
[13/55] Building C object esp-idf/spi_flash/CMakeFiles/idf_component_spi_flash.dir/spi_flash_rom_patch.c.obj
[14/55] Building C object esp-idf/micro-ecc/CMakeFiles/idf_component_micro-ecc.dir/micro-ecc/uECC.c.obj
[15/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/rtc_wdt.c.obj
[16/55] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_api.c.obj
[17/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/soc_memory_layout.c.obj
[18/55] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_utility.c.obj
[19/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/esp32/sdmmc_periph.c.obj
[20/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_clock.c.obj
[21/55] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/esp32/esp_efuse_table.c.obj
[22/55] Building C object esp-idf/efuse/CMakeFiles/idf_component_efuse.dir/src/esp_efuse_fields.c.obj
[23/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot_signatures.c.obj
[24/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_partitions.c.obj
[25/55] Generating dummy_main_src.c
[26/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_encrypt.c.obj
[27/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_common.c.obj
[28/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/secure_boot.c.obj
[29/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/flash_qio_mode.c.obj
[30/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_random.c.obj
[31/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_utility.c.obj
[32/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash_config.c.obj
[33/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/esp_image_format.c.obj
[34/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_sha.c.obj
[35/55] Building C object esp-idf/main/CMakeFiles/idf_component_main.dir/bootloader_start.c.obj
[36/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_flash.c.obj
[37/55] Linking C static library esp-idf\log\liblog.a
[38/55] Linking C static library esp-idf\spi_flash\libspi_flash.a
[39/55] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[40/55] Generating idf_component_log.sections_info
[41/55] Generating idf_component_spi_flash.sections_info
[42/55] Linking C static library esp-idf\efuse\libefuse.a
[43/55] Generating idf_component_micro-ecc.sections_info
[44/55] Generating idf_component_efuse.sections_info
[45/55] Linking C static library esp-idf\main\libmain.a
[46/55] Generating idf_component_main.sections_info
[47/55] Building C object esp-idf/bootloader_support/CMakeFiles/idf_component_bootloader_support.dir/src/bootloader_init.c.obj
[48/55] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[49/55] Generating idf_component_bootloader_support.sections_info
[50/55] Building C object esp-idf/soc/CMakeFiles/idf_component_soc.dir/src/memory_layout_utils.c.obj
[51/55] Linking C static library esp-idf\soc\libsoc.a
[52/55] Generating idf_component_soc.sections_info
[53/55] Building C object CMakeFiles/bootloader.elf.dir/dummy_main_src.c.obj
[54/55] Linking C executable bootloader.elf
[55/55] Generating bootloader.bin
esptool.py v2.9-dev
ninja: build stopped: subcommand failed.
The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake --build ." terminated with exit code: 1.