FL-103 Gpio test (#236)

* fail build
* add gpio tester
This commit is contained in:
coreglitch
2020-11-14 16:08:07 +06:00
committed by GitHub
parent a61eef0f99
commit afcfcd4d4a
3 changed files with 153 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ void nfc_task(void* p);
void irukagotchi_task(void* p);
void power_task(void* p);
void application_vibro(void* p);
void app_gpio_test(void* p);
const FlipperStartupApp FLIPPER_STARTUP[] = {
#ifdef APP_DISPLAY
@@ -109,7 +110,14 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
#ifdef APP_SPEAKER_DEMO
{.app = coreglitch_demo_0, .name = "coreglitch_demo_0", .libs = {0}},
#endif
};
#ifdef APP_GPIO_DEMO
{
.app = app_gpio_test,
.name = "gpio test",
.libs = {1, FURI_LIB{"gui_task"}},
#endif
};
const FlipperStartupApp FLIPPER_APPS[] = {
#ifdef BUILD_EXAMPLE_BLINK
@@ -143,4 +151,8 @@ const FlipperStartupApp FLIPPER_APPS[] = {
#ifdef BUILD_VIBRO_DEMO
{.app = application_vibro, .name = "application_vibro", .libs = {1, FURI_LIB{"input_task"}}},
#endif
#ifdef BUILD_GPIO_DEMO
{.app = app_gpio_test, .name = "gpio test", .libs = {1, FURI_LIB{"gui_task"}}},
#endif
};