I think your information is slightly out-dated. The most current core is STM32F4 based. The PIC core is at the end of capabilities. Your PIC is not even supported and would require you to rewrite code.
I would recommend you move to the STM32F4, it's not that expensive. You can then use the Midibox NG project which is aimed at controllers.