LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Luminary 3s8962. Can't use GPIO C pins as interrupt source.

Solved!
Go to solution

I'm trying to use GPIO C-5  as the interrupt source to run a vi and get this error

 

Build target 'LabVIEW'
compiling ARM_irq.c...
..\Drivers\Interrupt\ARM_irq.c(313): error:  #20: identifier "LM3Sxxxx_GPIOCHandlerP" is undefined
Target not created

It works when selecting GPIO groups a,b and d...

 

David

0 Kudos
Message 1 of 3
(6,425 Views)
Solution
Accepted by topic author David-n-MO

Open your project in Keil uVision and make a little change in ARM_irq.c/line 225:

  LM3Sxxxx_GPIOCAHandlerP to LM3Sxxxx_GPIOCHandlerP

 

ARM_irq.c is in the "Target Drivers" Group of the LabVIEW project.

 

To make the change permanent, so you can use GPIOC interrupts in future projects, modify also the file from Template:

<LabVIEW 8.6>\Targets\Keil\Embedded\RealView\EK-LM3S8962\Template\Drivers\Interrupt\ARM_irq.c

 

 

0 Kudos
Message 2 of 3
(6,417 Views)

What? an NI bug??? Impossible! 🙂

 

I had seen that, but being a total newbie to this embedded world forgot about uVision and apparently was editing the wrong file.

 

Thank you... It works fine now.

0 Kudos
Message 3 of 3
(6,409 Views)