fenugrec 8c74128ff6 usb: st_usbfs_v2: allow unaligned buffers for st_usbfs_copy_from_pm()
The previous implementation of copy_from_pm assumed the destination buffer
was aligned on a 16-bit boundary. On M0/M0+ cores (stm32F0*, stm32L0*)
this causes a hard fault.
This implementation is from Kuldeep Dhaka's tree; it does a 16-bit copy
only if the destination buffer is aligned, otherwise a bytewise copy.

Fixes GH issues #401, #461
2016-10-01 15:46:38 +00:00
..
2016-09-12 23:30:53 +00:00
2016-08-19 11:34:46 +00:00
2016-03-30 16:59:57 +00:00
2013-06-12 21:07:35 -07:00