diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 1b8a782f39..3b59004549 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -78,8 +78,10 @@ | |||
78 | * bit fields to allow PLATFORM_HOSTED to be OR'ed e.g. with a | 78 | * bit fields to allow PLATFORM_HOSTED to be OR'ed e.g. with a |
79 | * possible future PLATFORM_ANDROID (some OSes might need totally different | 79 | * possible future PLATFORM_ANDROID (some OSes might need totally different |
80 | * handling to run on them than a stand-alone application) */ | 80 | * handling to run on them than a stand-alone application) */ |
81 | #define PLATFORM_NATIVE (1<<0) | 81 | #define PLATFORM_NATIVE (1<<0) |
82 | #define PLATFORM_HOSTED (1<<1) | 82 | #define PLATFORM_HOSTED (1<<1) |
83 | #define PLATFORM_ANDROID (1<<2) | ||
84 | #define PLATFORM_SDL (1<<3) | ||
83 | 85 | ||
84 | /* CONFIG_KEYPAD */ | 86 | /* CONFIG_KEYPAD */ |
85 | #define PLAYER_PAD 1 | 87 | #define PLAYER_PAD 1 |
@@ -427,6 +429,8 @@ Lyre prototype 1 */ | |||
427 | 429 | ||
428 | #elif defined(APPLICATION) | 430 | #elif defined(APPLICATION) |
429 | #include "config/application.h" | 431 | #include "config/application.h" |
432 | #define CONFIG_CPU 0 | ||
433 | #define CONFIG_STORAGE 0 | ||
430 | #else | 434 | #else |
431 | /* no known platform */ | 435 | /* no known platform */ |
432 | #endif | 436 | #endif |
@@ -689,11 +693,17 @@ Lyre prototype 1 */ | |||
689 | #define HAVE_EXTENDED_MESSAGING_AND_NAME | 693 | #define HAVE_EXTENDED_MESSAGING_AND_NAME |
690 | #define HAVE_WAKEUP_EXT_CB | 694 | #define HAVE_WAKEUP_EXT_CB |
691 | 695 | ||
696 | |||
697 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | ||
698 | #define HAVE_PRIORITY_SCHEDULING | ||
699 | #endif | ||
700 | |||
692 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | 701 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |
693 | #define HAVE_PRIORITY_SCHEDULING | 702 | #define HAVE_PRIORITY_SCHEDULING |
694 | #define HAVE_SCHEDULER_BOOSTCTRL | 703 | #define HAVE_SCHEDULER_BOOSTCTRL |
695 | #endif /* PLATFORM_NATIVE */ | 704 | #endif /* PLATFORM_NATIVE */ |
696 | 705 | ||
706 | |||
697 | #define HAVE_SEMAPHORE_OBJECTS | 707 | #define HAVE_SEMAPHORE_OBJECTS |
698 | 708 | ||
699 | #if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC | 709 | #if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC |