altos/stm32f1: Allow PA6 to be left alone in the SPI code
[fw/altos] / src / telelco-v3.0 / ao_pins.h
index 6402ed4965096ce0ab851d12402aed49e7a6e7e2..e1beaab88344a7a3a866b6b05dd58cc23ec0011d 100644 (file)
 #define HAS_AES                        1
 #define HAS_STATIC_TEST                0
 
+#define HAS_USB_PULLUP         1
+#define AO_USB_PULLUP_PORT     (&stm_gpioa)
+#define AO_USB_PULLUP_PIN      10
+
 #define HAS_SPI_1              1       /* NHD-C12864LZ LCD Module */
 #define SPI_1_PA5_PA6_PA7      1
 #define SPI_1_MODE_OUTPUT      STM_GPIO_CR_MODE_OUTPUT_10MHZ
 #define LED_2_PORT             (&stm_gpioc)
 #define LED_2_PIN              9
 
-#define AO_LED_BOX             AO_LED_3        /* PA10 */
+#define AO_LED_BOX             AO_LED_3        /* PA9 */
 #define LED_3_PORT             (&stm_gpioa)
-#define LED_3_PIN              10
+#define LED_3_PIN              9
 
 #define AO_LED_PAD             AO_LED_4        /* PA15 */
 #define LED_4_PORT             (&stm_gpioa)
@@ -288,4 +292,6 @@ struct ao_adc {
  */
 #define AO_ADC_REFERENCE_DV    33
 
+#define AO_LCO_SEARCH_API
+
 #endif /* _AO_PINS_H_ */