Removed USB stack
parent
bfb38d51e1
commit
3540e86992
@ -1,79 +1,62 @@
|
|||||||
# Configure serial
|
# Disable Defaults + USB
|
||||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
CONFIG_CONSOLE=n
|
||||||
CONFIG_SERIAL=y
|
|
||||||
|
|
||||||
# Make sure printk is not printing to the UART console
|
|
||||||
CONFIG_CONSOLE=y
|
|
||||||
CONFIG_UART_CONSOLE=n
|
CONFIG_UART_CONSOLE=n
|
||||||
|
CONFIG_SERIAL=n
|
||||||
|
CONFIG_SHELL=n
|
||||||
|
CONFIG_USB_DEVICE_STACK=n
|
||||||
|
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
|
||||||
|
CONFIG_DK_LIBRARY=n
|
||||||
|
|
||||||
|
# Disable Networking Features
|
||||||
|
CONFIG_NET_IPV6=n
|
||||||
|
CONFIG_NET_IP_ADDR_CHECK=n
|
||||||
|
|
||||||
|
# Priorities / Memories
|
||||||
CONFIG_MAIN_THREAD_PRIORITY=7
|
CONFIG_MAIN_THREAD_PRIORITY=7
|
||||||
|
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
||||||
|
|
||||||
|
CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=2048
|
||||||
|
CONFIG_ZBOSS_DEFAULT_THREAD_STACK_SIZE=10240
|
||||||
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
|
||||||
|
|
||||||
|
CONFIG_NET_PKT_RX_COUNT=256
|
||||||
|
CONFIG_NET_PKT_TX_COUNT=10
|
||||||
|
|
||||||
|
# Zigbee
|
||||||
CONFIG_ZIGBEE=y
|
CONFIG_ZIGBEE=y
|
||||||
CONFIG_ZIGBEE_APP_UTILS=y
|
CONFIG_ZIGBEE_APP_UTILS=y
|
||||||
CONFIG_ZIGBEE_ROLE_ROUTER=y
|
CONFIG_ZIGBEE_ROLE_ROUTER=y
|
||||||
|
CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y
|
||||||
CONFIG_NET_IPV6=n
|
|
||||||
CONFIG_NET_IP_ADDR_CHECK=n
|
|
||||||
|
|
||||||
# Crypto config
|
# Crypto config
|
||||||
CONFIG_CRYPTO=y
|
CONFIG_CRYPTO=y
|
||||||
CONFIG_CRYPTO_NRF_ECB=y
|
CONFIG_CRYPTO_NRF_ECB=y
|
||||||
CONFIG_CRYPTO_INIT_PRIORITY=80
|
CONFIG_CRYPTO_INIT_PRIORITY=80
|
||||||
|
|
||||||
# USB subsystem configuration
|
# Logging
|
||||||
CONFIG_USB_DEVICE_STACK=y
|
CONFIG_USE_SEGGER_RTT=y
|
||||||
CONFIG_USB_DEVICE_PRODUCT="jamie Shell"
|
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=10240
|
||||||
CONFIG_USB_CDC_ACM=y
|
CONFIG_LOG=y
|
||||||
|
CONFIG_LOG_BACKEND_RTT=y
|
||||||
# Increase RX serial ring buffer
|
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=0
|
||||||
CONFIG_SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE=128
|
CONFIG_LOG_MODE_IMMEDIATE=y
|
||||||
|
|
||||||
# Let apps control the serial line
|
CONFIG_FATAL_ERROR_LOG_LEVEL_DBG=y
|
||||||
CONFIG_UART_LINE_CTRL=y
|
CONFIG_MPSL_LOG_LEVEL_DBG=y
|
||||||
|
CONFIG_ZBOSS_TRACE_LOG_LEVEL_DBG=y
|
||||||
|
CONFIG_ZBOSS_TRACE_MASK=0x00000C48
|
||||||
|
|
||||||
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=y
|
|
||||||
|
|
||||||
CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y
|
# Fatal Error Config
|
||||||
|
CONFIG_RESET_ON_FATAL_ERROR=y
|
||||||
CONFIG_SHELL=y
|
CONFIG_ZBOSS_RESET_ON_ASSERT=y
|
||||||
CONFIG_ZIGBEE_SHELL=y
|
|
||||||
CONFIG_ZIGBEE_SHELL_DEBUG_CMD=y
|
|
||||||
CONFIG_SENSOR_SHELL=n
|
|
||||||
|
|
||||||
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
# Bootlader
|
||||||
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
|
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
|
||||||
|
|
||||||
|
# Debug Optimizations
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_THREAD_INFO=y
|
CONFIG_DEBUG_THREAD_INFO=y
|
||||||
CONFIG_DEBUG_OPTIMIZATIONS=y
|
CONFIG_DEBUG_OPTIMIZATIONS=y
|
||||||
|
|
||||||
CONFIG_DEBUG_INFO=y
|
CONFIG_DEBUG_INFO=y
|
||||||
CONFIG_MPSL_ASSERT_HANDLER=n
|
CONFIG_MPSL_ASSERT_HANDLER=n
|
||||||
|
|
||||||
CONFIG_NET_PKT_RX_COUNT=256
|
|
||||||
CONFIG_NET_PKT_TX_COUNT=10
|
|
||||||
CONFIG_ZIGBEE_SHELL_ENDPOINT=64
|
|
||||||
CONFIG_DK_LIBRARY=n
|
|
||||||
|
|
||||||
CONFIG_LOG=y
|
|
||||||
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=0
|
|
||||||
|
|
||||||
CONFIG_MPSL_LOG_LEVEL_DBG=y
|
|
||||||
CONFIG_ZBOSS_TRACE_LOG_LEVEL_DBG=y
|
|
||||||
|
|
||||||
CONFIG_USE_SEGGER_RTT=y
|
|
||||||
CONFIG_LOG_BACKEND_RTT=y
|
|
||||||
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=10240
|
|
||||||
|
|
||||||
CONFIG_LOG_MODE_IMMEDIATE=y
|
|
||||||
|
|
||||||
CONFIG_SHELL_LOG_BACKEND=n
|
|
||||||
CONFIG_USB_NRFX_WORK_QUEUE_STACK_SIZE=2048
|
|
||||||
CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=2048
|
|
||||||
CONFIG_ZBOSS_DEFAULT_THREAD_STACK_SIZE=10240
|
|
||||||
CONFIG_USB_WORKQUEUE_STACK_SIZE=4096
|
|
||||||
|
|
||||||
CONFIG_RESET_ON_FATAL_ERROR=y
|
|
||||||
CONFIG_FATAL_ERROR_LOG_LEVEL_DBG=y
|
|
||||||
CONFIG_ZBOSS_TRACE_MASK=0x00000C48
|
|
||||||
CONFIG_ZBOSS_RESET_ON_ASSERT=n
|
|
@ -1,64 +1,64 @@
|
|||||||
# LOG configuration
|
# Disable USB
|
||||||
CONFIG_LOG=y
|
CONFIG_CONSOLE=n
|
||||||
CONFIG_LOG_MODE_DEFERRED=y
|
CONFIG_UART_CONSOLE=n
|
||||||
CONFIG_LOG_BUFFER_SIZE=4096
|
CONFIG_SERIAL=n
|
||||||
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=1024
|
|
||||||
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=1000
|
# Disable Defaults + USB
|
||||||
|
CONFIG_CONSOLE=n
|
||||||
|
CONFIG_UART_CONSOLE=n
|
||||||
|
CONFIG_SERIAL=n
|
||||||
|
CONFIG_SHELL=n
|
||||||
|
CONFIG_USB_DEVICE_STACK=n
|
||||||
|
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
|
||||||
|
CONFIG_DK_LIBRARY=n
|
||||||
|
|
||||||
|
# Disable Networking Features
|
||||||
|
CONFIG_NET_IPV6=n
|
||||||
|
CONFIG_NET_IP_ADDR_CHECK=n
|
||||||
|
|
||||||
# Configure serial
|
# Priorities / Memories
|
||||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
CONFIG_MAIN_THREAD_PRIORITY=7
|
||||||
CONFIG_SERIAL=y
|
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
||||||
|
|
||||||
# Make sure printk is not printing to the UART console
|
CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=2048
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_ZBOSS_DEFAULT_THREAD_STACK_SIZE=10240
|
||||||
CONFIG_UART_CONSOLE=y
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
|
||||||
|
|
||||||
CONFIG_HEAP_MEM_POOL_SIZE=2048
|
CONFIG_NET_PKT_RX_COUNT=256
|
||||||
CONFIG_MAIN_THREAD_PRIORITY=7
|
CONFIG_NET_PKT_TX_COUNT=10
|
||||||
|
|
||||||
|
# Zigbee
|
||||||
CONFIG_ZIGBEE=y
|
CONFIG_ZIGBEE=y
|
||||||
CONFIG_ZIGBEE_APP_UTILS=y
|
CONFIG_ZIGBEE_APP_UTILS=y
|
||||||
CONFIG_ZIGBEE_ROLE_ROUTER=y
|
CONFIG_ZIGBEE_ROLE_ROUTER=y
|
||||||
|
CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y
|
||||||
CONFIG_NET_IPV6=n
|
CONFIG_ZIGBEE_FOTA=y
|
||||||
CONFIG_NET_IP_ADDR_CHECK=n
|
|
||||||
|
|
||||||
# Crypto config
|
# Crypto config
|
||||||
CONFIG_CRYPTO=y
|
CONFIG_CRYPTO=y
|
||||||
CONFIG_CRYPTO_NRF_ECB=y
|
CONFIG_CRYPTO_NRF_ECB=y
|
||||||
CONFIG_CRYPTO_INIT_PRIORITY=80
|
CONFIG_CRYPTO_INIT_PRIORITY=80
|
||||||
|
|
||||||
# USB subsystem configuration
|
# Logging
|
||||||
CONFIG_USB_DEVICE_STACK=y
|
CONFIG_USE_SEGGER_RTT=y
|
||||||
CONFIG_USB_DEVICE_PRODUCT="jamie Shell"
|
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=10240
|
||||||
CONFIG_USB_CDC_ACM=y
|
CONFIG_LOG=y
|
||||||
|
CONFIG_LOG_BACKEND_RTT=y
|
||||||
# Let apps control the serial line
|
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=0
|
||||||
CONFIG_UART_LINE_CTRL=y
|
CONFIG_LOG_MODE_IMMEDIATE=y
|
||||||
|
|
||||||
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=y
|
CONFIG_FATAL_ERROR_LOG_LEVEL_DBG=y
|
||||||
|
CONFIG_MPSL_LOG_LEVEL_DBG=y
|
||||||
|
|
||||||
|
# Fatal Error Config
|
||||||
CONFIG_RESET_ON_FATAL_ERROR=y
|
CONFIG_RESET_ON_FATAL_ERROR=y
|
||||||
CONFIG_ZBOSS_RESET_ON_ASSERT=y
|
CONFIG_ZBOSS_RESET_ON_ASSERT=y
|
||||||
|
|
||||||
CONFIG_ZIGBEE_CHANNEL_SELECTION_MODE_MULTI=y
|
# Bootloader
|
||||||
|
|
||||||
CONFIG_SENSOR_SHELL=n
|
|
||||||
|
|
||||||
CONFIG_SHELL=y
|
|
||||||
CONFIG_ZIGBEE_SHELL=y
|
|
||||||
|
|
||||||
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y
|
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y
|
||||||
|
|
||||||
CONFIG_BOOTLOADER_MCUBOOT=y
|
CONFIG_BOOTLOADER_MCUBOOT=y
|
||||||
CONFIG_ZIGBEE_FOTA=y
|
|
||||||
CONFIG_IMG_MANAGER=y
|
CONFIG_IMG_MANAGER=y
|
||||||
CONFIG_STREAM_FLASH=y
|
CONFIG_STREAM_FLASH=y
|
||||||
CONFIG_STREAM_FLASH_ERASE=y
|
CONFIG_STREAM_FLASH_ERASE=y
|
||||||
CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE=y
|
CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE=y
|
||||||
CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION="0.0.0"
|
CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION="0.0.0"
|
||||||
|
|
||||||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
|
|
||||||
CONFIG_USB_NRFX_WORK_QUEUE_STACK_SIZE=2048
|
|
||||||
CONFIG_IEEE802154_NRF5_RX_STACK_SIZE=2048
|
|
||||||
CONFIG_ZBOSS_DEFAULT_THREAD_STACK_SIZE=10240
|
|
Loading…
Reference in New Issue