fix(boards): Fix nRF5340 DK issues

- Fixed a stack overflow when enabling Bluetooth.
- Increased the I2C buffer size to support displays.
This commit is contained in:
Joel Spadin 2022-12-10 21:50:57 -06:00 committed by Pete Johanson
parent 2b235ae281
commit 36ee1f4e0a
2 changed files with 12 additions and 1 deletions

View file

@ -11,5 +11,6 @@ CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
# Default main stack size is too small for HCI RPMsg
# Default main and BLE stack sizes are too small for HCI RPMsg
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_ZMK_BLE_THREAD_STACK_SIZE=1024

View file

@ -0,0 +1,10 @@
/*
* Copyright (c) 2022 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
&arduino_i2c {
// Default buffer size is too small for use with displays.
zephyr,concat-buf-size = <512>;
};