Skip to content
Commit c81eaff1 authored by Grant Ramsay's avatar Grant Ramsay Committed by David Leach
Browse files

tests: kernel: mem_protect: Handle thumb instructions for Cortex-R



Check for COMPILER_ISA_THUMB2 rather than CPU_CORTEX_M when determining
if special handling is required for thumb instructions.

This prevents false negative results on Cortex-R devices that may
generate a fault (test pass) even if the MMU/MPU is not configured
correctly.

Signed-off-by: default avatarGrant Ramsay <gramsay@enphaseenergy.com>
parent 3409d0ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment