Open MCC to get up the Harmony configurator Select System and then in the main MCC ProjectGraph view (its default window), from the plugins dropdown select “Clock Configuration”. It seems to be necessary to use this tool and not the config settings directly tp get MCC to correctly update all the calculated times (which it […]
XC32 MPLAB Harmony PIC32 Family Reference Manual
Predefined C variables that represent the peripheral registers and bits In your sepecific device header file, located in: C:\Program Files\Microchip\xc32\v#.##\pic32mx\include\proc\ Config setting names e.g.#pragma config FMIIEN = In MPLABX: Menu > Window > PIC Memory Views > Configuration Bits, then use “Generate Source Code to Output” button.
Use MCC Get over it, you have to with V4.# and above XC32, all the old plib.h and config etc functions are completely gone. If you don’t want it you’ll have to use V2.# of the XC32 compiler (we skipped V3.#, not sure on that one). Create MPLAB X Project Run MPLAB X IDE Menu […]
Moving from V2.# to V4.# of XC32 We found we needed the following changes moving from V2.# to V4.# of the XC32 compiler: Plib is no longer maintained or distributed with current versions of compiler.Microchip expects you to use Harmony to configure and generate code for the purpose. Remove: #include <piclib.h>Replace with: #include <xc.h> Remove: […]
Adding to your project Create your MPLABX project as normal. Press the blue ‘MCC’ button on the toolbar to launch the code configurator. MCC Melody / MCC Classic / MPLAB Harmony choice (Unavailable options for your chosen device will be greyed out) “MCC Classic” is the old typical option to go with, but Harmony maybe […]