Skip to content

Commit

Permalink
boards: qemu_cortex_a53: move MAX_THREAD_BYTES to Kconfig
Browse files Browse the repository at this point in the history
This moves CONFIG_MAX_THREAD_BYTES from the board's defconfig
file into the Kconfig file. This is to get rid of the cmake
warning about CONFIG_MAX_THREAD_BYTES being assigned value
but got the value ''. This is due to CONFIG_USERSPACE being
disabled, where some tests explicitly do so. This is simply
done to avoid confusion when running those tests manually.

Signed-off-by: Daniel Leung <[email protected]>
  • Loading branch information
dcpleung authored and nashif committed Jun 20, 2023
1 parent fb1651f commit 001795b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions boards/arm64/qemu_cortex_a53/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_cortex_a53"

config MAX_THREAD_BYTES
default 3

endif # BOARD_QEMU_CORTEX_A53
1 change: 0 additions & 1 deletion boards/arm64/qemu_cortex_a53/qemu_cortex_a53_smp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ CONFIG_PM_CPU_OPS=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=2
CONFIG_TIMEOUT_64BIT=y
CONFIG_MAX_THREAD_BYTES=3

0 comments on commit 001795b

Please sign in to comment.