EmbeddedRelated.com
Forums

Re: Demo Code for olimex LPC 2378 STK

Started by cmay...@yahoo.com October 18, 2008
Hi, I solved it today.

I looked for the registers in the LPC2378 user manual and I added the defines, using casting to pointer with their address.

Shmuel.
Hi,
>I have the same problem. Did you solve it?
>Thanks.
>
>S M
>
>Hi
>>
>> I have the code for the LPC 2378 but this happens when I compile it
>>
>> What are those variables are they 2378 Registers or globle variables?
>>
>> ------------------------
>> Building configuration: adc - Flash_Debug_2378-SK
>>
>> Updating build tree...
>>
>> adc.c
>>
>> Error[Pe020]: identifier "VICADDRESS" is undefined F:\LPC2378-
>> DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\simple\ADC\adc.c 113
>>
>> adctest.c
>>
>> cstartup.s79
>>
>> irq.c
>>
>> Error[Pe020]: identifier "VICINTENCLEAR" is undefined F:\LPC2378-
>> DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\simple\Common\src\irq.c
>> 30
>>
>> Error[Pe020]: identifier "VICADDRESS" is undefined F:\LPC2378-
>> DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\simple\Common\src\irq.c
>> 31
>>
>> Error[Pe020]: identifier "VICINTSELECT" is undefined F:\LPC2378-
>> DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\simple\Common\src\irq.c
>> 32
>>
>> Error[Pe020]: identifier "VICIRQSTATUS" is undefined F:\LPC2378-
>> DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\simple\Common\src\irq.c
>> 37
>>
>> Error[Pe020]: identifier "VICINTENCLEAR" is undefined F:\LPC2378-
>> DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\simple\Common\src\irq.c
>> 59
>>
>> Error[Pe020]: identifier "VICIRQSTATUS" is undefined F:\LPC2378-
>> DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\simple\Common\src\irq.c
>> 67
>>
>> Error[Pe020]: identifier "VICINTENABLE" is undefined F:\LPC2378-
>> DEMO\arm\examples\NXP\LPC23xx\IAR-LPC-2378-SK\simple\Common\src\irq.c
>> 71
>>
>> target.c
>>
>> Total number of errors: 8
>>
>> Total number of warnings: 0
>>
>> -----------------------------
>>
>> Regards
>>
>> JJ
>
>

An Engineer's Guide to the LPC2100 Series