projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Use new ao_spi_speed inline to set SPI speeds using spec'd frequencies
[fw/altos]
/
src
/
telelco-v0.3
/
ao_pins.h
diff --git
a/src/telelco-v0.3/ao_pins.h
b/src/telelco-v0.3/ao_pins.h
index dd4aaafbbdd8b3b7c8ee4101f38d9841ce062789..de89d746a41bb55e35c036e3cba74d91c9e9cf07 100644
(file)
--- a/
src/telelco-v0.3/ao_pins.h
+++ b/
src/telelco-v0.3/ao_pins.h
@@
-50,10
+50,16
@@
#define USE_STORAGE_CONFIG 0
#define HAS_USB 1
#define HAS_BEEP 1
#define USE_STORAGE_CONFIG 0
#define HAS_USB 1
#define HAS_BEEP 1
+#define BEEPER_TIMER 3
+#define BEEPER_CHANNEL 1
+#define BEEPER_PORT (&stm_gpioc)
+#define BEEPER_PIN 6
#define HAS_RADIO 1
#define HAS_RADIO_RATE 1
#define HAS_TELEMETRY 0
#define HAS_AES 1
#define HAS_RADIO 1
#define HAS_RADIO_RATE 1
#define HAS_TELEMETRY 0
#define HAS_AES 1
+#define HAS_STATIC_TEST 0
+
#define HAS_SPI_1 0
#define SPI_1_PA5_PA6_PA7 0
#define HAS_SPI_1 0
#define SPI_1_PA5_PA6_PA7 0
@@
-89,7
+95,6
@@
#define AO_CC1200_SPI_CS_PIN 0
#define AO_CC1200_SPI_BUS AO_SPI_2_PD1_PD3_PD4
#define AO_CC1200_SPI stm_spi2
#define AO_CC1200_SPI_CS_PIN 0
#define AO_CC1200_SPI_BUS AO_SPI_2_PD1_PD3_PD4
#define AO_CC1200_SPI stm_spi2
-#define AO_CC1200_SPI_SPEED AO_SPI_SPEED_FAST
#define AO_CC1200_INT_PORT (&stm_gpioc)
#define AO_CC1200_INT_PIN (15)
#define AO_CC1200_INT_PORT (&stm_gpioc)
#define AO_CC1200_INT_PIN (15)
@@
-250,6
+255,7
@@
#define AO_QUADRATURE_1_B 0
#define AO_QUADRATURE_BOX 1
#define AO_QUADRATURE_1_B 0
#define AO_QUADRATURE_BOX 1
+#define AO_QUADRATURE_DEBOUNCE 10
/*
* Buttons
/*
* Buttons