summaryrefslogtreecommitdiff
path: root/src/lpcxpresso/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-17 03:36:47 -0700
committerKeith Packard <keithp@keithp.com>2013-05-17 03:50:07 -0700
commitac089d4fb930b7dbc4161259fd9bddba94395ebc (patch)
treeee17589ffa43eee5be5e1eb1b4fac67ebb581624 /src/lpcxpresso/ao_pins.h
parent185e6d15bcda229949a984910d7394203d301db9 (diff)
altos/lpc: Get USB working
The lpc demo now has a USB command line. Also allocates system stack so we know when ram is tight at build time Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpcxpresso/ao_pins.h')
-rw-r--r--src/lpcxpresso/ao_pins.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lpcxpresso/ao_pins.h b/src/lpcxpresso/ao_pins.h
index 7748f73c..c0074ce2 100644
--- a/src/lpcxpresso/ao_pins.h
+++ b/src/lpcxpresso/ao_pins.h
@@ -34,7 +34,10 @@
#define LEDS_AVAILABLE AO_LED_RED
-#define HAS_USB 0
+#define HAS_USB 1
+
+#define HAS_USB_CONNECT 1
+#define HAS_USB_VBUS 1
#define PACKET_HAS_SLAVE 0