cmake: cmse support for armv8-m
This commit is contained in:
parent
db65b6b0e6
commit
019b7a39d4
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue