Skip to content

Commit

Permalink
boards: xt-sim*: 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 0b11b27 commit e23e894
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions boards/xtensa/xt-sim/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
config BOARD
default "xt-sim"
depends on BOARD_XT_SIM

config IPM_CONSOLE_STACK_SIZE
default 2048 if IPM_CONSOLE_RECEIVER
1 change: 0 additions & 1 deletion boards/xtensa/xt-sim/xt-sim_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_SOC_XTENSA_SAMPLE_CONTROLLER=y
CONFIG_BOARD_XT_SIM=y
CONFIG_CONSOLE=y
Expand Down
1 change: 0 additions & 1 deletion boards/xtensa/xt-sim/xt-sim_intel_s1000_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_SOC_INTEL_S1000=y
CONFIG_BOARD_XT_SIM=y
CONFIG_CONSOLE=y
Expand Down

0 comments on commit e23e894

Please sign in to comment.