diff options
author | its your bedtime <23366927+itsyourbedtime@users.noreply.github.com> | 2021-04-28 13:43:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 13:43:21 +0300 |
commit | dfcf0ea0ebaacff62651e899f77f1d3c30a85345 (patch) | |
tree | 52b9840ab3c7ea27e86c5f4f64cf2101da5c408d /applications/applications.mk | |
parent | 317bfba024ad88202b22a2a816d7c01264b011ed (diff) |
[FL-1179] Debug menu & main menu cleanup (#426)
* Debug apps moved into its own menu category, APP_DEBUG flag added
* Menu power icon added
* Added APP_DEBUG flag to flash_core1 bash script
* Removed commented section in app-loader
Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to 'applications/applications.mk')
-rw-r--r-- | applications/applications.mk | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/applications/applications.mk b/applications/applications.mk index b1667098..57999d2b 100644 --- a/applications/applications.mk +++ b/applications/applications.mk @@ -19,22 +19,29 @@ APP_CLI = 1 APP_SD_FILESYSTEM = 1 BUILD_IRDA = 1 APP_DOLPHIN = 1 -BUILD_EXAMPLE_BLINK = 1 -BUILD_EXAMPLE_UART_WRITE = 1 -BUILD_EXAMPLE_INPUT_DUMP = 1 BUILD_SUBGHZ = 1 BUILD_LF_RFID = 1 -BUILD_SPEAKER_DEMO = 1 -BUILD_VIBRO_DEMO = 1 -BUILD_SD_TEST = 1 BUILD_GPIO_DEMO = 1 BUILD_MUSIC_PLAYER = 1 BUILD_FLOOPPER_BLOOPPER = 1 BUILD_IBUTTON = 1 +endif + +APP_DEBUG ?=0 +ifeq ($(APP_DEBUG), 1) +CFLAGS += -DAPP_DEBUG BUILD_GUI_TEST = 1 BUILD_KEYPAD_TEST = 1 +BUILD_SD_TEST = 1 +BUILD_VIBRO_DEMO = 1 +BUILD_SPEAKER_DEMO = 1 +BUILD_EXAMPLE_BLINK = 1 +BUILD_EXAMPLE_UART_WRITE = 1 +BUILD_EXAMPLE_INPUT_DUMP = 1 endif + + APP_NFC ?= 0 ifeq ($(APP_NFC), 1) APP_MENU = 1 |