[Bug]: svdconv generates wrong __VTOR_PRESENT when optional vtorPresent is absent from *.svd #152
Open
3 of 13 tasks
Labels
bug
Something isn't working
Is there an existing issue for this?
Current Behavior
According to the Open-CMSIS-SVD spec for the vtorPresent field "If not specified, then VTOR is assumed to be present."
If a *.svd file with <cpu><name>CM33</name> ... is lacking a <vtorPresent> field, the following output is generated.
#define __VTOR_PRESENT 0 /*!< Set to 1 if CPU supports Vector Table Offset Register
Expected Behavior
If vtorPresent is absent from *.svd, I would expect the following
#define __VTOR_PRESENT 1 /*!< Set to 1 if CPU supports Vector Table Offset Register
Steps To Reproduce
No response
Affected tools
Affected operating systems
Environment
No response
The text was updated successfully, but these errors were encountered: