Quality RTOS & Embedded Software

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




Loading

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
Regards

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.

Regards.

RE: Warnings in MPLAB

Posted by Peter Erasmus on January 30, 2012
@Richard

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.

Regards

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.

Regards.

RE: Warnings in MPLAB

Posted by Peter Erasmus on January 30, 2012
@Richard

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 :)

Regards

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
Regards


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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