PIC32MZ
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
…not quite. The .zip file and web page will be live tomorrow.
Regards.
PIC32MZ
I noticed that their are no serial driver and serial test for this port??
PIC32MZ
Ah…you will have to wait and see. Note you may need tool updates too.
Regards.
PIC32MZ
thanks… I have the new tools….
I will wait and see!
PIC32MZ
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
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
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
when I went to compile your PIC32MZ project in harmony, it failed until I
made the changes…
PIC32MZ
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
also, in YOUR 7.6.0 distribution they are like this and missing the
PIC32MZ…
ifdef MPLABPIC24PORT
#include "....SourceportableMPLABPIC24_dsPICportmacro.h"
endif
ifdef MPLABDSPICPORT
#include "....SourceportableMPLABPIC24_dsPICportmacro.h"
endif
ifdef MPLABPIC18FPORT
#include "....SourceportableMPLABPIC18Fportmacro.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
Off topic, but you could replace the MPLABDSPICPORT in the source files with HAS_DSP for people that don’t use MPLAB (like me).