Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists