<?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 GPIO.C file for LPC1317 in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-C-file-for-LPC1317/m-p/547822#M10254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Deepak Bansal on Tue Sep 11 22:28:08 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have GOPI.c file for LPC1343,.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to use it for LPC1317, so I added same file gpio.c without any change:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to make some changes in gpio.c for LPC1317 but I don't know what are they&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Keil v.4.54&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following error comes when I build using LPC1317. Build using LPC1343 works fine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]Rebuild target 'Target 1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiling gpio.c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #79: expected a type specifier&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #145: function "LPC_GPIO_TypeDef" may not be initialized&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #29: expected an expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(149): error:&amp;nbsp; #20: identifier "EINT0_IRQn" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(150): error:&amp;nbsp; #20: identifier "EINT1_IRQn" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(151): error:&amp;nbsp; #20: identifier "EINT2_IRQn" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(152): error:&amp;nbsp; #20: identifier "EINT3_IRQn" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(176): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(184): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(193): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(201): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(210): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(218): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(227): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(235): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(261): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(264): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(267): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(270): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(292): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(295): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(298): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(301): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(325): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(329): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(333): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(337): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(360): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(363): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(366): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiling io.c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #79: expected a type specifier&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #145: function "LPC_GPIO_TypeDef" may not be initialized&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #29: expected an expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;assembling startup_LPC13Uxx.s...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiling core_cm3.c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiling system_LPC13Uxx.c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Target not created[/B]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:04:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:04:47Z</dc:date>
    <item>
      <title>GPIO.C file for LPC1317</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-C-file-for-LPC1317/m-p/547822#M10254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Deepak Bansal on Tue Sep 11 22:28:08 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have GOPI.c file for LPC1343,.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to use it for LPC1317, so I added same file gpio.c without any change:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to make some changes in gpio.c for LPC1317 but I don't know what are they&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Keil v.4.54&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following error comes when I build using LPC1317. Build using LPC1343 works fine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]Rebuild target 'Target 1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiling gpio.c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #79: expected a type specifier&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #145: function "LPC_GPIO_TypeDef" may not be initialized&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #29: expected an expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(149): error:&amp;nbsp; #20: identifier "EINT0_IRQn" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(150): error:&amp;nbsp; #20: identifier "EINT1_IRQn" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(151): error:&amp;nbsp; #20: identifier "EINT2_IRQn" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(152): error:&amp;nbsp; #20: identifier "EINT3_IRQn" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(176): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(184): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(193): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(201): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(210): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(218): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(227): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(235): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(261): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(264): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(267): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(270): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(292): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(295): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(298): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(301): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(325): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(329): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(333): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(337): error:&amp;nbsp; #20: identifier "LPC_GPIO3" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(360): error:&amp;nbsp; #20: identifier "LPC_GPIO0" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(363): error:&amp;nbsp; #20: identifier "LPC_GPIO1" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source\gpio.c(366): error:&amp;nbsp; #20: identifier "LPC_GPIO2" is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiling io.c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #79: expected a type specifier&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #145: function "LPC_GPIO_TypeDef" may not be initialized&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.\header\gpio.h(28): error:&amp;nbsp; #29: expected an expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;assembling startup_LPC13Uxx.s...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiling core_cm3.c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiling system_LPC13Uxx.c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Target not created[/B]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/GPIO-C-file-for-LPC1317/m-p/547822#M10254</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:04:47Z</dc:date>
    </item>
  </channel>
</rss>

