Harmony V3: "hub_msd" project on PIC32MX270F256B-50I/SP
The sample firmware “hub_msd (HarmonyFramework\usb\apps\host\hub_msd)” works well on PIC32MX270F256B-50I/SP.
However, the following modifications are needed in drv_usb_external_dependencies.h.
//#if defined DRV_USBHS_INSTANCES_NUMBER <----------------comment out this line
#include "system/time/sys_time.h"
#define SYS_TMR_HANDLE SYS_TIME_HANDLE
#define SYS_TMR_HANDLE_INVALID SYS_TIME_HANDLE_INVALID
#define SYS_TMR_CallbackSingle(delay,context,callback) SYS_TIME_CallbackRegisterMS(callback,context,delay, SYS_TIME_SINGLE)
#define SYS_TMR_ObjectDelete SYS_TIME_TimerDestroy
//#endif <----------------comment out this line
As the USB full speed is highest one in case of PIC32MX270F256B-50I/SP, these modifications are essential.