From 89108dd2b9aa1bc533bbbdb0f1461ec0899c8d1d Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Tue, 25 Oct 2011 18:56:10 -0400 Subject: progress on bootloader bug - have implemented blocking USB_Recv. avrdude makes it to flash programming address 0400 or so before hanging --- bootloaders/nuevo_diskloader/src/USBAPI.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bootloaders/nuevo_diskloader/src/USBAPI.h') diff --git a/bootloaders/nuevo_diskloader/src/USBAPI.h b/bootloaders/nuevo_diskloader/src/USBAPI.h index ca205a1..1724ce1 100644 --- a/bootloaders/nuevo_diskloader/src/USBAPI.h +++ b/bootloaders/nuevo_diskloader/src/USBAPI.h @@ -74,6 +74,7 @@ int USB_RecvControl(void* d, int len); uint8_t USB_Available(uint8_t ep); int USB_Send(uint8_t ep, const void* data, int len); // blocking int USB_Recv(uint8_t ep, void* data, int len); // non-blocking +void USB_Recv_block(u8 ep, u8* dst, int len); // blocking int USB_Recv(uint8_t ep); // non-blocking void USB_Flush(uint8_t ep); -- cgit v1.2.3-18-g5258