[0/1] Re-running CMake... -- ccache will be used for faster recompilation -- Building ESP-IDF components for target esp32s3 -- Project sdkconfig file E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/sdkconfig -- App "wheel" version: a8ab325-dirty -- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/esp-idf/esp_system/ld/memory.ld -- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/ld/esp32s3/sections.ld.in -- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.ld -- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld -- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld -- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld -- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld -- Adding linker script E:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/ld/esp32s3.peripherals.ld -- Components: adc_measure app_trace app_update bdc_motor bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format 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_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mcpwm_bdc_control modbus_tcp mqtt newlib nvs_flash openthread partition_table perfmon pid_ctrl protobuf-c protocomm pthread sdmmc servo soc spi_flash spiffs tcp_transport touch_element ulp unity usb vfs wear_levelling wifi_provisioning wifi_station wpa_supplicant xtensa -- Component paths: E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure E:/Espressif/frameworks/esp-idf-v5.0.4/components/app_trace E:/Espressif/frameworks/esp-idf-v5.0.4/components/app_update E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/bdc_motor E:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader E:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader_support E:/Espressif/frameworks/esp-idf-v5.0.4/components/bt E:/Espressif/frameworks/esp-idf-v5.0.4/components/cmock E:/Espressif/frameworks/esp-idf-v5.0.4/components/console E:/Espressif/frameworks/esp-idf-v5.0.4/components/cxx E:/Espressif/frameworks/esp-idf-v5.0.4/components/driver E:/Espressif/frameworks/esp-idf-v5.0.4/components/efuse E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp-tls E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_adc E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_eth E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_event E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_gdbstub E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hid E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_http_client E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_http_server E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_https_ota E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_https_server E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_lcd E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_local_ctrl E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_netif E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_partition E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_phy E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_pm E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_psram E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_ringbuf E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_timer E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_wifi E:/Espressif/frameworks/esp-idf-v5.0.4/components/espcoredump E:/Espressif/frameworks/esp-idf-v5.0.4/components/esptool_py E:/Espressif/frameworks/esp-idf-v5.0.4/components/fatfs E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos E:/Espressif/frameworks/esp-idf-v5.0.4/components/hal E:/Espressif/frameworks/esp-idf-v5.0.4/components/heap E:/Espressif/frameworks/esp-idf-v5.0.4/components/http_parser E:/Espressif/frameworks/esp-idf-v5.0.4/components/idf_test E:/Espressif/frameworks/esp-idf-v5.0.4/components/ieee802154 E:/Espressif/frameworks/esp-idf-v5.0.4/components/json E:/Espressif/frameworks/esp-idf-v5.0.4/components/log E:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/main E:/Espressif/frameworks/esp-idf-v5.0.4/components/mbedtls E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/modbus_tcp E:/Espressif/frameworks/esp-idf-v5.0.4/components/mqtt E:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib E:/Espressif/frameworks/esp-idf-v5.0.4/components/nvs_flash E:/Espressif/frameworks/esp-idf-v5.0.4/components/openthread E:/Espressif/frameworks/esp-idf-v5.0.4/components/partition_table E:/Espressif/frameworks/esp-idf-v5.0.4/components/perfmon E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/pid_ctrl E:/Espressif/frameworks/esp-idf-v5.0.4/components/protobuf-c E:/Espressif/frameworks/esp-idf-v5.0.4/components/protocomm E:/Espressif/frameworks/esp-idf-v5.0.4/components/pthread E:/Espressif/frameworks/esp-idf-v5.0.4/components/sdmmc E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/servo E:/Espressif/frameworks/esp-idf-v5.0.4/components/soc E:/Espressif/frameworks/esp-idf-v5.0.4/components/spi_flash E:/Espressif/frameworks/esp-idf-v5.0.4/components/spiffs E:/Espressif/frameworks/esp-idf-v5.0.4/components/tcp_transport E:/Espressif/frameworks/esp-idf-v5.0.4/components/touch_element E:/Espressif/frameworks/esp-idf-v5.0.4/components/ulp E:/Espressif/frameworks/esp-idf-v5.0.4/components/unity E:/Espressif/frameworks/esp-idf-v5.0.4/components/usb E:/Espressif/frameworks/esp-idf-v5.0.4/components/vfs E:/Espressif/frameworks/esp-idf-v5.0.4/components/wear_levelling E:/Espressif/frameworks/esp-idf-v5.0.4/components/wifi_provisioning E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/wifi_station E:/Espressif/frameworks/esp-idf-v5.0.4/components/wpa_supplicant E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build [1/16] Performing build step for 'bootloader' [1/1] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\wheel\build\bootloader\esp-idf\esptool_py && E:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe E:/Espressif/frameworks/esp-idf-v5.0.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/bootloader/bootloader.bin" Bootloader binary size 0x4f90 bytes. 0x3070 bytes (38%) free. [2/14] Building C object esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj [3/14] Linking C static library esp-idf\esp_app_format\libesp_app_format.a [4/14] Building C object esp-idf/adc_measure/CMakeFiles/__idf_adc_measure.dir/adc_measure.c.obj FAILED: esp-idf/adc_measure/CMakeFiles/__idf_adc_measure.dir/adc_measure.c.obj ccache E:\Espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include/freertos -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/esp_additions/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/soc/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/port/esp32s3/private_include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/. -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/soc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/hal/platform_port/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/include/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_rom/esp32s3 -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/soc -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_system/port/include/private -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_adc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_adc/interface -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_adc/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_adc/deprecated/include -mlongcalls -fdiagnostics-color=always -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 -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel=. -fmacro-prefix-map=E:/Espressif/frameworks/esp-idf-v5.0.4=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/adc_measure/CMakeFiles/__idf_adc_measure.dir/adc_measure.c.obj -MF esp-idf\adc_measure\CMakeFiles\__idf_adc_measure.dir\adc_measure.c.obj.d -o esp-idf/adc_measure/CMakeFiles/__idf_adc_measure.dir/adc_measure.c.obj -c E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c: In function 'adc_measure_init': E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:45:5: error: unknown type name 'adc_cali_line_fitting_config_t'; did you mean 'adc_cali_curve_fitting_config_t'? 45 | adc_cali_line_fitting_config_t cali_config = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | adc_cali_curve_fitting_config_t E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:46:9: error: field name not in record or union initializer 46 | .unit_id = unit, | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:46:9: note: (near initialization for 'cali_config') E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:46:20: error: 'unit' undeclared (first use in this function); did you mean 'uint'? 46 | .unit_id = unit, | ^~~~ | uint E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:46:20: note: each undeclared identifier is reported only once for each function it appears in E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:47:9: error: field name not in record or union initializer 47 | .atten = atten, | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:47:9: note: (near initialization for 'cali_config') E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:47:18: error: 'atten' undeclared (first use in this function) 47 | .atten = atten, | ^~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:47:18: warning: excess elements in scalar initializer E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:47:18: note: (near initialization for 'cali_config') E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:48:9: error: field name not in record or union initializer 48 | .bitwidth = ADC_BITWIDTH_DEFAULT, | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:48:9: note: (near initialization for 'cali_config') E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:48:21: warning: excess elements in scalar initializer 48 | .bitwidth = ADC_BITWIDTH_DEFAULT, | ^~~~~~~~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:48:21: note: (near initialization for 'cali_config') E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:50:11: error: implicit declaration of function 'adc_cali_create_scheme_line_fitting'; did you mean 'adc_cali_create_scheme_curve_fitting'? [-Werror=implicit-function-declaration] 50 | ret = adc_cali_create_scheme_line_fitting(&cali_config, &adc1_cali_handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | adc_cali_create_scheme_curve_fitting In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:10: E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c: In function 'adc_measure_one': E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:80: error: 'EXAMPLE_ADC1_CHAN0' undeclared (first use in this function) 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^~~~~~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:410:137: note: in definition of macro 'ESP_LOG_LEVEL' 410 | if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ | ^~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:9: note: in expansion of macro 'ESP_LOGI' 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:107: error: subscripted value is neither array nor pointer nor vector 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:410:137: note: in definition of macro 'ESP_LOG_LEVEL' 410 | if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ | ^~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:9: note: in expansion of macro 'ESP_LOGI' 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:107: error: subscripted value is neither array nor pointer nor vector 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:411:137: note: in definition of macro 'ESP_LOG_LEVEL' 411 | else if (level==ESP_LOG_WARN ) { esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ | ^~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:9: note: in expansion of macro 'ESP_LOGI' 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:107: error: subscripted value is neither array nor pointer nor vector 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:412:137: note: in definition of macro 'ESP_LOG_LEVEL' 412 | else if (level==ESP_LOG_DEBUG ) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ | ^~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:9: note: in expansion of macro 'ESP_LOGI' 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:107: error: subscripted value is neither array nor pointer nor vector 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:413:137: note: in definition of macro 'ESP_LOG_LEVEL' 413 | else if (level==ESP_LOG_VERBOSE ) { esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ | ^~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:9: note: in expansion of macro 'ESP_LOGI' 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:107: error: subscripted value is neither array nor pointer nor vector 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:414:137: note: in definition of macro 'ESP_LOG_LEVEL' 414 | else { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \ | ^~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/components/log/include/esp_log.h:342:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL' 342 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:75:9: note: in expansion of macro 'ESP_LOGI' 75 | ESP_LOGI(TAG, "ADC%d Channel[%d] Cali Voltage: %d mV", ADC_UNIT_1 + 1, EXAMPLE_ADC1_CHAN0, voltage[0][0]); | ^~~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:78:5: error: unknown type name 'retuen' 78 | retuen voltage; | ^~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:78:12: error: redeclaration of 'voltage' with no linkage 78 | retuen voltage; | ^~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:64:9: note: previous declaration of 'voltage' with type 'int' 64 | int voltage; /* mv */ | ^~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:78:12: warning: unused variable 'voltage' [-Wunused-variable] 78 | retuen voltage; | ^~~~~~~ E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:79:1: error: control reaches end of non-void function [-Werror=return-type] 79 | } | ^ cc1.exe: some warnings being treated as errors [5/14] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/station_example_main.c.obj E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/main/station_example_main.c:22:20: warning: 'TAG' defined but not used [-Wunused-variable] 22 | static const char *TAG = "wheel"; | ^~~ [6/14] Building C object esp-idf/mcpwm_bdc_control/CMakeFiles/__idf_mcpwm_bdc_control.dir/mcpwm_bdc_control.c.obj E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c: In function 'pid_loop_cb': E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/mcpwm_bdc_control/mcpwm_bdc_control.c:130:24: warning: unused variable 'motor' [-Wunused-variable] 130 | bdc_motor_handle_t motor = ctx->motor; | ^~~~~ ninja: build stopped: subcommand failed.