Furi: core refactoring and CMSIS removal part 2 (#1410)

* Furi: rename and move core
* Furi: drop CMSIS_OS header and unused api, partially refactor and cleanup the rest
* Furi: CMSIS_OS drop and refactoring.
* Furi: refactoring, remove cmsis legacy
* Furi: fix incorrect assert on queue deallocation, cleanup timer
* Furi: improve delay api, get rid of floats
* hal: dropped furi_hal_crc
* Furi: move DWT based delay to cortex HAL
* Furi: update core documentation

Co-authored-by: hedger <hedger@nanode.su>
This commit is contained in:
あく
2022-07-20 13:56:33 +03:00
committed by GitHub
parent f9c2287ea7
commit e3c7201a20
264 changed files with 2569 additions and 3883 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#include "furi/pubsub.h"
#include <core/pubsub.h>
#include <furi.h>
#include <furi_hal.h>
@@ -17,7 +17,7 @@ typedef enum {
typedef struct {
DolphinEventType type;
osEventFlagsId_t flag;
FuriEventFlag* flag;
union {
DolphinDeed deed;
DolphinStats* stats;
@@ -28,7 +28,7 @@ struct Dolphin {
// State
DolphinState* state;
// Queue
osMessageQueueId_t event_queue;
FuriMessageQueue* event_queue;
FuriPubSub* pubsub;
TimerHandle_t butthurt_timer;
TimerHandle_t flush_timer;