usb_cdc: Add support for usb_send_ep0_progmem()

Add support for explicitly sending to the ep0 pipe from constant
"progmem" memory on the AVR.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-09-30 10:37:48 -04:00
parent 92aea93500
commit 731236cf20
4 changed files with 9 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
// This header provides wrappers for the AVR specific "PROGMEM"
// declarations on non-avr platforms.
#define NEED_PROGMEM 0
#define PROGMEM
#define PSTR(S) S
#define READP(VAR) VAR