Doug Brown
7dd0f3f9db
Include usbd.h
...
Since I stripped the peripheral header includes from M251.h, I have to
include it manually instead.
2023-06-25 11:41:19 -07:00
Doug Brown
ce8932e80f
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-06-25 11:41:19 -07:00
Doug Brown
c50da81d8c
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-06-25 11:41:19 -07:00
Doug Brown
5fc45624ef
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-06-25 11:41:19 -07:00
Doug Brown
30e8baef89
Initial commit of Nuvoton USBD driver
2023-06-25 11:41:19 -07:00