projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: ADS124S0X driver compiles now
[fw/altos]
/
src
/
telebt-v3.0
/
ao_pins.h
diff --git
a/src/telebt-v3.0/ao_pins.h
b/src/telebt-v3.0/ao_pins.h
index 5058494008c46559f9adcd9f75decc3e2067e108..62dddf2a2f8fa7da5ab1acfe9716aaa48196f97a 100644
(file)
--- a/
src/telebt-v3.0/ao_pins.h
+++ b/
src/telebt-v3.0/ao_pins.h
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-79,6
+80,7
@@
#define HAS_TELEMETRY 0
#define HAS_APRS 0
#define HAS_ACCEL 0
#define HAS_TELEMETRY 0
#define HAS_APRS 0
#define HAS_ACCEL 0
+#define HAS_AES 1
#define HAS_SPI_1 1
#define SPI_1_PA5_PA6_PA7 1 /* CC1200 */
#define HAS_SPI_1 1
#define SPI_1_PA5_PA6_PA7 1 /* CC1200 */
@@
-196,6
+198,7
@@
struct ao_adc {
#define AO_CC1200_SPI_CS_PIN 10
#define AO_CC1200_SPI_BUS AO_SPI_1_PA5_PA6_PA7
#define AO_CC1200_SPI stm_spi1
#define AO_CC1200_SPI_CS_PIN 10
#define AO_CC1200_SPI_BUS AO_SPI_1_PA5_PA6_PA7
#define AO_CC1200_SPI stm_spi1
+#define AO_CC1200_SPI_SPEED AO_SPI_SPEED_FAST
#define AO_CC1200_INT_PORT (&stm_gpiob)
#define AO_CC1200_INT_PIN (11)
#define AO_CC1200_INT_PORT (&stm_gpiob)
#define AO_CC1200_INT_PIN (11)