Menu

#9 Fields ignored for ST CMSIS SVD files

v1.0_(example)
open
nobody
5
2014-09-29
2014-07-05
No

The ParseSVD method looks for the <enumeratedValues> child element inside fields, but it's optional by the schema. ST does not seem to use them and the result is that all the bit field definitions are pruned. A quick fix is to move the field handling code outside of the "if (enumeratedValues != null)" block.

Discussion

  • Leeloo Minai

    Leeloo Minai - 2014-08-07

    It was an SVD schema downloaded from the ST site. In this case it was for the STM32F30x - I am attaching the zip file with it.

     
  • Sebastian Oller

    Sebastian Oller - 2014-09-29

    When version 2.5 will be released? or build (r175) will be in http://embsysregview.sourceforge.net/update-beta repo?

    I'm looking forward

     

    Last edit: Sebastian Oller 2014-09-29

Log in to post a comment.

Monday.com Logo