Skip to content

Commit

Permalink
boards: qemu_xtensa: Conditionally set IPM console stack size
Browse files Browse the repository at this point in the history
Set the IPM console stack size only when the console is enabled.

See zephyrproject-rtos#22474.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
  • Loading branch information
carlescufi committed Feb 14, 2020
1 parent 8c73dd7 commit 37c3412
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions boards/xtensa/qemu_xtensa/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ config BUILD_OUTPUT_BIN
config BOARD
default "qemu_xtensa"

config IPM_CONSOLE_STACK_SIZE
default 2048 if IPM_CONSOLE_RECEIVER

endif # BOARD_QEMU_XTENSA
1 change: 0 additions & 1 deletion boards/xtensa/qemu_xtensa/qemu_xtensa_defconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_MAIN_STACK_SIZE=2048
CONFIG_IPM_CONSOLE_STACK_SIZE=2048
CONFIG_BOARD_QEMU_XTENSA=y
CONFIG_CONSOLE=y
CONFIG_SOC_XTENSA_SAMPLE_CONTROLLER=y
Expand Down

0 comments on commit 37c3412

Please sign in to comment.