<?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: nxpUSBlib with CodeSourcery G++ (or GNU Arm Embedded)?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522534#M5170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by hoan on Tue Jan 31 12:11:35 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;USBRAM_SECTION is defined in HAL_LPC17xx.h as RAM2 or HAL_LPC... whatever processor you are using.&amp;nbsp; For LPC17xx, it is the 2nd 32K sram section often refered as AHB ram.&amp;nbsp; You need to define it in the linker script or change it.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:42:20 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:42:20Z</dc:date>
    <item>
      <title>nxpUSBlib with CodeSourcery G++ (or GNU Arm Embedded)?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522533#M5169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mozmck on Fri Jan 27 15:03:34 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use the nxpUSBlib with CodeSourcery G++, and have run across stuff that appears to be specific to the CodeRed LPCXpresso compiler.&amp;nbsp; In particular there is a __DATA(USBRAM_SECTION) macro that part of the CodeRed stuff and looks like it depends on special named RAM sections in a CodeRed created linker script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is anyone using this library with CodeSourcery?&amp;nbsp; Is the __DATA(USBRAM_SECTION) necessary?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522533#M5169</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: nxpUSBlib with CodeSourcery G++ (or GNU Arm Embedded)?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522534#M5170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by hoan on Tue Jan 31 12:11:35 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;USBRAM_SECTION is defined in HAL_LPC17xx.h as RAM2 or HAL_LPC... whatever processor you are using.&amp;nbsp; For LPC17xx, it is the 2nd 32K sram section often refered as AHB ram.&amp;nbsp; You need to define it in the linker script or change it.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522534#M5170</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: nxpUSBlib with CodeSourcery G++ (or GNU Arm Embedded)?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522535#M5171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mozmck on Thu Feb 09 15:51:32 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That is correct for USBRAM_SECTION, but the __DATA macro is defined in a file called cr_section_macros.h that only comes with the CodeRed compiler/IDE as far as I can tell.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522535#M5171</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: nxpUSBlib with CodeSourcery G++ (or GNU Arm Embedded)?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522536#M5172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tuong on Tue Feb 14 19:38:48 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can do like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#if defined(__GNUC__)&amp;amp;&amp;amp;(!defined(__CODE_RED))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#undef__DATA(x) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define __DATA(x)// your USB RAM section symbol ex: __attribute__((section("usbram")))&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/nxpUSBlib-with-CodeSourcery-G-or-GNU-Arm-Embedded/m-p/522536#M5172</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:22Z</dc:date>
    </item>
  </channel>
</rss>

