[FL-872] Furi, API-HAL, App-Loader cleanup and improvements (#334)
* Furi: replace obsolete furiac_exit with osThreadExit, drop obsolete apis and test. Rename systemd to flipper and move to separate file, cleanup. ApiHal: Rename timebase to os and move freertos hooks there, move insomnia api to power module. * Furi: new thread helper * Furi: cleanup thread documentation * Flipper, AppLoader: update to use FuriThread. Update tasks signatures to match FuriThreadCallback signature. * F4: rename API_HAL_TIMEBASE_DEBUG to API_HAL_OS_DEBUG * Applications: rename FuriApplication to FlipperApplication, use FuriThreadCallback signature for apps. * C++ app template sample, new exit method
This commit is contained in:
@@ -78,15 +78,12 @@ endif
|
||||
APP_TEST ?= 0
|
||||
ifeq ($(APP_TEST), 1)
|
||||
CFLAGS += -DAPP_TEST
|
||||
C_SOURCES += $(APP_DIR)/tests/furiac_test.c
|
||||
C_SOURCES += $(APP_DIR)/tests/furi_record_test.c
|
||||
C_SOURCES += $(APP_DIR)/tests/test_index.c
|
||||
C_SOURCES += $(APP_DIR)/tests/minunit_test.c
|
||||
C_SOURCES += $(APP_DIR)/tests/furi_valuemutex_test.c
|
||||
C_SOURCES += $(APP_DIR)/tests/furi_pubsub_test.c
|
||||
C_SOURCES += $(APP_DIR)/tests/furi_memmgr_test.c
|
||||
C_SOURCES += $(APP_DIR)/tests/furi_value_expanders_test.c
|
||||
C_SOURCES += $(APP_DIR)/tests/furi_event_test.c
|
||||
endif
|
||||
|
||||
APP_EXAMPLE_BLINK ?= 0
|
||||
@@ -147,18 +144,6 @@ C_SOURCES += $(APP_DIR)/examples/u8g2_qrcode.c
|
||||
C_SOURCES += $(LIB_DIR)/qrcode/qrcode.c
|
||||
endif
|
||||
|
||||
APP_EXAMPLE_FATFS ?= 0
|
||||
ifeq ($(APP_EXAMPLE_FATFS), 1)
|
||||
CFLAGS += -DAPP_EXAMPLE_FATFS
|
||||
BUILD_EXAMPLE_FATFS = 1
|
||||
endif
|
||||
BUILD_EXAMPLE_FATFS ?= 0
|
||||
ifeq ($(BUILD_EXAMPLE_FATFS), 1)
|
||||
CFLAGS += -DBUILD_EXAMPLE_FATFS
|
||||
C_SOURCES += $(APP_DIR)/examples/fatfs_list.c
|
||||
APP_INPUT = 1
|
||||
endif
|
||||
|
||||
APP_CC1101 ?= 0
|
||||
ifeq ($(APP_CC1101), 1)
|
||||
CFLAGS += -DAPP_CC1101
|
||||
|
||||
Reference in New Issue
Block a user