FreeRTOS Compile Error for PIC32MX575F512H

hmsm85 wrote on Thursday, February 13, 2014:

Hello,
I am trying to compile FreeRTOS the first time for PIC32 architecture.
I downloaded the FreeRTOS examples, that it have examples for PIC32MX360, PIC32MX460 and PIC32MX795.

When compile the examples i dont have any problem, and the compilation occurs very well.

But when i try change the processor for PIC32MX575F512H, when i am compiling the code, i get this error’s:

…/ParTest/ParTest.c: In function ‘vParTestInitialise’:
…/ParTest/ParTest.c:91:2: error: ‘TRISA’ undeclared (first use in this function)
…/ParTest/ParTest.c:91:2: note: each undeclared identifier is reported only once for each function it appears in
…/ParTest/ParTest.c:92:2: error: ‘PORTA’ undeclared (first use in this function)
…/ParTest/ParTest.c: In function ‘vParTestSetLED’:
…/ParTest/ParTest.c:110:3: error: ‘PORTASET’ undeclared (first use in this function)
…/ParTest/ParTest.c:116:3: error: ‘PORTACLR’ undeclared (first use in this function)
…/ParTest/ParTest.c: In function ‘vParTestToggleLED’:
…/ParTest/ParTest.c:128:2: error: ‘PORTAINV’ undeclared (first use in this function)

what can i do to solve this issue?

Someone can help me please?

tlafleur wrote on Thursday, February 13, 2014:

read the data sheet for that part your using athe the PIC32MX795 and you
will see what need to be change… its minor, but you need to understand
that Microchip make a lot of parts, and the detail is important… regester
and interrupt vectors change from part to part. also YOUR board may have
LED’s on different ports.

most likely, the define for the LED are NOT the same in the demo and your
board… also need to check timer registers

On Thu, Feb 13, 2014 at 10:10 AM, Hugo Martins hmsm85@users.sf.net wrote:

Hello,
I am trying to compile FreeRTOS the first time for PIC32 architecture.
I downloaded the FreeRTOS examples, that it have examples for PIC32MX360,
PIC32MX460 and PIC32MX795.

When compile the examples i dont have any problem, and the compilation
occurs very well.

But when i try change the processor for PIC32MX575F512H, when i am
compiling the code, i get this error’s:

…/ParTest/ParTest.c: In function ‘vParTestInitialise’:
…/ParTest/ParTest.c:91:2: error: ‘TRISA’ undeclared (first use in this
function)
…/ParTest/ParTest.c:91:2: note: each undeclared identifier is reported
only once for each function it appears in
…/ParTest/ParTest.c:92:2: error: ‘PORTA’ undeclared (first use in this
function)
…/ParTest/ParTest.c: In function ‘vParTestSetLED’:
…/ParTest/ParTest.c:110:3: error: ‘PORTASET’ undeclared (first use in
this function)
…/ParTest/ParTest.c:116:3: error: ‘PORTACLR’ undeclared (first use in
this function)
…/ParTest/ParTest.c: In function ‘vParTestToggleLED’:
…/ParTest/ParTest.c:128:2: error: ‘PORTAINV’ undeclared (first use in
this function)

what can i do to solve this issue?

Someone can help me please?

FreeRTOS Compile Error for PIC32MX575F512Hhttps://sourceforge.net/p/freertos/discussion/382005/thread/b088ac0a/?limit=25#dc4a

Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/freertos/discussion/382005/

To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/

~~ _/) _/) _/) ``` _/) ~~

Tom Lafleur
(858) 759-9692