projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475940c
)
altos/telegps-v2.0: Disable external serial port to save ROM
author
Keith Packard
<keithp@keithp.com>
Tue, 2 May 2017 18:49:21 +0000
(11:49 -0700)
committer
Keith Packard
<keithp@keithp.com>
Tue, 2 May 2017 18:49:21 +0000
(11:49 -0700)
We'll have to rewrite some of the serial code to avoid sucking memory here.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telegps-v2.0/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/telegps-v2.0/ao_pins.h
b/src/telegps-v2.0/ao_pins.h
index 87b49934d51b082299590bd26b818919e3ac9fe4..f92564d6c86d0cdb2d9f31c2a7e0a49d26ba2a36 100644
(file)
--- a/
src/telegps-v2.0/ao_pins.h
+++ b/
src/telegps-v2.0/ao_pins.h
@@
-103,11
+103,11
@@
struct ao_adc {
#define AO_M25_SPI_BUS AO_SPI_1_PA5_PA6_PA7
/* Serial */
-#define HAS_SERIAL_1
1
+#define HAS_SERIAL_1
0
#define SERIAL_1_PB6_PB7 1
#define USE_SERIAL_1_STDIN 0
-#define HAS_SERIAL_2 1
+#define HAS_SERIAL_2 1
#define SERIAL_2_PA2_PA3 1
#define USE_SERIAL_2_STDIN 0