diff options
author | Keith Packard <keithp@keithp.com> | 2015-12-21 21:48:37 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-04-19 23:21:30 -0400 |
commit | e6bad553009704af69b08b4a22fb5eb8ac6921f8 (patch) | |
tree | 3c98e3804a913de0dbdb5afca1623afa0f58e766 /src/telefiretwo-v0.1/flash-loader/ao_pins.h | |
parent | 93100ae8d4c8bd8fd6bdeff2cdc87b613c5d8058 (diff) |
altos: Support pad/lco boxes with fixed box numbers
This allows for a configuration without adjustable box numbers on
either end of the link, simplifying the UI.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telefiretwo-v0.1/flash-loader/ao_pins.h')
-rw-r--r-- | src/telefiretwo-v0.1/flash-loader/ao_pins.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/telefiretwo-v0.1/flash-loader/ao_pins.h b/src/telefiretwo-v0.1/flash-loader/ao_pins.h index f6311267..daa9048d 100644 --- a/src/telefiretwo-v0.1/flash-loader/ao_pins.h +++ b/src/telefiretwo-v0.1/flash-loader/ao_pins.h @@ -23,6 +23,10 @@ #include <ao_flash_stm_pins.h> -#define AO_BOOT_PIN 0 +#define AO_BOOT_PIN 1 +#define AO_BOOT_APPLICATION_GPIO stm_gpiob +#define AO_BOOT_APPLICATION_PIN 6 +#define AO_BOOT_APPLICATION_VALUE 1 +#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_UP #endif /* _AO_PINS_H_ */ |