src: Add driver for AVR internal eeprom. Use for telepyro config.
[fw/altos] / src / avr / ao_pins.h
index f2b40fb4f19c11e74ac3b6b95b7aef518da34bf4..3c9010a81cc90ddad86179ea1d8cc921947a913f 100644 (file)
        #define HAS_ADC                 1
        #define PACKET_HAS_SLAVE        0
        #define HAS_BEEP                0
+       #define HAS_EEPROM              1
+       #define USE_INTERNAL_FLASH      1
+       #define DISABLE_HELP            1
+       #define HAS_STORAGE_DEBUG       0
+       #define IS_COMPANION            1
+       #define ao_storage_pos_t        uint16_t
 
        #define AVR_VCC_5V              0
        #define AVR_VCC_3V3             1
 #define AO_TELESCIENCE_NUM_ADC 12
 
 struct ao_adc {
-       uint16_t        tick;           /* tick when the sample was read */
        uint16_t        adc[AO_TELESCIENCE_NUM_ADC];    /* samples */
 };
 
-#define AO_ADC_RING    16
+#define AO_DATA_RING   16
 
 #endif /* _AO_PINS_H_ */