mirror of https://github.com/ARMmbed/mbed-os.git
Non Secure flag is required for pre-processing of linker file
parent
3e181422d8
commit
8eac84ca80
|
@ -88,6 +88,8 @@ class GCC(mbedToolchain):
|
|||
|
||||
if target.core == "Cortex-M23" or target.core == "Cortex-M33":
|
||||
self.cpu.append("-mcmse")
|
||||
elif target.core == "Cortex-M23-NS" or target.core == "Cortex-M33-NS":
|
||||
self.flags["ld"].append("-D__DOMAIN_NS=1")
|
||||
|
||||
self.flags["common"] += self.cpu
|
||||
|
||||
|
|
Loading…
Reference in New Issue