Subghz app example (#365)

* Gui: ported submenu and view_dispatcher_remove_view from iButton branch

* App gui-test: use backported submenu api

* App subghz: initial commit

* App subghz: syntax fix

* App gui-test: fix submenu callback

* App subghz: add subfolders to build

* Gui view: c++ verison of with_view_model

* Subghz app: simple spectrum settings view

* Subghz app: add spectrum settings view to view manager

* Subghz app: spectrum settings scene

Co-authored-by: coreglitch <mail@s3f.ru>
This commit is contained in:
SG
2021-03-05 19:47:27 +10:00
committed by GitHub
parent 025b77ecc1
commit 7afdd14a4c
21 changed files with 648 additions and 18 deletions

View File

@@ -30,6 +30,7 @@ BUILD_MUSIC_PLAYER = 1
BUILD_FLOOPPER_BLOOPPER = 1
BUILD_IBUTTON = 1
BUILD_GUI_TEST = 1
BUILD_SUBGHZ = 1
endif
APP_NFC ?= 0
@@ -276,6 +277,18 @@ CFLAGS += -DBUILD_GUI_TEST
C_SOURCES += $(wildcard $(APP_DIR)/gui-test/*.c)
endif
APP_SUBGHZ ?= 0
ifeq ($(APP_SUBGHZ), 1)
CFLAGS += -DAPP_SUBGHZ
BUILD_SUBGHZ = 1
endif
BUILD_SUBGHZ ?= 0
ifeq ($(BUILD_SUBGHZ), 1)
CFLAGS += -DBUILD_SUBGHZ
CPP_SOURCES += $(wildcard $(APP_DIR)/subghz/*.cpp)
CPP_SOURCES += $(wildcard $(APP_DIR)/subghz/*/*.cpp)
endif
APP_SDNFC ?= 0
ifeq ($(APP_SDNFC), 1)
CFLAGS += -DAPP_SDNFC