You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, I found MDK-ARM project inside demo/host folder failed to compile.
maybe you forgot to add tusbh_cdc_acm.c and tusbh_cdc_rdnis.c into usb_host group.
The text was updated successfully, but these errors were encountered:
in retarget.c the compiler define should be "#if !defined ( __CC_ARM )"
because if enanble gnu in keil mdk, then __gnu_c got defined.
I tried port an dfu-util based checkm8 to F723edisco with teenyusb stack.
I make a copy of usbh_hid.c to usbh_dfu.c and removed unused codes,
then link new command "check" to
void cmd_check(char* argv[], int argc)
{
tusbh_interface_t* cdc = 0;
if (fs) {
cdc = find_dfu(((tusbh_root_hub_t*)fs->user_data)->children[0]);
}
if (!cdc && hs) {
cdc = find_dfu(((tusbh_root_hub_t*)hs->user_data)->children[0]);
}
if (!cdc) {
printf("No DFU interface attached\n");
}
int r = tusbh_dfu_dnload(cdc, (void*)Zero800, 0x800, 0x800);
printf("Send dnload result = %d\n", r);
if (r < 0)return;
printf("\n");
}
enum and find is working well,
but strange error occurred when test device with an 0x800 empty download packet.
In nxp's imxrt1010 evk I can do it and verify though packet sniffer, 32 data followed by setup packet.
in teenyusb the data packet is sent only 2 times if I recalled correctly
I don't know if it should be a issue, I think the ep0 control points shares same code between data points, and just working fine in descriptor / serial query
hi, I found MDK-ARM project inside demo/host folder failed to compile.
maybe you forgot to add tusbh_cdc_acm.c and tusbh_cdc_rdnis.c into usb_host group.
The text was updated successfully, but these errors were encountered: