112 lines
2.6 KiB
Plaintext
112 lines
2.6 KiB
Plaintext
#
|
|
# Copyright (c) 2024 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
|
|
#
|
|
|
|
rsource "${ZEPHYR_NRF_MODULE_DIR}/applications/nrf5340_audio/src/audio/Kconfig"
|
|
rsource "${ZEPHYR_NRF_MODULE_DIR}/applications/nrf5340_audio/src/bluetooth/Kconfig"
|
|
rsource "${ZEPHYR_NRF_MODULE_DIR}/applications/nrf5340_audio/src/modules/Kconfig"
|
|
rsource "${ZEPHYR_NRF_MODULE_DIR}/applications/nrf5340_audio/src/utils/Kconfig"
|
|
|
|
#----------------------------------------------------------------------------#
|
|
|
|
# USB mass storage device
|
|
menu "MSC sample options"
|
|
|
|
config APP_WIPE_STORAGE
|
|
bool "Option to clear the flash area before mounting"
|
|
help
|
|
Use this to force an existing file system to be created.
|
|
|
|
choice
|
|
prompt "Storage and file system type used by the application"
|
|
default APP_MSC_STORAGE_NONE
|
|
help
|
|
Specify the type of storage and file system.
|
|
|
|
config APP_MSC_STORAGE_NONE
|
|
bool "Use RAM disk as block device"
|
|
|
|
config APP_MSC_STORAGE_RAM
|
|
bool "Use RAM disk and FAT file system"
|
|
imply FILE_SYSTEM
|
|
imply FAT_FILESYSTEM_ELM
|
|
|
|
config APP_MSC_STORAGE_FLASH_FATFS
|
|
bool "Use FLASH disk and FAT file system"
|
|
imply DISK_DRIVER_FLASH
|
|
imply FILE_SYSTEM
|
|
imply FAT_FILESYSTEM_ELM
|
|
|
|
config APP_MSC_STORAGE_FLASH_LITTLEFS
|
|
bool "Use FLASH disk and LittleFS"
|
|
imply DISK_DRIVER_FLASH
|
|
imply FILE_SYSTEM
|
|
imply FILE_SYSTEM_LITTLEFS
|
|
|
|
config APP_MSC_STORAGE_SDCARD
|
|
bool "Use SDHC and FAT file system"
|
|
imply DISK_DRIVER_SDMMC
|
|
imply FILE_SYSTEM
|
|
imply FAT_FILESYSTEM_ELM
|
|
|
|
endchoice
|
|
|
|
config MASS_STORAGE_DISK_NAME
|
|
default "NAND" if DISK_DRIVER_FLASH
|
|
default "RAM" if DISK_DRIVER_RAM
|
|
default "SD" if DISK_DRIVER_SDMMC
|
|
|
|
if DISK_DRIVER_FLASH
|
|
|
|
config FLASH_MAP
|
|
default y
|
|
|
|
config FLASH_PAGE_LAYOUT
|
|
default y
|
|
|
|
config FLASH_LOG_LEVEL
|
|
default 3
|
|
|
|
if NORDIC_QSPI_NOR
|
|
|
|
config NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE
|
|
default 4096
|
|
|
|
endif # NORDIC_QSPI_NOR
|
|
|
|
endif # DISK_DRIVER_FLASH
|
|
|
|
endmenu
|
|
|
|
# Source common USB sample options used to initialize new experimental USB
|
|
# device stack. The scope of these options is limited to USB samples in project
|
|
# tree, you cannot use them in your own application.
|
|
source "samples/subsys/usb/common/Kconfig.sample_usbd"
|
|
|
|
# Auraconfig
|
|
config TRANSPORT_BIS
|
|
bool "Use BIS (Broadcast Isochronous Stream)"
|
|
|
|
config NRF_AURACONFIG
|
|
bool "nRF Auraconfig"
|
|
depends on TRANSPORT_BIS
|
|
select EXPERIMENTAL
|
|
default y
|
|
|
|
menu "Logging"
|
|
|
|
module = MAIN
|
|
module-str = main
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
config PRINT_STACK_USAGE_MS
|
|
depends on THREAD_ANALYZER && INIT_STACKS
|
|
int "Print stack usage every x milliseconds"
|
|
default 5000
|
|
|
|
endmenu # Log levels
|
|
|
|
source "Kconfig.zephyr"
|