release/cc1101 debug build

This commit is contained in:
aanper 2020-10-19 09:22:38 +03:00
parent e217029fcc
commit 3b993578f4
2 changed files with 13 additions and 2 deletions

View File

@ -3,7 +3,7 @@ LIB_DIR = $(PROJECT_ROOT)/lib
CFLAGS += -I$(APP_DIR) CFLAGS += -I$(APP_DIR)
APP_RELEASE ?= 0 APP_RELEASE ?= 1
ifeq ($(APP_RELEASE), 1) ifeq ($(APP_RELEASE), 1)
APP_GUI = 1 APP_GUI = 1
APP_INPUT = 1 APP_INPUT = 1
@ -21,7 +21,6 @@ C_SOURCES += $(wildcard $(APP_DIR)/app-loader/*.c)
APP_EXAMPLE_BLINK = 1 APP_EXAMPLE_BLINK = 1
APP_EXAMPLE_UART_WRITE = 1 APP_EXAMPLE_UART_WRITE = 1
APP_EXAMPLE_INPUT_DUMP = 1 APP_EXAMPLE_INPUT_DUMP = 1
APP_CC1101 = 1
endif endif
APP_TEST ?= 0 APP_TEST ?= 0
@ -93,6 +92,13 @@ APP_INPUT = 1
APP_GUI = 1 APP_GUI = 1
endif endif
ifeq ($(APP_RELEASE), 1)
C_SOURCES += $(wildcard $(APP_DIR)/cc1101-workaround/*.c)
CPP_SOURCES += $(wildcard $(APP_DIR)/cc1101-workaround/*.cpp)
APP_INPUT = 1
APP_GUI = 1
endif
# device drivers # device drivers
APP_GUI ?= 0 APP_GUI ?= 0
ifeq ($(APP_GUI), 1) ifeq ($(APP_GUI), 1)

View File

@ -26,6 +26,7 @@ void fatfs_list(void* p);
void gui_task(void* p); void gui_task(void* p);
void backlight_control(void* p); void backlight_control(void* p);
void app_loader(void* p); void app_loader(void* p);
void cc1101_workaround(void* p);
const FlipperStartupApp FLIPPER_STARTUP[] = { const FlipperStartupApp FLIPPER_STARTUP[] = {
#ifdef APP_DISPLAY #ifdef APP_DISPLAY
@ -46,6 +47,10 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
{.app = app_loader, .name = "app_loader", .libs = {1, FURI_LIB{"menu_task"}}}, {.app = app_loader, .name = "app_loader", .libs = {1, FURI_LIB{"menu_task"}}},
#endif #endif
#ifdef APP_CC1101
{.app = cc1101_workaround, .name = "cc1101 workaround", .libs = {1, FURI_LIB{"gui_task"}}},
#endif
// {.app = coreglitch_demo_0, .name = "coreglitch_demo_0", .libs = ""}, // {.app = coreglitch_demo_0, .name = "coreglitch_demo_0", .libs = ""},
#ifdef APP_TEST #ifdef APP_TEST