From 1cca020ec66f14c4378f0f4c64177bb49437f665 Mon Sep 17 00:00:00 2001 From: Alessandro Angelino Date: Wed, 24 Aug 2016 09:51:21 +0100 Subject: [PATCH] uVisor: Minor fix in the README --- features/FEATURE_UVISOR/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/features/FEATURE_UVISOR/README.md b/features/FEATURE_UVISOR/README.md index 1570d871bd..88ba246e28 100644 --- a/features/FEATURE_UVISOR/README.md +++ b/features/FEATURE_UVISOR/README.md @@ -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**