Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions boards/arm/twr_ke18f/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@ config TEMP_KINETIS
default y if "$(dt_nodelabel_enabled,adc0)"
depends on SENSOR && ADC

# The KE1xF has 8 MPU regions, which is not enough for both HW stack protection
# and userspace. Only enable HW stack protection if userspace is not enabled.
config HW_STACK_PROTECTION
default y if !USERSPACE

endif # BOARD_TWR_KE18F
1 change: 0 additions & 1 deletion boards/arm/twr_ke18f/twr_ke18f_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=120000000

# Enable MPU
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y