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

@@ -36,6 +36,7 @@ void sd_card_test(void* p);
void application_vibro(void* p);
void app_gpio_test(void* p);
void cli_task(void* p);
void music_player(void* p);
const FlipperStartupApp FLIPPER_STARTUP[] = {
#ifdef APP_DISPLAY
@@ -121,6 +122,10 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
{.app = sd_card_test, .name = "sd_card_test", .libs = {1, FURI_LIB{"gui_task"}}},
#endif
#ifdef APP_MUSIC_PLAYER
{.app = music_player, .name = "music player", .libs = {1, FURI_LIB{"gui_task"}}},
#endif
#ifdef APP_GPIO_DEMO
{
.app = app_gpio_test,
@@ -169,4 +174,8 @@ const FlipperStartupApp FLIPPER_APPS[] = {
#ifdef BUILD_GPIO_DEMO
{.app = app_gpio_test, .name = "gpio test", .libs = {1, FURI_LIB{"gui_task"}}},
#endif
#ifdef BUILD_MUSIC_PLAYER
{.app = music_player, .name = "music player", .libs = {1, FURI_LIB{"gui_task"}}},
#endif
};