diff options
author | Keith Packard <keithp@keithp.com> | 2017-04-09 12:56:59 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-04-09 12:56:59 -0700 |
commit | c97b4c65d66078a4e187b782669e6b36ee92d30c (patch) | |
tree | e4ac132f8cead25d8488ba4d5eba86fd8196ed0f /src/cortexelf-v1 | |
parent | 9e80b8bd10433ecc6ebe7c295e16b62b3883987d (diff) |
altos: Use MP switch in cortexelf boot loader for force loader mode
Provide a way to get to the boot loader on the cortexelf board by
turning the MP switch on.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cortexelf-v1')
-rw-r--r-- | src/cortexelf-v1/flash-loader/ao_pins.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cortexelf-v1/flash-loader/ao_pins.h b/src/cortexelf-v1/flash-loader/ao_pins.h index a34bcb6c..5d63dc2c 100644 --- a/src/cortexelf-v1/flash-loader/ao_pins.h +++ b/src/cortexelf-v1/flash-loader/ao_pins.h @@ -24,12 +24,12 @@ #include <ao_flash_stm_pins.h> -/* Companion port cs_companion0 PB6 */ +/* MP switch, gpioc 9 */ #define AO_BOOT_PIN 1 -#define AO_BOOT_APPLICATION_GPIO stm_gpiob -#define AO_BOOT_APPLICATION_PIN 0 +#define AO_BOOT_APPLICATION_GPIO stm_gpioc +#define AO_BOOT_APPLICATION_PIN 9 #define AO_BOOT_APPLICATION_VALUE 1 -#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_UP +#define AO_BOOT_APPLICATION_MODE 0 #endif /* _AO_PINS_H_ */ |