projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7143e
)
altos/telefiretwo-v0.2: Add AO_CC1200_SPI_SPEED
author
Keith Packard
<keithp@keithp.com>
Wed, 19 Apr 2017 21:19:28 +0000
(14:19 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 19 Apr 2017 21:19:28 +0000
(14:19 -0700)
Needed for products with different SPI speed options.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telefiretwo-v0.2/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/telefiretwo-v0.2/ao_pins.h
b/src/telefiretwo-v0.2/ao_pins.h
index 70af5dd198976beac23b3353b3caf7d67ce4b031..469e9937b89d9214631e5393abde407b6bf734b1 100644
(file)
--- a/
src/telefiretwo-v0.2/ao_pins.h
+++ b/
src/telefiretwo-v0.2/ao_pins.h
@@
-110,6
+110,7
@@
#define AO_CC1200_SPI_CS_PIN 7
#define AO_CC1200_SPI_BUS AO_SPI_2_PB13_PB14_PB15
#define AO_CC1200_SPI stm_spi2
+#define AO_CC1200_SPI_SPEED AO_SPI_SPEED_FAST
#define AO_CC1200_INT_PORT (&stm_gpiob)
#define AO_CC1200_INT_PIN (11)