diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-18 03:52:14 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-18 03:52:14 -0700 |
commit | cbe5eee76faf386eefe69539935ab318944ac452 (patch) | |
tree | 42865330728db52ea559560b78783128c46735fc /src/lpc/ao_usb_lpc.c | |
parent | 3587bfd248e115bb1abb28f71b263575b4e8e367 (diff) |
altos/lpc: Stick USB control structure in USB memory
No reason to have that in regular ram, and it means we've got space
for large enough stacks now
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_usb_lpc.c')
-rw-r--r-- | src/lpc/ao_usb_lpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpc/ao_usb_lpc.c b/src/lpc/ao_usb_lpc.c index 0f881720..cd896724 100644 --- a/src/lpc/ao_usb_lpc.c +++ b/src/lpc/ao_usb_lpc.c @@ -81,6 +81,7 @@ static uint8_t ao_usb_tx_count; static uint8_t ao_usb_rx_buffer[AO_USB_OUT_SIZE]; static uint8_t ao_usb_rx_count, ao_usb_rx_pos; +__attribute__((section(".usb"))) static struct lpc_usb_endpoint lpc_usb_endpoint __attribute((aligned(256))); /* Marks when we don't need to send an IN packet. |