/* 8MHz High speed external crystal */
#define AO_HSE 8000000
-/* PLLVCO = 96MHz (so that USB will work*/
+/* PLLVCO = 96MHz (so that USB will work) */
#define AO_PLLMUL 12
#define AO_RCC_CFGR_PLLMUL (STM_RCC_CFGR_PLLMUL_12)
#define ao_gps_putchar ao_serial3_putchar
#define ao_gps_set_speed ao_serial3_set_speed
-#define HAS_USB 0
-#define HAS_BEEP 0
+#define HAS_EEPROM 1
+#define USE_INTERNAL_FLASH 0
+#define HAS_USB 1
+#define HAS_BEEP 1
#define HAS_SPI_1 1
#define SPI_1_PA5_PA6_PA7 1
#define AO_ADC_SQ8 AO_ADC_V_PBATT
#define AO_ADC_SQ9 AO_ADC_TEMP
+/*
+ * Pressure sensor settings
+ */
+#define AO_MS5607_CS_GPIO stm_gpioc
+#define AO_MS5607_CS 4
+#define AO_MS5607_CS_MASK (1 << AO_MS5607_CS)
+#define AO_MS5607_SPI_INDEX (STM_SPI_INDEX(1))
+
+/*
+ * SPI Flash memory
+ */
+
+#define M25_MAX_CHIPS 1
+#define AO_M25_SPI_CS_PORT stm_gpiod
+#define AO_M25_SPI_CS_MASK (1 << 3)
+#define AO_M25_SPI_BUS STM_SPI_INDEX(2)
+
#endif /* _AO_PINS_H_ */