Menu

#7 SVD file using % (dim elements) specifiers doesn't work.

v1.0_(example)
closed
SVD (2) 0.2.5 (2)
1
2014-06-19
2014-06-05
No

Unroling registers using registers specified in the SVD file with '%' and dim (dimIncrement, dimIndex) doesn't work. For example LPC178x_7x, GPIO. See http://www.keil.com/pack/doc/cmsis/SVD/html/groupdim_element_groupgr.html

Discussion

  • Erich Styger

    Erich Styger - 2014-06-15

    I have implemented support for '%', see
    http://mcuoneclipse.com/2014/06/13/embsys-registers-view-supporting-dimelementgroup-of-cmsis-svd/
    It contains a link to the GitHub files with my fix for it.
    I would like to push my changes upstream: who could help me with this?

     
    • Raven Claw

      Raven Claw - 2014-06-17

      Hi Erich,

      Thank you very much for extending the SVD parser. I never looked at the svd specification, just at the samples I had at that time.
      Could you please post a patch file as attachment to this bug report/solution.
      I am the original author and maintainer, so I will take care your patch is included in the next release.

      Btw: I'm impressed by your post on mcuoneclipse about installing/using the view. You did a great job there too.

      -Robert

       
  • Erich Styger

    Erich Styger - 2014-06-17

    Hi Robert,
    nice to meet you :-)
    I have attached a patch file to this comment. Let me know if you need anything else. I would love to see this upstream in the next release.

    What about the CMSIS-SVD files I have received from Freescale? Can they be included as well?

    Erich

     
  • Raven Claw

    Raven Claw - 2014-06-18

    Sure, just attach them in an archive (7z,zip,...)

    Is there a download location for freescale svd's ? Or did you get them by mail ? I've download them from the arm site, but it seems thats not the most up to date place.

    -Robert

     
  • Raven Claw

    Raven Claw - 2014-06-19
    • labels: SVD --> SVD, 0.2.5
    • status: open --> closed
     

Log in to post a comment.