Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

FreeRTOS Compile Error for PIC32MX575F512H

Posted by hmsm85 on 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?


FreeRTOS Compile Error for PIC32MX575F512H

Posted by tlafleur on 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?

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


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner