Re: Harmony 3 getting started
As far as I know, there isn't a wiki or other documentation for this. But I've added boards myself as a Harmony developer, so let me try to go through the steps.
It's usually easiest if you start with a board that is similar to your own custom board, in terms of processor and features. Let's say I want to create a new board with a PIC32MZEFH144 processor.
I happen to know that the pic32mz_ef_curiosity_v2 uses a PIC32MZEFM144. Close enough. So I make a copy of the folder bsp\pic32mz_ef_curiosity_v2 and rename it pic32mz_ef_custom. Then in the file bsp\module.xml, I make a copy of the line:
<Board name="PIC32MZ EF Curiosity 2.0" processor="PIC32MZ2048EFM144" config="pic32mz_ef_curiosity_v2"/>
and edit to read:
<Board name="PIC32MZ EF Custom" processor="PIC32MZ2048EFH144" config="pic32mz_ef_custom"/>
Note I changed the M to H in the processor name.
Then I go into my new bsp\pic32mz_ef_custom\config folder, and edited bsp.py. This is the file that contains the pin definitions.
Change the line starting with BSP_NAME = to match your bsp name, e.g. "pic32mz_ef_custom"
The rest of it will depend on whether you are using a SAM or a PIC32 processor, but the format should be pretty self-evident. That's why it's best to start with a bsp similar to one you want to make, the hard work will have been done already. If you do all these things, and then start a project with the processor you named in the bsp and then launch MHC, it should show up under Board Support Packages in Available Components list.