esp32_shock/build/log/idf_py_stdout_output_10904
2024-04-27 09:15:55 +08:00

208 lines
22 KiB
Plaintext

[1/11] 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/9] 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/app/esp32_shock/components/lis3dsh/fft_lib/inc -IE:/Espressif/frameworks/esp-idf-v5.0.4/app/esp32_shock/components/lis3dsh/lis3dsh_lib -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 -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
In file included from E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:16,
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/esp32_shock/components/lis3dsh/shake_detect.c:4:
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:27:1: warning: data definition has no type or storage class
27 | FORCE_INLINE_ATTR __attribute__((pure)) uint32_t xt_utils_get_core_id(void)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:27:1: error: type defaults to 'int' in declaration of 'FORCE_INLINE_ATTR' [-Werror=implicit-int]
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:27:1: warning: 'pure' attribute ignored [-Wattributes]
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:27:41: error: expected ',' or ';' before 'uint32_t'
27 | FORCE_INLINE_ATTR __attribute__((pure)) uint32_t xt_utils_get_core_id(void)
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:46:1: warning: data definition has no type or storage class
46 | FORCE_INLINE_ATTR __attribute__((pure)) uint32_t xt_utils_get_raw_core_id(void)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:46:1: error: type defaults to 'int' in declaration of 'FORCE_INLINE_ATTR' [-Werror=implicit-int]
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:46:1: warning: 'pure' attribute ignored [-Wattributes]
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:46:41: error: expected ',' or ';' before 'uint32_t'
46 | FORCE_INLINE_ATTR __attribute__((pure)) uint32_t xt_utils_get_raw_core_id(void)
| ^~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:60:18: error: expected ';' before 'void'
60 | FORCE_INLINE_ATTR void *xt_utils_get_sp(void)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:67:1: error: unknown type name 'FORCE_INLINE_ATTR'
67 | FORCE_INLINE_ATTR uint32_t xt_utils_get_cycle_count(void)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:67:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xt_utils_get_cycle_count'
67 | FORCE_INLINE_ATTR uint32_t xt_utils_get_cycle_count(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:79:18: error: expected ';' before 'void'
79 | FORCE_INLINE_ATTR void xt_utils_wait_for_intr(void)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:92:18: error: expected ';' before 'void'
92 | FORCE_INLINE_ATTR void xt_utils_set_vecbase(uint32_t vecbase)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:99:1: error: unknown type name 'FORCE_INLINE_ATTR'
99 | FORCE_INLINE_ATTR uint32_t xt_utils_intr_get_enabled_mask(void)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:99:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xt_utils_intr_get_enabled_mask'
99 | FORCE_INLINE_ATTR uint32_t xt_utils_intr_get_enabled_mask(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:116:18: error: expected ';' before 'void'
116 | FORCE_INLINE_ATTR void xt_utils_set_breakpoint(int bp_num, uint32_t bp_addr)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:131:18: error: expected ';' before 'void'
131 | FORCE_INLINE_ATTR void xt_utils_clear_breakpoint(int bp_num)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:147:18: error: expected ';' before 'void'
147 | FORCE_INLINE_ATTR void xt_utils_set_watchpoint(int wp_num,
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:173:18: error: expected ';' before 'void'
173 | FORCE_INLINE_ATTR void xt_utils_clear_watchpoint(int wp_num)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:187:18: error: expected ';' before '_Bool'
187 | FORCE_INLINE_ATTR bool xt_utils_dbgr_is_attached(void)
| ^
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:195:18: error: expected ';' before 'void'
195 | FORCE_INLINE_ATTR void xt_utils_dbgr_break(void)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/xtensa/include/xt_utils.h:204:18: error: expected ';' before '_Bool'
204 | FORCE_INLINE_ATTR bool xt_utils_compare_and_set(volatile uint32_t *addr, uint32_t compare_value, uint32_t new_value)
| ^
| ;
In file included 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/esp32_shock/components/lis3dsh/shake_detect.c:4:
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:123:1: warning: data definition has no type or storage class
123 | FORCE_INLINE_ATTR __attribute__((pure)) int esp_cpu_get_core_id(void)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:123:1: error: type defaults to 'int' in declaration of 'FORCE_INLINE_ATTR' [-Werror=implicit-int]
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:123:1: warning: 'pure' attribute ignored [-Wattributes]
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:123:41: error: expected ',' or ';' before 'int'
123 | FORCE_INLINE_ATTR __attribute__((pure)) int esp_cpu_get_core_id(void)
| ^~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:138:18: error: expected ';' before 'void'
138 | FORCE_INLINE_ATTR void *esp_cpu_get_sp(void)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:155:1: error: unknown type name 'FORCE_INLINE_ATTR'
155 | FORCE_INLINE_ATTR esp_cpu_cycle_count_t esp_cpu_get_cycle_count(void)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:155:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'esp_cpu_get_cycle_count'
155 | FORCE_INLINE_ATTR esp_cpu_cycle_count_t esp_cpu_get_cycle_count(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:172:18: error: expected ';' before 'void'
172 | FORCE_INLINE_ATTR void esp_cpu_set_cycle_count(esp_cpu_cycle_count_t cycle_count)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:191:1: warning: data definition has no type or storage class
191 | FORCE_INLINE_ATTR __attribute__((pure)) void *esp_cpu_pc_to_addr(uint32_t pc)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:191:1: error: type defaults to 'int' in declaration of 'FORCE_INLINE_ATTR' [-Werror=implicit-int]
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:191:1: warning: 'pure' attribute ignored [-Wattributes]
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:191:41: error: expected ',' or ';' before 'void'
191 | FORCE_INLINE_ATTR __attribute__((pure)) void *esp_cpu_pc_to_addr(uint32_t pc)
| ^~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:227:18: error: expected ';' before 'void'
227 | FORCE_INLINE_ATTR void esp_cpu_intr_set_ivt_addr(const void *ivt_addr)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:310:18: error: expected ';' before '_Bool'
310 | FORCE_INLINE_ATTR bool esp_cpu_intr_has_handler(int intr_num)
| ^
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h: In function 'esp_cpu_intr_has_handler':
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:315:48: error: implicit declaration of function 'esp_cpu_get_core_id'; did you mean 'esp_cpu_get_sp'? [-Werror=implicit-function-declaration]
315 | has_handler = xt_int_has_handler(intr_num, esp_cpu_get_core_id());
| ^~~~~~~~~~~~~~~~~~~
| esp_cpu_get_sp
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h: At top level:
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:334:18: error: expected ';' before 'void'
334 | FORCE_INLINE_ATTR void esp_cpu_intr_set_handler(int intr_num, esp_cpu_intr_handler_t handler, void *handler_arg)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:352:18: error: expected ';' before 'void'
352 | FORCE_INLINE_ATTR void *esp_cpu_intr_get_handler_arg(int intr_num)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:371:18: error: expected ';' before 'void'
371 | FORCE_INLINE_ATTR void esp_cpu_intr_enable(uint32_t intr_mask)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:385:18: error: expected ';' before 'void'
385 | FORCE_INLINE_ATTR void esp_cpu_intr_disable(uint32_t intr_mask)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:399:1: error: unknown type name 'FORCE_INLINE_ATTR'
399 | FORCE_INLINE_ATTR uint32_t esp_cpu_intr_get_enabled_mask(void)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:399:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'esp_cpu_intr_get_enabled_mask'
399 | FORCE_INLINE_ATTR uint32_t esp_cpu_intr_get_enabled_mask(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:413:18: error: expected ';' before 'void'
413 | FORCE_INLINE_ATTR void esp_cpu_intr_edge_ack(int intr_num)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:495:18: error: expected ';' before '_Bool'
495 | FORCE_INLINE_ATTR bool esp_cpu_dbgr_is_attached(void)
| ^
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:507:18: error: expected ';' before 'void'
507 | FORCE_INLINE_ATTR void esp_cpu_dbgr_break(void)
| ^~~~~
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:525:1: error: unknown type name 'FORCE_INLINE_ATTR'
525 | FORCE_INLINE_ATTR intptr_t esp_cpu_get_call_addr(intptr_t return_address)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/esp_cpu.h:525:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'esp_cpu_get_call_addr'
525 | FORCE_INLINE_ATTR intptr_t esp_cpu_get_call_addr(intptr_t return_address)
| ^~~~~~~~~~~~~~~~~~~~~
In file included 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/esp32_shock/components/lis3dsh/shake_detect.c:4:
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/spinlock.h: In function 'spinlock_acquire':
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/spinlock.h:78:15: error: implicit declaration of function 'xt_utils_get_raw_core_id' [-Werror=implicit-function-declaration]
78 | core_id = xt_utils_get_raw_core_id();
| ^~~~~~~~~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/esp_hw_support/include/spinlock.h:110:19: error: implicit declaration of function 'esp_cpu_get_cycle_count'; did you mean 'esp_cpu_set_cycle_count'? [-Werror=implicit-function-declaration]
110 | start_count = esp_cpu_get_cycle_count();
| ^~~~~~~~~~~~~~~~~~~~~~~
| esp_cpu_set_cycle_count
In file included 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/esp32_shock/components/lis3dsh/shake_detect.c:4:
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h: At top level:
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:367:18: error: expected ';' before '_Bool'
367 | FORCE_INLINE_ATTR bool xPortCanYield(void);
| ^
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:406:1: error: unknown type name 'FORCE_INLINE_ATTR'
406 | FORCE_INLINE_ATTR BaseType_t xPortGetCoreID(void);
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:406:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xPortGetCoreID'
406 | FORCE_INLINE_ATTR BaseType_t xPortGetCoreID(void);
| ^~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:608:18: error: expected ';' before '_Bool'
608 | FORCE_INLINE_ATTR bool xPortCanYield(void)
| ^
| ;
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:627:1: error: unknown type name 'FORCE_INLINE_ATTR'
627 | FORCE_INLINE_ATTR BaseType_t xPortGetCoreID(void)
| ^~~~~~~~~~~~~~~~~
E:/Espressif/frameworks/esp-idf-v5.0.4/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:627:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xPortGetCoreID'
627 | FORCE_INLINE_ATTR BaseType_t xPortGetCoreID(void)
| ^~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.