<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC Microcontrollers中的主题 Re: Problems in the LPC11UXX SVD file</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-in-the-LPC11UXX-SVD-file/m-p/746607#M30109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also affected by these problems in the SVD files. I'm also relying on the files for code generation. &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌ are there already news on whether this could be forwarded to the responsible persons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if the problems could be fixed for all NXP SVD files, so that other people that use these files can benefit from the fixes too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 11:00:47 GMT</pubDate>
    <dc:creator>mail9</dc:creator>
    <dc:date>2018-06-14T11:00:47Z</dc:date>
    <item>
      <title>Problems in the LPC11UXX SVD file</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-in-the-LPC11UXX-SVD-file/m-p/746605#M30107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been working on &lt;A class="link-titled" href="https://github.com/coredump-ch/lpc11uxx-rs/" title="https://github.com/coredump-ch/lpc11uxx-rs/"&gt;LPC11Uxx register mappings&lt;/A&gt; for the &lt;A href="https://rust-lang.org"&gt;Rust language&lt;/A&gt; using &lt;A class="link-titled" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.rust-lang.org%2F" title="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.rust-lang.org%2F"&gt;this SVD file&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The SVD file has some problems which I had to fix for my project. I hope those fixes can be applied to the original file, so others may benefit.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Duplicate Names&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Various enumerated values have identical names, leading to duplicate names in the generated code. Fix: &lt;A class="link-titled" href="https://github.com/coredump-ch/lpc11uxx-rs/commit/82663b47377ce0dfbe8bcf84483e7f5b38b57c77#diff-dae6471b214b52b9e0a71ec9f8ca223f" title="https://github.com/coredump-ch/lpc11uxx-rs/commit/82663b47377ce0dfbe8bcf84483e7f5b38b57c77#diff-dae6471b214b52b9e0a71ec9f8ca223f"&gt;Fix duplicate names in SVD file · coredump-ch/lpc11uxx-rs@82663b4 · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Double underscores (_) in names&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is more a stylistic issue, but leads to warnings in the generated code. Fix: &lt;A class="link-titled" href="https://github.com/coredump-ch/lpc11uxx-rs/commit/45f06531715954dffa0838c7d6fb1b92359b15cc#diff-dae6471b214b52b9e0a71ec9f8ca223f" title="https://github.com/coredump-ch/lpc11uxx-rs/commit/45f06531715954dffa0838c7d6fb1b92359b15cc#diff-dae6471b214b52b9e0a71ec9f8ca223f"&gt;Fix snake_case errors in SVD file · coredump-ch/lpc11uxx-rs@45f0653 · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Reset value of the SYSAHBCLKCTRL register seems wrong&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The reset value of the System clock control register seems to be wrong. According to the data-sheet it is 0x3F, but in the SVD file it is 0x0801485F. Fix: &lt;A class="link-titled" href="https://github.com/coredump-ch/lpc11uxx-rs/commit/384788a06d52b82e6281abb54bd79de64e7f93c8#diff-dae6471b214b52b9e0a71ec9f8ca223f" title="https://github.com/coredump-ch/lpc11uxx-rs/commit/384788a06d52b82e6281abb54bd79de64e7f93c8#diff-dae6471b214b52b9e0a71ec9f8ca223f"&gt;Fix reset value of the SYSAHBCLKCTRL register · coredump-ch/lpc11uxx-rs@384788a · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the issues I encountered so far. I can report any further problems as I find them if desired.&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Raphael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jun 2018 16:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-in-the-LPC11UXX-SVD-file/m-p/746605#M30107</guid>
      <dc:creator>raphael_nestler</dc:creator>
      <dc:date>2018-06-03T16:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in the LPC11UXX SVD file</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-in-the-LPC11UXX-SVD-file/m-p/746606#M30108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="319806" data-username="raphael.nestler@sensirion.com" href="https://community.nxp.com/people/raphael.nestler@sensirion.com"&gt;Raphael Nestler&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reporting.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 02:02:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-in-the-LPC11UXX-SVD-file/m-p/746606#M30108</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-06-05T02:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in the LPC11UXX SVD file</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-in-the-LPC11UXX-SVD-file/m-p/746607#M30109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also affected by these problems in the SVD files. I'm also relying on the files for code generation. &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌ are there already news on whether this could be forwarded to the responsible persons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if the problems could be fixed for all NXP SVD files, so that other people that use these files can benefit from the fixes too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 11:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problems-in-the-LPC11UXX-SVD-file/m-p/746607#M30109</guid>
      <dc:creator>mail9</dc:creator>
      <dc:date>2018-06-14T11:00:47Z</dc:date>
    </item>
  </channel>
</rss>

