projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: PCA9922 LED driver needs Enable driven low to latch values
[fw/altos]
/
src
/
stm-flash
/
ao_pins.h
diff --git
a/src/stm-flash/ao_pins.h
b/src/stm-flash/ao_pins.h
index 1c00675bd8f1eca76abd0364f96b53809010173d..d6c7265348e317856ff0f474bcaccec66a39e81d 100644
(file)
--- a/
src/stm-flash/ao_pins.h
+++ b/
src/stm-flash/ao_pins.h
@@
-45,7
+45,7
@@
#define AO_RCC_CFGR_PPRE2_DIV STM_RCC_CFGR_PPRE2_DIV_1
#define HAS_USB 1
#define AO_RCC_CFGR_PPRE2_DIV STM_RCC_CFGR_PPRE2_DIV_1
#define HAS_USB 1
-#define USE_USB_STDI
N 1
+#define USE_USB_STDI
O 0
#define HAS_BEEP 0
#define HAS_TASK 0
#define HAS_ECHO 0
#define HAS_BEEP 0
#define HAS_TASK 0
#define HAS_ECHO 0
@@
-71,10
+71,9
@@
#define AO_BOOT_CHAIN 1
#define AO_BOOT_PIN 1
#define AO_BOOT_CHAIN 1
#define AO_BOOT_PIN 1
-#define AO_BOOT_APPLICATION_GPIO stm_gpio
a
-#define AO_BOOT_APPLICATION_PIN
0
+#define AO_BOOT_APPLICATION_GPIO stm_gpio
d
+#define AO_BOOT_APPLICATION_PIN
2
#define AO_BOOT_APPLICATION_VALUE 1
#define AO_BOOT_APPLICATION_VALUE 1
-#define AO_BOOT_APPLICATION_MODE 0
-#define AO_BOOT_APPLICATION_BASE ((uint32_t *) 0x1000)
+#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_UP
#endif /* _AO_PINS_H_ */
#endif /* _AO_PINS_H_ */