wheel/build/log/idf_py_stdout_output_9768
2024-01-24 12:00:45 +08:00

44 lines
4.2 KiB
Plaintext

[1/11] Building C object esp-idf/adc_measure/CMakeFiles/__idf_adc_measure.dir/adc_measure.c.obj
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_intr_alloc.h:11,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:20,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/spinlock.h:11,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:74,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/portable.h:58,
from E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:70,
from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:9:
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:22:25: warning: passing argument 1 of 'adc_oneshot_config_channel' makes pointer from integer without a cast [-Wint-conversion]
22 | #define ADC_V_UNIT ADC_UNIT_2
| ^~~~~~~~~~
| |
| int
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_common/include/esp_err.h:117:30: note: in definition of macro 'ESP_ERROR_CHECK'
117 | esp_err_t err_rc_ = (x); \
| ^
E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:94:48: note: in expansion of macro 'ADC_V_UNIT'
94 | ESP_ERROR_CHECK(adc_oneshot_config_channel(ADC_V_UNIT, ADC_V_CHAN, &config));
| ^~~~~~~~~~
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/components/adc_measure/adc_measure.c:14:
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_adc/include/esp_adc/adc_oneshot.h:68:64: note: expected 'adc_oneshot_unit_handle_t' {aka 'struct adc_oneshot_unit_ctx_t *'} but argument is of type 'int'
68 | esp_err_t adc_oneshot_config_channel(adc_oneshot_unit_handle_t handle, adc_channel_t channel, const adc_oneshot_chan_cfg_t *config);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
[2/11] Linking C static library esp-idf\adc_measure\libadc_measure.a
[3/11] 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.
[4/9] 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:23:20: warning: 'TAG' defined but not used [-Wunused-variable]
23 | static const char *TAG = "wheel";
| ^~~
[5/9] Linking C static library esp-idf\main\libmain.a
[6/9] Generating ld/sections.ld
[7/9] Linking CXX executable wheel.elf
[8/9] Generating binary image from built executable
esptool.py v4.6.2
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/wheel.bin
[9/9] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\wheel\build\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 partition --type app E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/partition_table/partition-table.bin E:/Espressif/frameworks/esp-idf-v5.0.4/app/wheel/build/wheel.bin"
wheel.bin binary size 0xb6550 bytes. Smallest app partition is 0x100000 bytes. 0x49ab0 bytes (29%) free.