Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoreglitch <mail@s3f.ru>2020-10-26 10:16:54 +0300
committerGitHub <noreply@github.com>2020-10-26 10:16:54 +0300
commitf5b342abbe1be200ed1298f3d1cccea21878507b (patch)
tree1b080481c2950e42fed6bb378c7c2435176da057 /applications/applications.h
parentc8cc3c7dc8d980efe6101032efe355404228303f (diff)
Api hw gpio pwm (#199)
* initial gpio layer * move temlplate.c to template.c.example in preparing to applications.mk rework * separate arduino layer * separate flipper_hal.x * prepare to switch applications on v2 core gpio api * swithch applications to v2 gpio api * gpio api for local target * better gpio_disable handling * remove pwm functions from local target * inline gpio funcs * common function to init all api's * fix local example blink * move delay us to hal api folder * move pwm_set/pwm_stop to hal api folder * update applications to use hal pwm api * remove gpio mode case warning * add speaker demo to build Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
Diffstat (limited to 'applications/applications.h')
-rw-r--r--applications/applications.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/applications/applications.h b/applications/applications.h
index 7de48699..9ff172a8 100644
--- a/applications/applications.h
+++ b/applications/applications.h
@@ -35,6 +35,10 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
{.app = display_u8g2, .name = "display_u8g2", .libs = {0}},
#endif
+#ifdef APP_EXAMPLE_BLINK
+ {.app = application_blink, .name = "blink", .libs = {0}},
+#endif
+
#ifdef APP_INPUT
{.app = input_task, .name = "input_task", .libs = {0}},
#endif
@@ -61,8 +65,6 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
{.app = nfc_task, .name = "nfc_task", .libs = {1, FURI_LIB{"menu_task"}}},
#endif
-// {.app = coreglitch_demo_0, .name = "coreglitch_demo_0", .libs = ""},
-
#ifdef APP_TEST
{.app = flipper_test_app, .name = "test app", .libs = {0}},
#endif
@@ -83,6 +85,10 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
#ifdef APP_EXAMPLE_DISPLAY
{.app = u8g2_example, .name = "u8g2_example", .libs = {1, FURI_LIB{"display_u8g2"}}},
#endif
+
+#ifdef APP_SPEAKER_DEMO
+ {.app = coreglitch_demo_0, .name = "coreglitch_demo_0", .libs = ""},
+#endif
};
const FlipperStartupApp FLIPPER_APPS[] = {
@@ -101,7 +107,12 @@ const FlipperStartupApp FLIPPER_APPS[] = {
#ifdef BUILD_CC1101
{.app = cc1101_workaround, .name = "cc1101 workaround", .libs = {1, FURI_LIB{"gui_task"}}},
#endif
+
#ifdef BUILD_IRDA
{.app = irda, .name = "irda", .libs = {1, FURI_LIB{"gui_task"}}},
#endif
+
+#ifdef BUILD_SPEAKER_DEMO
+ {.app = coreglitch_demo_0, .name = "coreglitch_demo_0", .libs = {0}},
+#endif
}; \ No newline at end of file