Skip to content

Commit f764b21

Browse files
mars-lowkartben
authored andcommitted
boards: mpfs_icicle: Set CONFIG_MP_MAX_NUM_CPUS=1 for non-SMP build variant
Besides E51 and U54 SMP variants, one can target a single core of U54 for testing purposes. There is already CONFIG_RV_BOOT_HART=1 that specifies the starting HART ID for the SMP core. Set CONFIG_MP_MAX_NUM_CPUS=1 as well to limit the number of physical CPUs visible at build time so that Zephyr code tries running only on the selected one. Signed-off-by: Marek Slowinski <[email protected]>
1 parent e33d9ee commit f764b21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

boards/microchip/mpfs_icicle/mpfs_icicle_polarfire_u54_defconfig

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ CONFIG_RV_BOOT_HART=1
1414
# GPIO driver options
1515
CONFIG_GPIO=y
1616
CONFIG_I2C=y
17+
CONFIG_MP_MAX_NUM_CPUS=1

0 commit comments

Comments
 (0)