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:
parent
2b235ae281
commit
36ee1f4e0a
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
10
app/boards/nrf5340dk_nrf5340_cpuapp.overlay
Normal file
10
app/boards/nrf5340dk_nrf5340_cpuapp.overlay
Normal 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>;
|
||||
};
|
Loading…
Reference in a new issue