DFU: towards a more complete implementation

* we now actually route the EP0 control requests in DFU mode to the
  correct handler (weak linker symbols are tricky)
* we now actually call code to read/write data from/to RAM/FLASH
This commit is contained in:
Harald Welte
2017-02-28 00:21:45 +01:00
parent edf9c9d322
commit 32852bc1d9
5 changed files with 108 additions and 13 deletions

View File

@@ -821,9 +821,3 @@ void SIMtrace_USB_Initialize(void)
NVIC_EnableIRQ(UDP_IRQn);
}
void USBDCallbacks_RequestReceived(const USBGenericRequest *request)
{
/* FIXME: integration with CCID control point reqeusts */
USBDFU_Runtime_RequestHandler(request);
}