-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Firmware: KConfig feature control and cleanup (#1695)
Better KConfig feature control. Also, enabling features in source code based on .conf to restore support for DK1, and enable other hw configurations. (@beastoin - stole some of the main.c code from iamdk_o3_firmware branch)
- Loading branch information
Showing
8 changed files
with
185 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,58 @@ | ||
source "Kconfig.zephyr" | ||
|
||
menu "Friend Configuration" | ||
config CODEC_OPUS | ||
bool "Opus Audio Codec Support" | ||
menu "Omi Features Configuration" | ||
|
||
config OMI_CODEC_OPUS | ||
bool "Opus Audio Codec" | ||
help | ||
"Enable the Opus audio codec support." | ||
default n | ||
|
||
config OFFLINE_STORAGE | ||
bool "Offline SD Card Storage Support" | ||
config OMI_ENABLE_OFFLINE_STORAGE | ||
bool "Offline SD Card Storage" | ||
select DISK_ACCESS | ||
select FILE_SYSTEM | ||
select FAT_FILESYSTEM_ELM | ||
select FS_FATFS_MOUNT_MKFS | ||
select FS_FATFS_EXFAT | ||
help | ||
"Enable the offline storage support. Requires a SD Card." | ||
default n | ||
config ACCELEROMETER | ||
|
||
config OMI_ENABLE_ACCELEROMETER | ||
bool "Accelerometer Support" | ||
help | ||
"Enable the accelerometer support." | ||
default n | ||
|
||
config OMI_ENABLE_BUTTON | ||
bool "Button support" | ||
help | ||
"Enable the software button support." | ||
default n | ||
|
||
config OMI_ENABLE_SPEAKER | ||
bool "Enable the speaker" | ||
help | ||
"Enable the speaker support." | ||
default n | ||
config ENABLE_BUTTON | ||
bool "Button support on Devkit2" | ||
|
||
config OMI_ENABLE_BATTERY | ||
bool "Enable the battery" | ||
help | ||
"Enable the battery support." | ||
default n | ||
|
||
config OMI_ENABLE_USB | ||
bool "Enable the usb" | ||
help | ||
"Enable the USB power check support." | ||
default n | ||
config ENABLE_SPEAKER | ||
bool "Enable the speaker!!" | ||
default n | ||
|
||
config OMI_ENABLE_HAPTIC | ||
bool "Enable the haptic" | ||
help | ||
"Enable the haptic support." | ||
default n | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters