summaryrefslogtreecommitdiff
path: root/src/teledongle-v3.0/flash-loader/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-02-04 20:33:04 -0800
committerKeith Packard <keithp@keithp.com>2015-02-04 20:33:04 -0800
commitbc41ab47b928b837724f8bc6b84d0b5b47c25df3 (patch)
treedcb4323a184d381d5dfebda793faea087a966370 /src/teledongle-v3.0/flash-loader/ao_pins.h
parentdbafa16cfa897b2a5c6cf455cf8675e83eb0d7d6 (diff)
altos: Rename teledongle-v1.9 as teledongle-v3.0
No hardware changes from the 1.9 prototypes to the 3.0 final version. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/teledongle-v3.0/flash-loader/ao_pins.h')
-rw-r--r--src/teledongle-v3.0/flash-loader/ao_pins.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/teledongle-v3.0/flash-loader/ao_pins.h b/src/teledongle-v3.0/flash-loader/ao_pins.h
new file mode 100644
index 00000000..aee5be27
--- /dev/null
+++ b/src/teledongle-v3.0/flash-loader/ao_pins.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright © 2013 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+#ifndef _AO_PINS_H_
+#define _AO_PINS_H_
+
+#include <ao_flash_lpc_pins.h>
+
+/* Debug port TXD (pin 6) */
+
+#define AO_BOOT_PIN 1
+#define AO_BOOT_APPLICATION_GPIO 0
+#define AO_BOOT_APPLICATION_PIN 19
+#define AO_BOOT_APPLICATION_VALUE 1
+#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_UP
+
+#define HAS_USB_PULLUP 1
+#define AO_USB_PULLUP_PORT 0
+#define AO_USB_PULLUP_PIN 20
+
+#endif /* _AO_PINS_H_ */