Files
v2x-sniffer/v2x_fw/build/log/idf_py_stdout_output_241256

90 lines
14 KiB
Plaintext

Command: ninja all
[1/11] Linking C static library esp-idf/main/libmain.a
[2/11] Performing build step for 'bootloader'
[1/1] cd /home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/build/bootloader/esp-idf/esptool_py && /home/claw/.espressif/python_env/idf5.5_py3.13_env/bin/python /home/claw/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x2000 /home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/build/bootloader/bootloader.bin
Bootloader binary size 0x56a0 bytes. 0x960 bytes (10%) free.
[3/11] No install step for 'bootloader'
[4/11] Building C object esp-idf/v2x_driver/CMakeFiles/__idf_v2x_driver.dir/v2x_driver.c.obj
FAILED: esp-idf/v2x_driver/CMakeFiles/__idf_v2x_driver.dir/v2x_driver.c.obj
/home/claw/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\"v5.5.1\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/build/config -I/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver -I/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components -I/home/claw/esp/esp-idf/components/newlib/platform_include -I/home/claw/esp/esp-idf/components/freertos/config/include -I/home/claw/esp/esp-idf/components/freertos/config/include/freertos -I/home/claw/esp/esp-idf/components/freertos/config/riscv/include -I/home/claw/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/claw/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/claw/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/claw/esp/esp-idf/components/freertos/esp_additions/include -I/home/claw/esp/esp-idf/components/esp_hw_support/include -I/home/claw/esp/esp-idf/components/esp_hw_support/include/soc -I/home/claw/esp/esp-idf/components/esp_hw_support/include/soc/esp32c5 -I/home/claw/esp/esp-idf/components/esp_hw_support/dma/include -I/home/claw/esp/esp-idf/components/esp_hw_support/ldo/include -I/home/claw/esp/esp-idf/components/esp_hw_support/debug_probe/include -I/home/claw/esp/esp-idf/components/esp_hw_support/mspi_timing_tuning/include -I/home/claw/esp/esp-idf/components/esp_hw_support/mspi_timing_tuning/tuning_scheme_impl/include -I/home/claw/esp/esp-idf/components/esp_hw_support/power_supply/include -I/home/claw/esp/esp-idf/components/esp_hw_support/port/esp32c5/. -I/home/claw/esp/esp-idf/components/esp_hw_support/port/esp32c5/include -I/home/claw/esp/esp-idf/components/esp_hw_support/port/esp32c5/private_include -I/home/claw/esp/esp-idf/components/esp_hw_support/mspi_timing_tuning/port/esp32c5/. -I/home/claw/esp/esp-idf/components/esp_hw_support/mspi_timing_tuning/port/esp32c5/include -I/home/claw/esp/esp-idf/components/heap/include -I/home/claw/esp/esp-idf/components/heap/tlsf -I/home/claw/esp/esp-idf/components/log/include -I/home/claw/esp/esp-idf/components/soc/include -I/home/claw/esp/esp-idf/components/soc/esp32c5 -I/home/claw/esp/esp-idf/components/soc/esp32c5/include -I/home/claw/esp/esp-idf/components/soc/esp32c5/register -I/home/claw/esp/esp-idf/components/hal/platform_port/include -I/home/claw/esp/esp-idf/components/hal/esp32c5/include -I/home/claw/esp/esp-idf/components/hal/include -I/home/claw/esp/esp-idf/components/esp_rom/include -I/home/claw/esp/esp-idf/components/esp_rom/esp32c5/include -I/home/claw/esp/esp-idf/components/esp_rom/esp32c5/include/esp32c5 -I/home/claw/esp/esp-idf/components/esp_rom/esp32c5 -I/home/claw/esp/esp-idf/components/esp_common/include -I/home/claw/esp/esp-idf/components/esp_system/include -I/home/claw/esp/esp-idf/components/esp_system/port/soc -I/home/claw/esp/esp-idf/components/esp_system/port/include/riscv -I/home/claw/esp/esp-idf/components/esp_system/port/include/private -I/home/claw/esp/esp-idf/components/riscv/include -I/home/claw/esp/esp-idf/components/lwip/include -I/home/claw/esp/esp-idf/components/lwip/include/apps -I/home/claw/esp/esp-idf/components/lwip/include/apps/sntp -I/home/claw/esp/esp-idf/components/lwip/lwip/src/include -I/home/claw/esp/esp-idf/components/lwip/port/include -I/home/claw/esp/esp-idf/components/lwip/port/freertos/include -I/home/claw/esp/esp-idf/components/lwip/port/esp32xx/include -I/home/claw/esp/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/claw/esp/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/include -I/home/claw/esp/esp-idf/components/esp_wifi/include -I/home/claw/esp/esp-idf/components/esp_wifi/include/local -I/home/claw/esp/esp-idf/components/esp_wifi/wifi_apps/include -I/home/claw/esp/esp-idf/components/esp_wifi/wifi_apps/nan_app/include -I/home/claw/esp/esp-idf/components/esp_event/include -I/home/claw/esp/esp-idf/components/esp_phy/include -I/home/claw/esp/esp-idf/components/esp_phy/esp32c5/include -I/home/claw/esp/esp-idf/components/esp_netif/include -I/home/claw/esp/esp-idf/components/nvs_flash/include -I/home/claw/esp/esp-idf/components/esp_partition/include -I/home/claw/esp/esp-idf/components/esp_timer/include -I/home/claw/esp/esp-idf/components/driver/deprecated -I/home/claw/esp/esp-idf/components/driver/i2c/include -I/home/claw/esp/esp-idf/components/driver/touch_sensor/include -I/home/claw/esp/esp-idf/components/driver/twai/include -I/home/claw/esp/esp-idf/components/esp_pm/include -I/home/claw/esp/esp-idf/components/esp_ringbuf/include -I/home/claw/esp/esp-idf/components/esp_driver_gpio/include -I/home/claw/esp/esp-idf/components/esp_driver_pcnt/include -I/home/claw/esp/esp-idf/components/esp_driver_gptimer/include -I/home/claw/esp/esp-idf/components/esp_driver_spi/include -I/home/claw/esp/esp-idf/components/esp_driver_mcpwm/include -I/home/claw/esp/esp-idf/components/esp_driver_ana_cmpr/include -I/home/claw/esp/esp-idf/components/esp_driver_i2s/include -I/home/claw/esp/esp-idf/components/esp_driver_sdmmc/include -I/home/claw/esp/esp-idf/components/sdmmc/include -I/home/claw/esp/esp-idf/components/esp_driver_sdspi/include -I/home/claw/esp/esp-idf/components/esp_driver_sdio/include -I/home/claw/esp/esp-idf/components/esp_driver_dac/include -I/home/claw/esp/esp-idf/components/esp_driver_rmt/include -I/home/claw/esp/esp-idf/components/esp_driver_tsens/include -I/home/claw/esp/esp-idf/components/esp_driver_sdm/include -I/home/claw/esp/esp-idf/components/esp_driver_i2c/include -I/home/claw/esp/esp-idf/components/esp_driver_uart/include -I/home/claw/esp/esp-idf/components/vfs/include -I/home/claw/esp/esp-idf/components/esp_driver_ledc/include -I/home/claw/esp/esp-idf/components/esp_driver_parlio/include -I/home/claw/esp/esp-idf/components/esp_driver_usb_serial_jtag/include -I/home/claw/esp/esp-idf/components/esp_driver_twai/include -I/home/claw/esp/esp-idf/components/fatfs/diskio -I/home/claw/esp/esp-idf/components/fatfs/src -I/home/claw/esp/esp-idf/components/fatfs/vfs -I/home/claw/esp/esp-idf/components/wear_levelling/include -I/home/claw/esp/esp-idf/components/spiffs/include -I/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/st7735/include -march=rv32imac_zicsr_zifencei -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw=. -fmacro-prefix-map=/home/claw/esp/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/v2x_driver/CMakeFiles/__idf_v2x_driver.dir/v2x_driver.c.obj -MF esp-idf/v2x_driver/CMakeFiles/__idf_v2x_driver.dir/v2x_driver.c.obj.d -o esp-idf/v2x_driver/CMakeFiles/__idf_v2x_driver.dir/v2x_driver.c.obj -c /home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c: In function 'v2x_sd_init':
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:58:10: error: 'spi_bus_config_t' has no member named 'quad_wp_io_num'; did you mean 'quadwp_io_num'?
58 | .quad_wp_io_num = -1,
| ^~~~~~~~~~~~~~
| quadwp_io_num
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:59:10: error: 'spi_bus_config_t' has no member named 'quad_hd_io_num'; did you mean 'quadhd_io_num'?
59 | .quad_hd_io_num = -1,
| ^~~~~~~~~~~~~~
| quadhd_io_num
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:54:32: error: missing braces around initializer [-Werror=missing-braces]
54 | spi_bus_config_t bus_cfg = {
| ^
55 | .mosi_io_num = SD_PIN_MOSI,
| }
56 | .miso_io_num = -1,
| }
57 | .sclk_io_num = SD_PIN_CLK,
58 | .quad_wp_io_num = -1,
| { }
59 | .quad_hd_io_num = -1,
| { }
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:85:5: error: unknown type name 'esp_vfs_fat_sdspi_mount_config_t'; did you mean 'esp_vfs_fat_sdmmc_mount_config_t'?
85 | esp_vfs_fat_sdspi_mount_config_t mount_config = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| esp_vfs_fat_sdmmc_mount_config_t
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:86:9: error: field name not in record or union initializer
86 | .max_files = 4,
| ^
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:86:9: note: (near initialization for 'mount_config')
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:87:9: error: field name not in record or union initializer
87 | .format_if_mount_failed = false,
| ^
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:87:9: note: (near initialization for 'mount_config')
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:87:35: warning: excess elements in scalar initializer
87 | .format_if_mount_failed = false,
| ^~~~~
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:87:35: note: (near initialization for 'mount_config')
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:88:9: error: field name not in record or union initializer
88 | .allocation_unit_size = 16 * 1024,
| ^
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:88:9: note: (near initialization for 'mount_config')
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:88:33: warning: excess elements in scalar initializer
88 | .allocation_unit_size = 16 * 1024,
| ^~
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:88:33: note: (near initialization for 'mount_config')
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:92:10: error: 'sdspi_device_config_t' has no member named 'host_device'
92 | .host_device = SD_SPI_HOST,
| ^~~~~~~~~~~
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:93:10: error: 'sdspi_device_config_t' has no member named 'host_device_handle'
93 | .host_device_handle = s_sd_spi,
| ^~~~~~~~~~~~~~~~~~
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:93:31: error: incompatible types when initializing type 'enum <anonymous>' using type 'spi_device_handle_t' {aka 'struct spi_device_t *'}
93 | .host_device_handle = s_sd_spi,
| ^~~~~~~~
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:96:56: error: passing argument 2 of 'esp_vfs_fat_sdspi_mount' from incompatible pointer type [-Wincompatible-pointer-types]
96 | ret = esp_vfs_fat_sdspi_mount(SD_CARD_MOUNT_POINT, &sdspi_config, &mount_config);
| ^~~~~~~~~~~~~
| |
| sdspi_device_config_t *
In file included from /home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:22:
/home/claw/esp/esp-idf/components/fatfs/vfs/esp_vfs_fat.h:207:55: note: expected 'const sdmmc_host_t *' but argument is of type 'sdspi_device_config_t *'
207 | const sdmmc_host_t* host_config_input,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:96:71: error: passing argument 3 of 'esp_vfs_fat_sdspi_mount' from incompatible pointer type [-Wincompatible-pointer-types]
96 | ret = esp_vfs_fat_sdspi_mount(SD_CARD_MOUNT_POINT, &sdspi_config, &mount_config);
| ^~~~~~~~~~~~~
| |
| int *
/home/claw/esp/esp-idf/components/fatfs/vfs/esp_vfs_fat.h:208:64: note: expected 'const sdspi_device_config_t *' but argument is of type 'int *'
208 | const sdspi_device_config_t* slot_config,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/claw/.openclaw/workspace/v2x-sniffer/v2x_fw/components/v2x_driver/v2x_driver.c:96:11: error: too few arguments to function 'esp_vfs_fat_sdspi_mount'
96 | ret = esp_vfs_fat_sdspi_mount(SD_CARD_MOUNT_POINT, &sdspi_config, &mount_config);
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/claw/esp/esp-idf/components/fatfs/vfs/esp_vfs_fat.h:206:11: note: declared here
206 | esp_err_t esp_vfs_fat_sdspi_mount(const char* base_path,
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
[5/11] Completed 'bootloader'
ninja: build stopped: subcommand failed.