cmake: cmse support for armv8-m
This commit is contained in:
parent
db65b6b0e6
commit
019b7a39d4
@ -59,4 +59,8 @@ if(CONFIG_ARMV8M_STACKCHECK)
|
||||
list(APPEND PLATFORM_FLAGS -finstrument-functions -ffixed-r10)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ARMV8M_CMSE)
|
||||
list(APPEND PLATFORM_FLAGS -mcmse)
|
||||
endif()
|
||||
|
||||
add_compile_options(${PLATFORM_FLAGS})
|
||||
|
Loading…
Reference in New Issue
Block a user