libopencm3 icon indicating copy to clipboard operation
libopencm3 copied to clipboard

sam: add USB (full speed) driver for SAM3S family

Open oskirby opened this issue 10 years ago • 3 comments

This adds a full-speed USB driver for the SAM3S family. In the Atmel datasheets this is referred to as the UDP peripheral, and is common to the SAM3S, SAM4S and SAM4E chips.

oskirby avatar May 13 '15 23:05 oskirby

lib/sam/common/pmc_common_3s.c should be in lib/sam/3s/pmc.c as it's specific, not common at all. (and to make that work, the current common/pmc.c I guess should be pmc_common_all.c)

karlp avatar Jul 15 '15 01:07 karlp

I'm afraid I have no real insight into the usbd implementation itself, but this generally looks good, and I'd be happy to get this in as the first usb we have for sam families.

karlp avatar Jul 15 '15 01:07 karlp

This conflicts with the current codebase and would need to be rebased and conflict resolved.

Also there are a bunch of review comments that need to be addressed.

I am marking this as stale. If it is not picked up again in a month I will close this issue.

esden avatar Jul 14 '25 01:07 esden