Commit 4dc12f48 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Andrzej Puzdrowski
Browse files

boot: zephyr: Disable HW stack protection

Some Zephyr boards enable HW stack protection by default, which
propagates in mcuboot build. Bootloader works fine with that option, but
the problem arises when we jump to application code. HW stack protection
catches application code during early init, which results in
"unresponsive" application.

Disable HW stack protection, so it doesn't make any harm for application
code.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
parent 0d02976d
Loading
Loading
Loading
Loading
+2 −0
Changes for boot/zephyr/prj.conf: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -33,3 +33,5 @@ CONFIG_FLASH=y
CONFIG_LOG=y
### Ensure Zephyr logging changes don't use more resources
CONFIG_LOG_DEFAULT_LEVEL=0

CONFIG_HW_STACK_PROTECTION=n