• AVR Freaks

Hot!Harmony V3: "hub_msd" project on PIC32MX270F256B-50I/SP

Author
yts
Super Member
  • Total Posts : 598
  • Reward points : 0
  • Joined: 2005/09/06 17:45:30
  • Status: offline
2019/08/04 05:00:18 (permalink)
0

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.
 
#1

0 Replies Related Threads

    Jump to:
    © 2019 APG vNext Commercial Version 4.5