mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 04:16:00 +03:00
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:
1 parent
edf9c9d322
commit
32852bc1d9
5 files changed
+108
-13
No files matched your search
@@ -187,3 +187,9 @@ void DFURT_SwitchToDFU(void)
|
||||
|
||||
toDFU();
|
||||
}
|
||||
|
||||
void USBDCallbacks_RequestReceived(const USBGenericRequest *request)
|
||||
{
|
||||
/* FIXME: integration with CCID control point reqeusts */
|
||||
USBDFU_Runtime_RequestHandler(request);
|
||||
}
|
||||
Reference in new issue
Block a user