DFU now uses an interface to DFU handler which does flash handling. Should allow access to flash on another tile more easily.
This commit is contained in:
14
module_dfu/src/dfu_interface.h
Normal file
14
module_dfu/src/dfu_interface.h
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
#ifndef __DFU_INTERFACE_H__
|
||||
#define __DFU_INTERFACE_H__
|
||||
|
||||
#include "usb_std_requests.h"
|
||||
|
||||
interface i_dfu
|
||||
{
|
||||
{unsigned, int, unsigned} HandleDfuRequest(USB_SetupPacket_t &sp, unsigned data_buffer[], unsigned data_buffer_length);
|
||||
void finish();
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user