Skip to content

Commit 8838200

Browse files
AlessandroAmeriac
authored andcommitted
Add configuration file for when FEATURE_UVISOR is set
The configuration file at the moment only contains the CMSIS NVIC virtualization macros. When FEATURE_UVISOR is set, we turn on CMSIS NVIC virtualization automatically. This removes the need for users to specify the macros themselves. If UVISOR_SUPPORTED is set as well, the NVIC macros are turned into vIRQ ones, otherwise they stay NVIC as usual, thanks to the fallback implementation provided by `unsupported.h`.
1 parent 6fcf168 commit 8838200

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

features/FEATURE_UVISOR/mbed_lib.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "uvisor-lib",
3+
"macros": ["CMSIS_NVIC_VIRTUAL", "CMSIS_VECTAB_VIRTUAL"]
4+
}

0 commit comments

Comments
 (0)