summaryrefslogtreecommitdiff
path: root/src/easymini-v0.1/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-06-24 14:23:53 -0700
committerKeith Packard <keithp@keithp.com>2013-06-24 14:30:22 -0700
commit0dd148e388944d8d265da51d62806c4a00b2c13d (patch)
treee1212b3cbc0d5a77d0fe1d676e07f86fef91a52f /src/easymini-v0.1/ao_pins.h
parent2568b36ae9d38ae1607ec08b84b06e0fe84bd3ba (diff)
altos/lpc: Add boot loader
Support the USB boot loader, add USB pull-up support. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/easymini-v0.1/ao_pins.h')
-rw-r--r--src/easymini-v0.1/ao_pins.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/easymini-v0.1/ao_pins.h b/src/easymini-v0.1/ao_pins.h
index e14e1eb4..6f102dbe 100644
--- a/src/easymini-v0.1/ao_pins.h
+++ b/src/easymini-v0.1/ao_pins.h
@@ -18,6 +18,8 @@
#define HAS_BEEP 1
#define HAS_LED 1
+#define IS_FLASH_LOADER 0
+
/* Crystal on the board */
#define AO_LPC_CLKIN 12000000
@@ -38,6 +40,9 @@
#define HAS_USB_CONNECT 0
#define HAS_USB_VBUS 0
+#define HAS_USB_PULLUP 1
+#define AO_USB_PULLUP_PORT 0
+#define AO_USB_PULLUP_PIN 20
#define PACKET_HAS_SLAVE 0