Closed machdyne closed 8 months ago
PC1, PC2, PC4 Test OK.
usb_config.h
#define USB_DM 4
#define USB_DP 2
#define USB_DPU 1
#define USB_PORT C
I didn't realize until now that andi can't use pin numbers >= 6.
It should be possible to make this work, but it will be tricky. and I don't have availability any time soon.
I will keep that in mind for the future. I will update the readme. I'm very sorry for the pain this may cause.
Thanks, I'll update this issue if I come up with a solution in the meantime.
Thank you. I am going to close this issue for now.
I didn't realize until now that andi can't use pin numbers >= 6.
Just for the record if someone comes across this, it's actually >= 5.
Only Pins 0-4 can be used for D+/D-
Hi. I made a custom board that uses PD5/PD6 for DM/DP (oops?) and set the config:
This doesn't seem to work, when compiling the bootloader:
I tried changing all of those instances to
li t1, USB_DMASK; and a0, a0, t1
but it apparently doesn't fit in flash.Any ideas?