summaryrefslogtreecommitdiff
path: root/src/teledongle-v1.9/flash-loader
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-11-06 16:05:49 -0800
committerKeith Packard <keithp@keithp.com>2014-11-06 16:05:49 -0800
commit7f742824673e5e6034defdb09b66d4d56eb8d4fe (patch)
tree1c15ce69fa6f19a40a0a1f98c24346c2373901a4 /src/teledongle-v1.9/flash-loader
parent6a082d9b5ed169b9d4153885f3535987e5ae5d84 (diff)
altos/teledongle-v1.9: Switch to NXP processor as on prototype boards
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/teledongle-v1.9/flash-loader')
-rw-r--r--src/teledongle-v1.9/flash-loader/Makefile2
-rw-r--r--src/teledongle-v1.9/flash-loader/ao_pins.h17
2 files changed, 10 insertions, 9 deletions
diff --git a/src/teledongle-v1.9/flash-loader/Makefile b/src/teledongle-v1.9/flash-loader/Makefile
index 70ddaad4..a5642b46 100644
--- a/src/teledongle-v1.9/flash-loader/Makefile
+++ b/src/teledongle-v1.9/flash-loader/Makefile
@@ -4,4 +4,4 @@
TOPDIR=../..
HARDWARE=teledongle-v1.9
-include $(TOPDIR)/stm/Makefile-flash.defs
+include $(TOPDIR)/lpc/Makefile-flash.defs
diff --git a/src/teledongle-v1.9/flash-loader/ao_pins.h b/src/teledongle-v1.9/flash-loader/ao_pins.h
index 1af92f13..aee5be27 100644
--- a/src/teledongle-v1.9/flash-loader/ao_pins.h
+++ b/src/teledongle-v1.9/flash-loader/ao_pins.h
@@ -18,17 +18,18 @@
#ifndef _AO_PINS_H_
#define _AO_PINS_H_
-/* External crystal at 8MHz */
-#define AO_HSE 8000000
+#include <ao_flash_lpc_pins.h>
-#include <ao_flash_stm_pins.h>
+/* Debug port TXD (pin 6) */
-/* Companion port cs_companion0 PD0 */
-
-#define AO_BOOT_PIN 1
-#define AO_BOOT_APPLICATION_GPIO stm_gpiod
-#define AO_BOOT_APPLICATION_PIN 0
+#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_ */