[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:
@@ -1,10 +1,10 @@
|
||||
#include <furi.h>
|
||||
#include <furi-hal.h>
|
||||
|
||||
#include <gui/view.h>
|
||||
#include <gui/view_dispatcher.h>
|
||||
#include <gui/modules/submenu.h>
|
||||
#include <gui/gui.h>
|
||||
#include <cmsis_os.h>
|
||||
|
||||
typedef struct {
|
||||
Gui* gui;
|
||||
|
@@ -1,13 +1,14 @@
|
||||
#include "rpc_i.h"
|
||||
|
||||
#include <pb.h>
|
||||
#include <pb_decode.h>
|
||||
#include <pb_encode.h>
|
||||
|
||||
#include <status.pb.h>
|
||||
#include <storage.pb.h>
|
||||
#include <flipper.pb.h>
|
||||
#include <cmsis_os.h>
|
||||
#include <cmsis_os2.h>
|
||||
#include <portmacro.h>
|
||||
|
||||
#include <furi.h>
|
||||
|
||||
#include <cli/cli.h>
|
||||
|
@@ -1,8 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "cmsis_os.h"
|
||||
#include <furi.h>
|
||||
|
||||
#define RPC_BUFFER_SIZE (1024)
|
||||
#define RPC_MAX_MESSAGE_SIZE (1536)
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
struct SubghzTestCarrier {
|
||||
View* view;
|
||||
osTimerId timer;
|
||||
osTimerId_t timer;
|
||||
SubghzTestCarrierCallback callback;
|
||||
void* context;
|
||||
};
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
struct SubghzTestPacket {
|
||||
View* view;
|
||||
osTimerId timer;
|
||||
osTimerId_t timer;
|
||||
|
||||
SubGhzDecoderPrinceton* decoder;
|
||||
SubGhzEncoderPrinceton* encoder;
|
||||
@@ -262,4 +262,4 @@ void subghz_test_packet_free(SubghzTestPacket* instance) {
|
||||
View* subghz_test_packet_get_view(SubghzTestPacket* instance) {
|
||||
furi_assert(instance);
|
||||
return instance->view;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user