mirror of https://github.com/ARMmbed/mbed-os.git
uVisor: Minor fix in the README
parent
2cbccba2e7
commit
1cca020ec6
|
@ -138,10 +138,16 @@ Before compiling, we need to override the original `K64F` target to enable the u
|
|||
"target.features_add": ["UVISOR"],
|
||||
"target.extra_labels_add": ["UVISOR_SUPPORTED"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"macros": [
|
||||
"FEATURE_UVISOR",
|
||||
"TARGET_UVISOR_SUPPORTED"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
The macros `FEATURE_UVISOR` and `TARGET_UVISOR_SUPPORTED` in the configuration file above are automatically defined for C and C++ files, but not for assembly files. Since the uVisor relies on those symbols in some assembly code, we need to define them manually.
|
||||
|
||||
---
|
||||
|
||||
**Checkpoint**
|
||||
|
|
Loading…
Reference in New Issue