86 lines
17 KiB
Plaintext
86 lines
17 KiB
Plaintext
[1/15] Performing build step for 'bootloader'
|
|
|
|
[1/1] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\esp32_shock\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/esp32_shock/build/bootloader/bootloader.bin"
|
|
|
|
Bootloader binary size 0x5080 bytes. 0x2f80 bytes (37%) free.
|
|
|
|
[2/13] Building C object esp-idf/twai_communication/CMakeFiles/__idf_twai_communication.dir/twai_communication.c.obj
|
|
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication/twai_communication.c: In function 'twai_send_data':
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication/twai_communication.c:385:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|
385 | uint8_t *data_p = data;
|
|
| ^~~~
|
|
[3/13] Building C object esp-idf/lis3dsh/CMakeFiles/__idf_lis3dsh.dir/shake_detect.c.obj
|
|
|
|
FAILED: esp-idf/lis3dsh/CMakeFiles/__idf_lis3dsh.dir/shake_detect.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/esp32_shock/build/config -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh -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/driver/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/deprecated -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/driver/esp32s3/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_pm/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/dotprod/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/support/mem/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/windows/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/windows/hann/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/windows/blackman/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/windows/blackman_harris/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/windows/blackman_nuttall/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/windows/nuttall/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/windows/flat_top/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/iir/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/fir/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/math/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/math/add/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/math/sub/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/math/mul/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/math/addc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/math/mulc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/math/sqrt/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/matrix/mul/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/matrix/add/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/matrix/addc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/matrix/mulc/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/matrix/sub/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/matrix/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/fft/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/dct/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/conv/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/common/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/matrix/mul/test/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/kalman/ekf/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/managed_components/espressif__esp-dsp/modules/kalman/ekf_imu13states/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/nvs_storage -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/nvs_flash/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_partition/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_ota -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/app_update/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader_support/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/bootloader_support/bootloader_flash/include -IE:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_app_format/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/esp32_shock=. -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/lis3dsh/CMakeFiles/__idf_lis3dsh.dir/shake_detect.c.obj -MF esp-idf\lis3dsh\CMakeFiles\__idf_lis3dsh.dir\shake_detect.c.obj.d -o esp-idf/lis3dsh/CMakeFiles/__idf_lis3dsh.dir/shake_detect.c.obj -c E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c
|
|
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c: In function 'lis3dsh_init':
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:160:26: warning: unused variable 'status' [-Wunused-variable]
|
|
160 | lis3dsh_status_var_t status;
|
|
| ^~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:159:24: warning: unused variable 'bus_mode' [-Wunused-variable]
|
|
159 | lis3dsh_bus_mode_t bus_mode;
|
|
| ^~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:158:27: warning: unused variable 'all_sources' [-Wunused-variable]
|
|
158 | lis3dsh_all_sources_t all_sources;
|
|
| ^~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:157:30: warning: unused variable 'int1_route' [-Wunused-variable]
|
|
157 | lis3dsh_pin_int1_route_t int1_route;
|
|
| ^~~~~~~~~~
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:16:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c: In function 'fft_calculate_task':
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:515:38: warning: passing argument 2 of 'twai_send_data' from incompatible pointer type [-Wincompatible-pointer-types]
|
|
515 | twai_send_fft_array_data(feq_data, N_SAMPLES / 2);
|
|
| ^~~~~~~~
|
|
| |
|
|
| float *
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication/twai_communication.h:81:83: note: in definition of macro 'twai_send_fft_array_data'
|
|
81 | #define twai_send_fft_array_data(data, len) twai_send_data(SEND_FFT_ARRAY_ID, data, twai_fft_array_data_send_enable)
|
|
| ^~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication/twai_communication.h:84:56: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'float *'
|
|
84 | int twai_send_data(uint32_t identifier, const uint8_t *data, uint8_t len, bool enable);
|
|
| ~~~~~~~~~~~~~~~^~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication/twai_communication.h:81:49: error: too few arguments to function 'twai_send_data'
|
|
81 | #define twai_send_fft_array_data(data, len) twai_send_data(SEND_FFT_ARRAY_ID, data, twai_fft_array_data_send_enable)
|
|
| ^~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:515:13: note: in expansion of macro 'twai_send_fft_array_data'
|
|
515 | twai_send_fft_array_data(feq_data, N_SAMPLES / 2);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/twai_communication/twai_communication.h:84:5: note: declared here
|
|
84 | int twai_send_data(uint32_t identifier, const uint8_t *data, uint8_t len, bool enable);
|
|
| ^~~~~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:476:26: warning: unused variable 'end_b' [-Wunused-variable]
|
|
476 | unsigned int end_b = dsp_get_cpu_cycle_count();
|
|
| ^~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:469:26: warning: unused variable 'start_b' [-Wunused-variable]
|
|
469 | unsigned int start_b = dsp_get_cpu_cycle_count();
|
|
| ^~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c: In function 'shake_detect_init':
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:587:29: warning: passing argument 1 of 'xTaskCreatePinnedToCore' from incompatible pointer type [-Wincompatible-pointer-types]
|
|
587 | xTaskCreatePinnedToCore(lis3dsh_read_task, "lis3dsh_read_task", 4096, NULL, 9, NULL, tskNO_AFFINITY);
|
|
| ^~~~~~~~~~~~~~~~~
|
|
| |
|
|
| void (*)(void)
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:6:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:345:56: note: expected 'TaskFunction_t' {aka 'void (*)(void *)'} but argument is of type 'void (*)(void)'
|
|
345 | BaseType_t xTaskCreatePinnedToCore( TaskFunction_t pvTaskCode,
|
|
| ~~~~~~~~~~~~~~~^~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:588:29: warning: passing argument 1 of 'xTaskCreatePinnedToCore' from incompatible pointer type [-Wincompatible-pointer-types]
|
|
588 | xTaskCreatePinnedToCore(fft_calculate_task, "fft_calculate_task", 4096, NULL, 9, NULL, tskNO_AFFINITY);
|
|
| ^~~~~~~~~~~~~~~~~~
|
|
| |
|
|
| void (*)(void)
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:6:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:345:56: note: expected 'TaskFunction_t' {aka 'void (*)(void *)'} but argument is of type 'void (*)(void)'
|
|
345 | BaseType_t xTaskCreatePinnedToCore( TaskFunction_t pvTaskCode,
|
|
| ~~~~~~~~~~~~~~~^~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:589:29: warning: passing argument 1 of 'xTaskCreatePinnedToCore' from incompatible pointer type [-Wincompatible-pointer-types]
|
|
589 | xTaskCreatePinnedToCore(angle_calculate_task, "angle_calculate_task", 4096, NULL, 9, NULL, tskNO_AFFINITY);
|
|
| ^~~~~~~~~~~~~~~~~~~~
|
|
| |
|
|
| void (*)(void)
|
|
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:6:
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:345:56: note: expected 'TaskFunction_t' {aka 'void (*)(void *)'} but argument is of type 'void (*)(void)'
|
|
345 | BaseType_t xTaskCreatePinnedToCore( TaskFunction_t pvTaskCode,
|
|
| ~~~~~~~~~~~~~~~^~~~~~~~~~
|
|
[4/13] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/esp32_shock_main.c.obj
|
|
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/main/esp32_shock_main.c:11:20: warning: 'TAG' defined but not used [-Wunused-variable]
|
|
11 | static const char *TAG = "esp32_shock_main";
|
|
| ^~~
|
|
ninja: build stopped: subcommand failed.
|
|
|