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


Warnings in MPLAB

Posted by Peter Erasmus on January 30, 2012
Hi All

I am starting out with FreeRTOS and MPLAB for PIC32,I bought the Practical Guide and down loaded the Examples and sours files from the link in the guide,
Example 1 fail to build and From Example 2 does build however with a number of warnings regaring pointesr and asm code in the FreeRTOS source files.I am useing MPLAB 8.83 and C32 2.02 .
I would like to have a build with out warnings because if you are learning something you do not have the experience or the knowledge to determine if they will cause you problem or not.
Just to mention I am sure MPLAB is working as I have a number of projects running under MPLAB

Any help would be appreciated

RE: Warnings in MPLAB

Posted by Richard on January 30, 2012
Sorry to hear you are having a problem.

This looks like a compiler version issue. I just built the projects with V2.01 of the compiler and my output is below. It did build, but output some warnings. I will update the code on the link, and post back here when it is done.


RE: Warnings in MPLAB

Posted by Peter Erasmus on January 30, 2012

Thank you for informing about this ,I really appreciate it .
I will wait till you had time to solve this as I am learing to use RTOS and can wait a bit
Once again thank you very much.


RE: Warnings in MPLAB

Posted by Richard on January 30, 2012
Try downloading the files again now. I have updated the FreeRTOS version, and added a cast where necessary in the vTaskCreate() calls (the old compiler version doesn't need it, but the first does to avoid the warning).

Make sure your download actually does download the file again, and not just obtain it from the web browsers cache from your previous download. If the version number in the source files is 7.1.0 then it is ok.

Let me know if there are any further problems.


RE: Warnings in MPLAB

Posted by Peter Erasmus on January 30, 2012

Thank you very much,I compiled Example 1 and 2 now with outany warnings,Thank you so much now I can start to studdy the Practical guide and run the examples :)


RE: Warnings in MPLAB

Posted by Peter Erasmus on January 31, 2012
Just to report Back thank you very much it is working perfectly now,I build Example 1 programmed my PIC32 USB starter kit 1 and the example run well.
This brings me to just one question ,I have the USB starter kit 1 board with a PIC32MX460F512 on the board and the examples are written for the USB starterKit 2 board with a PIC32MX795F512L on board ,I had to modify the config bit settings by removing(commenting out the FSRSSEL pragma as the 460MX does not have this shadow register setting,
would this have any implecations running FreeRTOS examples with out the shadow register config setting,
If yes then I should buy the new starter board ,if not then I would be happy not spending money on a board just fror learning as I will use FreeRTOS on Custom applications.

Thank you for all the help so far

[ 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