[FL-1910, FL-2146] Update to new FreeRTOS, fix CMSIS thread flags collision with stream buffer. New cube. (#917)

* Libs: add FreeRTOS submodule. FuriHal: replace ST provided FreeRTOS with original one. FuriHal: for cmsis os hal and patch it for better compatibility with stream buffer.
* Makefile: fix svd plugin on blackmagic
* Lib: update STM32CubeWB package. Project: update project to match new cube package.
* Lib: properly rebase and upload STM32CubeWB
* BleGlue: switch ack logging level to trace
This commit is contained in:
あく
2021-12-21 15:16:25 +03:00
committed by GitHub
parent 26b2d07dd6
commit 439fb9c18d
39 changed files with 4313 additions and 354 deletions

View File

@@ -75,18 +75,19 @@ C_SOURCES += \
# FreeRTOS
CFLAGS += \
-I$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/include \
-I$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 \
-I$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F
-I$(LIB_DIR)/FreeRTOS-Kernel/include \
-I$(LIB_DIR)/FreeRTOS-Kernel/portable/GCC/ARM_CM4F \
-I$(LIB_DIR)/FreeRTOS-glue/
C_SOURCES += \
$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/event_groups.c \
$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/list.c \
$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/queue.c \
$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c \
$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/tasks.c \
$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/timers.c \
$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c \
$(CUBE_DIR)/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c
$(LIB_DIR)/FreeRTOS-Kernel/event_groups.c \
$(LIB_DIR)/FreeRTOS-Kernel/list.c \
$(LIB_DIR)/FreeRTOS-Kernel/queue.c \
$(LIB_DIR)/FreeRTOS-Kernel/stream_buffer.c \
$(LIB_DIR)/FreeRTOS-Kernel/tasks.c \
$(LIB_DIR)/FreeRTOS-Kernel/timers.c \
$(LIB_DIR)/FreeRTOS-Kernel/portable/GCC/ARM_CM4F/port.c \
$(LIB_DIR)/FreeRTOS-glue/cmsis_os2.c \
# BLE glue
CFLAGS += \