diff options
author | Keith Packard <keithp@keithp.com> | 2017-05-04 22:07:51 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-05-04 22:10:36 -0700 |
commit | 178d7c0aa32267ea71be2ccff146ea6ff990d7dc (patch) | |
tree | 56b8e97c76d0f871afe6c3e7196ac04337ead647 /src/telemini-v3.0/ao_pins.h | |
parent | 3b4e3189211801c6f8f41c5d08c5a8551f28976c (diff) |
altos/telemini-v3.0: Add 'recovery mode' on PA14 (pin 6 on dbg header)
Connect this pin to GND (pin 3) and TeleMini will come up with N0CALL
at 434.550MHz using the original frequency calibration. Helps recover
from accidental mis-configuration.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telemini-v3.0/ao_pins.h')
-rw-r--r-- | src/telemini-v3.0/ao_pins.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/telemini-v3.0/ao_pins.h b/src/telemini-v3.0/ao_pins.h index 0551e1fc..17cff2ae 100644 --- a/src/telemini-v3.0/ao_pins.h +++ b/src/telemini-v3.0/ao_pins.h @@ -67,6 +67,13 @@ #define HAS_IGNITE_REPORT 1 #define AO_SMALL_ALTITUDE_TABLE 1 +/* Use debug connector clock for recovery mode */ +#define HAS_FORCE_FREQ 1 +#define AO_RECOVERY_PORT (&stm_gpioa) +#define AO_RECOVERY_PIN 14 +#define AO_RECOVERY_VALUE 0 +#define AO_RECOVERY_MODE AO_EXTI_MODE_PULL_UP + /* Beeper is on Tim1 CH3 */ #define BEEPER_CHANNEL 4 #define BEEPER_TIMER 2 |