Commit Graph

5 Commits

Author SHA1 Message Date
Doug Brown
abb1352f30 Include usbd.h
Since I stripped the peripheral header includes from M251.h, I have to
include it manually instead.
2023-09-10 05:02:44 -07:00
Doug Brown
0db1710871 Disable unnecessary interrupt
I don't really need to bother with VBUS or "no-event-wake-up"
interrupts. This allows me to strip out more code in the IRQ handler.
2023-09-10 05:02:44 -07:00
Doug Brown
f68c1d1d44 Change USBD_MemCopy to not be static inline
I'm sure it's slightly more efficient as a static inline function, but
it results in less flash usage as a separate function. This is important
for the bootloader where every byte matters.
2023-09-10 05:02:44 -07:00
Doug Brown
2c35f61c88 Strip out unnecessary callbacks and code in USBD driver
This is important for the bootloader. There's a bunch of stuff here we
don't need that unnecessarily bloats the code.
2023-09-10 05:02:44 -07:00
Doug Brown
a4b17f6601 Initial commit of Nuvoton USBD driver 2023-09-10 05:02:44 -07:00