From stack_analyze function, used isr stack is 368 bytes with the controller build, main stack is 288 bytes and idle stack is 56 bytes. Hence, configuring sizes of 512, 512, and 256 bytes for isr, main and idle stacks respectively. Increased max connections from 16 to 20 utilizing the RAM free from the reduced stack sizes. Change-id: I67d073fd1893cafc53d36e89035a6fd931488a46 Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
15 lines
345 B
Plaintext
15 lines
345 B
Plaintext
CONFIG_CONSOLE=n
|
|
CONFIG_STDOUT_CONSOLE=n
|
|
CONFIG_UART_CONSOLE=n
|
|
CONFIG_GPIO=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
CONFIG_UART_NRF5_BAUD_RATE=115200
|
|
CONFIG_UART_NRF5_FLOW_CONTROL=n
|
|
CONFIG_MAIN_STACK_SIZE=512
|
|
CONFIG_IDLE_STACK_SIZE=256
|
|
CONFIG_ISR_STACK_SIZE=512
|
|
CONFIG_BLUETOOTH=y
|
|
CONFIG_BLUETOOTH_HCI_RAW=y
|
|
CONFIG_BLUETOOTH_MAX_CONN=20
|