projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/chaoskey: use both halves of the CRC
[fw/altos]
/
src
/
telegps-v0.1
/
ao_pins.h
diff --git
a/src/telegps-v0.1/ao_pins.h
b/src/telegps-v0.1/ao_pins.h
index eea050c9170329e60e7e612c7b3858f478704aff..96e8cfd7d1d5f4d00a2f0d152d5d9cc6d313df5c 100644
(file)
--- a/
src/telegps-v0.1/ao_pins.h
+++ b/
src/telegps-v0.1/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
@@
-65,7
+66,10
@@
#define ao_gps_fifo (ao_stm_usart2.rx_fifo)
#define HAS_EEPROM 1
#define ao_gps_fifo (ao_stm_usart2.rx_fifo)
#define HAS_EEPROM 1
-#define USE_INTERNAL_FLASH 1
+#define USE_INTERNAL_FLASH 0
+#define USE_EEPROM_CONFIG 1
+#define USE_STORAGE_CONFIG 0
+
#define HAS_USB 1
#define HAS_BEEP 0
#define HAS_RADIO 1
#define HAS_USB 1
#define HAS_BEEP 0
#define HAS_RADIO 1
@@
-79,6
+83,11
@@
#define SPI_1_PE13_PE14_PE15 0
#define SPI_1_OSPEEDR STM_OSPEEDR_10MHz
#define SPI_1_PE13_PE14_PE15 0
#define SPI_1_OSPEEDR STM_OSPEEDR_10MHz
+#define SPI_1_PORT (&stm_gpioa)
+#define SPI_1_SCK_PIN 5
+#define SPI_1_MISO_PIN 6
+#define SPI_1_MOSI_PIN 7
+
#define HAS_SPI_2 1
#define SPI_2_PB13_PB14_PB15 1 /* CC115L */
#define SPI_2_PD1_PD3_PD4 0
#define HAS_SPI_2 1
#define SPI_2_PB13_PB14_PB15 1 /* CC115L */
#define SPI_2_PD1_PD3_PD4 0
@@
-166,6
+175,10
@@
*/
#define AO_SDCARD_SPI_BUS AO_SPI_1_PA5_PA6_PA7
*/
#define AO_SDCARD_SPI_BUS AO_SPI_1_PA5_PA6_PA7
+#define AO_SDCARD_SPI_PORT SPI_1_PORT
+#define AO_SDCARD_SPI_SCK_PIN SPI_1_SCK_PIN
+#define AO_SDCARD_SPI_MISO_PIN SPI_1_MISO_PIN
+#define AO_SDCARD_SPI_MOSI_PIN SPI_1_MOSI_PIN
#define AO_SDCARD_SPI_CS_PORT (&stm_gpioa)
#define AO_SDCARD_SPI_CS_PIN 4
#define AO_SDCARD_SPI stm_spi1
#define AO_SDCARD_SPI_CS_PORT (&stm_gpioa)
#define AO_SDCARD_SPI_CS_PIN 4
#define AO_SDCARD_SPI stm_spi1