simple music player app (#240)

* split power-cli dependence
* music_player application
* add player to release mode
* fix stupid error
This commit is contained in:
DrZlo13
2020-11-16 20:12:05 +03:00
committed by GitHub
parent 3d5563b169
commit 3d6af91dd1
4 changed files with 468 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ BUILD_SPEAKER_DEMO = 1
BUILD_VIBRO_DEMO = 1
BUILD_SD_TEST = 1
BUILD_GPIO_DEMO = 1
BUILD_MUSIC_PLAYER = 1
endif
APP_NFC ?= 0
@@ -246,6 +247,17 @@ CFLAGS += -DBUILD_GPIO_DEMO
C_SOURCES += $(wildcard $(APP_DIR)/gpio-tester/*.c)
endif
APP_MUSIC_PLAYER ?= 0
ifeq ($(APP_MUSIC_PLAYER), 1)
CFLAGS += -DAPP_MUSIC_PLAYER
BUILD_MUSIC_PLAYER = 1
endif
BUILD_MUSIC_PLAYER ?= 0
ifeq ($(BUILD_MUSIC_PLAYER), 1)
CFLAGS += -DBUILD_MUSIC_PLAYER
C_SOURCES += $(wildcard $(APP_DIR)/music-player/*.c)
endif
# device drivers
APP_GUI ?= 0