Moved config options from prj to libs
All checks were successful
Deploy Docs / build-and-deploy (push) Successful in 13s
All checks were successful
Deploy Docs / build-and-deploy (push) Successful in 13s
This commit is contained in:
@@ -19,14 +19,6 @@ CONFIG_FLASH_MAP=y
|
||||
CONFIG_NVS=y
|
||||
CONFIG_SETTINGS=y
|
||||
|
||||
# Network and OpenThread
|
||||
CONFIG_NETWORKING=y
|
||||
CONFIG_NET_L2_OPENTHREAD=y
|
||||
CONFIG_OPENTHREAD=y
|
||||
CONFIG_OPENTHREAD_FTD=y
|
||||
CONFIG_OPENTHREAD_SHELL=y
|
||||
CONFIG_OPENTHREAD_DEFAULT_TX_POWER=8
|
||||
|
||||
# --- CoAP & UDP Features ---
|
||||
CONFIG_OPENTHREAD_COAP=y
|
||||
CONFIG_OPENTHREAD_MANUAL_START=y
|
||||
|
||||
@@ -23,7 +23,6 @@ CONFIG_SETTINGS=y
|
||||
CONFIG_NETWORKING=y
|
||||
CONFIG_NET_L2_OPENTHREAD=y
|
||||
CONFIG_OPENTHREAD=y
|
||||
CONFIG_OPENTHREAD_FTD=y
|
||||
CONFIG_OPENTHREAD_SHELL=y
|
||||
CONFIG_OPENTHREAD_DEFAULT_TX_POWER=8
|
||||
|
||||
@@ -45,7 +44,8 @@ CONFIG_BT_LOG_LEVEL_WRN=y
|
||||
# Enable Lasertag Shared Modules
|
||||
CONFIG_LASERTAG_UTILS=y
|
||||
CONFIG_THREAD_MGMT=y
|
||||
CONFIG_THREAD_MGMT_LOG_LEVEL_DBG=y
|
||||
CONFIG_OPENTHREAD_FTD=y
|
||||
CONFIG_THREAD_MGMT_LOG_LEVEL_DBG=n
|
||||
CONFIG_BLE_MGMT=y
|
||||
CONFIG_BLE_MGMT_LOG_LEVEL_DBG=y
|
||||
CONFIG_BLE_MGMT_LOG_LEVEL_DBG=n
|
||||
CONFIG_GAME_MGMT=y
|
||||
5
firmware/libs/fs_mgmt/CMakeLists.txt
Normal file
5
firmware/libs/fs_mgmt/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
if(CONFIG_FS_MGMT)
|
||||
zephyr_library()
|
||||
zephyr_sources(src/fs_mgmt.c)
|
||||
zephyr_include_directories(include)
|
||||
endif()
|
||||
15
firmware/libs/fs_mgmt/Kconfig
Normal file
15
firmware/libs/fs_mgmt/Kconfig
Normal file
@@ -0,0 +1,15 @@
|
||||
menuconfig FS_MGMT
|
||||
bool "File System Management"
|
||||
select FLASH
|
||||
select FILE_SYSTEM
|
||||
select FILE_SYSTEM_LITTLEFS
|
||||
select FILE_SYSTEM_MKFS
|
||||
help
|
||||
Library for initializing and managing the file system.
|
||||
|
||||
if FS_MGMT
|
||||
# Logging configuration for the File System Management module
|
||||
module = FS_MGMT
|
||||
module-str = fs_mgmt
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
endif # FS_MGMT
|
||||
@@ -1,12 +1,23 @@
|
||||
menuconfig THREAD_MGMT
|
||||
bool "Thread Management"
|
||||
depends on OPENTHREAD
|
||||
select LASERTAG_UTILS
|
||||
select NETWORKING
|
||||
select NET_L2_OPENTHREAD
|
||||
select OPENTHREAD
|
||||
select OPENTHREAD_SHELL
|
||||
help
|
||||
Library for initializing and managing the OpenThread stack.
|
||||
|
||||
if THREAD_MGMT
|
||||
# Logging configuration for the Thread Management module
|
||||
module = THREAD_MGMT
|
||||
module-str = thread_mgmt
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
# Openthread configuration options
|
||||
config OPENTHREAD_DEFAULT_TX_POWER
|
||||
default 8
|
||||
range -40 8
|
||||
help
|
||||
Default transmit power for OpenThread. The value is in dBm and can be set according to the requirements of your application and regulatory limits.
|
||||
endif # THREAD_MGMT
|
||||
Reference in New Issue
Block a user