boards: olimex_lora_stm32wl_devkit: enable MPU and HW stack protection
The random MPU faults experienced before were actually caused by a too small system work queue stack for LoRaWAN in a custom application. PR #52550 adds a compile-time check to avoid such issues in the future. Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
parent
d2488d2160
commit
194f4f10a4
1 changed files with 4 additions and 4 deletions
|
@ -14,11 +14,11 @@ CONFIG_CLOCK_CONTROL=y
|
|||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
|
||||
# PRELIMINARY: Don't enable MPU to prevent random MPU faults in Zephyr LoRa driver
|
||||
#CONFIG_ARM_MPU=y
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
# PRELIMINARY: Don't enable HW stack protection (only available with MPU)
|
||||
#CONFIG_HW_STACK_PROTECTION=y
|
||||
# Enable HW stack protection
|
||||
CONFIG_HW_STACK_PROTECTION=y
|
||||
|
||||
# enable pin controller
|
||||
CONFIG_PINCTRL=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue