58 lines
5.7 KiB
Plaintext
58 lines
5.7 KiB
Plaintext
[1/9] 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/7] Building C object esp-idf/lis3dsh/CMakeFiles/__idf_lis3dsh.dir/shake_detect.c.obj
|
|
|
|
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:144:24: warning: unused variable 'bus_mode' [-Wunused-variable]
|
|
144 | lis3dsh_bus_mode_t bus_mode;
|
|
| ^~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:143:27: warning: unused variable 'all_sources' [-Wunused-variable]
|
|
143 | lis3dsh_all_sources_t all_sources;
|
|
| ^~~~~~~~~~~
|
|
E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/shake_detect.c:142:30: warning: unused variable 'int1_route' [-Wunused-variable]
|
|
142 | lis3dsh_pin_int1_route_t int1_route;
|
|
| ^~~~~~~~~~
|
|
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:343:23: warning: unused variable 'freq' [-Wunused-variable]
|
|
343 | float freq = i * 1.0 / N_SAMPLES * 1600; // 单位HZ
|
|
| ^~~~
|
|
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:425:29: warning: passing argument 1 of 'xTaskCreatePinnedToCore' from incompatible pointer type [-Wincompatible-pointer-types]
|
|
425 | 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:426:29: warning: passing argument 1 of 'xTaskCreatePinnedToCore' from incompatible pointer type [-Wincompatible-pointer-types]
|
|
426 | 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:427:29: warning: passing argument 1 of 'xTaskCreatePinnedToCore' from incompatible pointer type [-Wincompatible-pointer-types]
|
|
427 | 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,
|
|
| ~~~~~~~~~~~~~~~^~~~~~~~~~
|
|
[3/7] Linking C static library esp-idf\lis3dsh\liblis3dsh.a
|
|
|
|
[4/7] Generating ld/sections.ld
|
|
|
|
[5/7] Linking CXX executable esp32_shock.elf
|
|
|
|
[6/7] 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/esp32_shock/build/esp32_shock.bin
|
|
[7/7] cmd.exe /C "cd /D E:\Espressif\frameworks\esp-idf-v5.0.4\app\esp32_shock\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/esp32_shock/build/partition_table/partition-table.bin E:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/build/esp32_shock.bin"
|
|
|
|
esp32_shock.bin binary size 0x43550 bytes. Smallest app partition is 0x100000 bytes. 0xbcab0 bytes (74%) free.
|
|
|