uVisor: Minor fix in the README

pull/2532/head
Alessandro Angelino 2016-08-24 09:51:21 +01:00
parent 2cbccba2e7
commit 1cca020ec6
1 changed files with 7 additions and 1 deletions

View File

@ -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**