<?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>topic Re: LPCOpen 2_12 for LPC11U68 is broken in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPCOpen-2-12-for-LPC11U68-is-broken/m-p/680312#M634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reporting this bug, we have already send the report to the LPCOpen developers. Regarding your questions, that is the latest version available, we had already received reports from other customers but we still don't have a date for the fixed version to be released and about updating the FreeRTOS version, &lt;SPAN&gt;it should be fine for you to just drop the latest FreeRTOS files into your project, overwriting the previous files (make sure you back up the files first).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2017 17:31:46 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2017-07-03T17:31:46Z</dc:date>
    <item>
      <title>LPCOpen 2_12 for LPC11U68 is broken</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPCOpen-2-12-for-LPC11U68-is-broken/m-p/680311#M633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This week I bought the LPC11U68 ExpressoBoard from NXP, and then I downloaded the &lt;STRONG&gt;lpcopen_2_12_lpcxpresso_nxp_lpcxpresso_11u68.zip &lt;/STRONG&gt;bundle. I also downloaded and installed the mcuxpressoide 10.0.0_344 IDE for my LinuxMint 18.2 box.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The freertos_blinky demo (in fact, all demos) refused to be compiled because a problem with building the chip library. There were two major problems:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. A mismatch between a declaration and definition in a system function&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;EM&gt;../src/gpio_11u6x.c:96:6: error: conflicting types for 'Chip_GPIO_SetPortDIR'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's easy to figure out what's going on if you look at the original declaration and definition&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;void Chip_GPIO_SetPortDIR(LPC_GPIO_T *pGPIO, uint8_t port, &lt;STRONG&gt;uint32_t&lt;/STRONG&gt; pinMask, bool outSet);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;void Chip_GPIO_SetPortDIR(LPC_GPIO_T *pGPIO, uint8_t port, &lt;STRONG&gt;uint8_t&lt;/STRONG&gt; pinMask, bool outSet) {}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After fixing it in the function's definition (uint32_t) a new problem shows up.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. A close brace&amp;nbsp;&lt;SPAN&gt;in a system function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;EM&gt;../src/syscon_11u6x.c: In function 'Chip_SYSCTL_SetPinInterrupt':&lt;BR /&gt;../src/syscon_11u6x.c:106:1: error: expected declaration or statement at end of input&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In&amp;nbsp;&lt;SPAN&gt;../src/syscon_11u6x.c:61 there is this function definition:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;void Chip_SYSCTL_SetPinInterrupt(uint32_t intno, uint8_t port, uint8_t pin)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp; if (port == 0) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; /* Pins P0.1 to P0.23 only */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; LPC_SYSCTL-&amp;gt;PINTSEL[intno] = (uint32_t) pin;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp; } else {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; /* P1.1 to P1.31 and P2.0 to P2.7 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; LPC_SYSCTL-&amp;gt;PINTSEL[intno] = (uint32_t) ((port - 1) * 32 + pin + 24);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;That's not a typo!&amp;nbsp;&lt;SPAN&gt;Chip_SYSCTL_SetPinInterrupt() doesn't have a close brace!!!!! Somebody forgot to close the function, and of course, to test the whole bundle.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using the NXP tools for years, so it took me few minutes to figure out what the problems were and then fixed them, but some philosophical questions have arose:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.- Did I downloaded a wrong bundle? It was the most recent I found, however, I could overlooked a newer one.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.- If this is the most recent release: Did nobody note this problem in years?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.-&amp;nbsp;&lt;SPAN&gt;If this is the most recent release: What can I do so that a newer fixed release is build and share by NXP? It will be annoying for me and other programmers to fix the problems anytime a new workspace is created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4.- This one is not so important: FreeRTOS is currently in release 9.0.0, and the bundle is including&amp;nbsp;the 7.1 (and so many other bundles for other chips as well), so how the newest FreeRTOS release can be included in the bundles?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the sake of making life easier for me and other programmers in the near future, I've attached the fixed bundle. It works as expected in LinuxMint 18.2.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338673"&gt;lpcopen_2_12_lpcxpresso_nxp_lpcxpresso_11u68_fixed.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 19:34:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPCOpen-2-12-for-LPC11U68-is-broken/m-p/680311#M633</guid>
      <dc:creator>fjrg76</dc:creator>
      <dc:date>2017-07-01T19:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOpen 2_12 for LPC11U68 is broken</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPCOpen-2-12-for-LPC11U68-is-broken/m-p/680312#M634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reporting this bug, we have already send the report to the LPCOpen developers. Regarding your questions, that is the latest version available, we had already received reports from other customers but we still don't have a date for the fixed version to be released and about updating the FreeRTOS version, &lt;SPAN&gt;it should be fine for you to just drop the latest FreeRTOS files into your project, overwriting the previous files (make sure you back up the files first).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 17:31:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPCOpen-2-12-for-LPC11U68-is-broken/m-p/680312#M634</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-07-03T17:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOpen 2_12 for LPC11U68 is broken</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPCOpen-2-12-for-LPC11U68-is-broken/m-p/680313#M635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 23:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPCOpen-2-12-for-LPC11U68-is-broken/m-p/680313#M635</guid>
      <dc:creator>fjrg76</dc:creator>
      <dc:date>2017-08-04T23:32:10Z</dc:date>
    </item>
  </channel>
</rss>

