Quality RTOS & Embedded Software

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




Loading

PIC32MZ

Posted by tlafleur on November 17, 2013

I happy to see a port of FreeRTOS for the NEW PIC32MZ happening so soon after announcing of the part!

good work... will save me my effort in doing the port for my project!


PIC32MZ

Posted by richardbarry on November 17, 2013

...not quite. The .zip file and web page will be live tomorrow.

Regards.


PIC32MZ

Posted by tlafleur on November 17, 2013

I noticed that their are no serial driver and serial test for this port??


PIC32MZ

Posted by richardbarry on November 17, 2013

Ah...you will have to wait and see. Note you may need tool updates too.

Regards.


PIC32MZ

Posted by tlafleur on November 17, 2013

thanks... I have the new tools....

I will wait and see!


PIC32MZ

Posted by richardbarry on November 18, 2013

Here is the documentation page: http://www.freertos.org/PIC32MZRTOSMIPS_M14K.html

[do you realise you are posting your phone number? if that is a mistake and you can't edit the post let me know and I can remove it for you (I think?)]

Regards.


PIC32MZ

Posted by tlafleur on November 18, 2013

yes, please remove my phone number...

also, the MPLAB-X IDE on a MAC require a forward slash in portable.h

I believe, but have not tested, that the windows and Linux will also support the forward slash in MPLAB-X

ifdef MPLABPIC24PORT
#include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"
endif
ifdef MPLABDSPICPORT
#include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"
endif
ifdef MPLABPIC18FPORT
#include "../../Source/portable/MPLAB/PIC18F/portmacro.h"
endif
ifdef MPLABPIC32MXPORT
#include "../../Source/portable/MPLAB/PIC32MX/portmacro.h"
endif
ifdef MPLABPIC32MZPORT
#include "../../Source/portable/MPLAB/PIC32MZ/portmacro.h"
endif

PIC32MZ

Posted by richardbarry on November 18, 2013

The definitions in that file are obsolete, and only kept for backward compatibility with really old projects that still use them. I think the PIC24 project is one such project, although there it is used to select between the PIC24 and dsPIC headers. PIC32 projects should not use them at all, but instead add the path to the correct portmacro.h as an include path in the project settings.

I had actually changed the PIC32 one to forward slashes in FreeRTOS V7.6.0, and have now done the same for the other PIC projects.

Regards.


PIC32MZ

Posted by tlafleur on November 18, 2013

when I went to compile your PIC32MZ project in harmony, it failed until I made the changes...


PIC32MZ

Posted by richardbarry on November 18, 2013

Interesting - it was for them I changed the PIC32 version (even though it should not be being used). I will pass on the comment to Microchip, thanks for letting me know.

Regards.


PIC32MZ

Posted by tlafleur on November 18, 2013

also, in YOUR 7.6.0 distribution they are like this and missing the PIC32MZ...

ifdef MPLABPIC24PORT
#include "..\..\Source\portable\MPLAB\PIC24_dsPIC\portmacro.h"
endif
ifdef MPLABDSPICPORT
#include "..\..\Source\portable\MPLAB\PIC24_dsPIC\portmacro.h"
endif
ifdef MPLABPIC18FPORT
#include "..\..\Source\portable\MPLAB\PIC18F\portmacro.h"
endif
ifdef MPLABPIC32MXPORT
#include "../../Source/portable/MPLAB/PIC32MX/portmacro.h"
endif

But in the Harmony distribution, they were all using a back slash and it did include the PIC32MZ...


PIC32MZ

Posted by dragonflight1 on November 18, 2013

Off topic, but you could replace the MPLABDSPICPORT in the source files with HAS_DSP for people that don't use MPLAB (like me).


[ 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