X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelemega-v0.1%2Fao_pins.h;h=7ccc6085ba1b49139dcf1c6ba164304a2393b19f;hb=f491eec1b950e4ad35a535db254a27a3dd2ad430;hp=a63c76a003795879e67d7f69c8a87fd59f5b43bd;hpb=0d367fc24bfd0377db6f3b00a888a18245616767;p=fw%2Faltos diff --git a/src/telemega-v0.1/ao_pins.h b/src/telemega-v0.1/ao_pins.h index a63c76a0..7ccc6085 100644 --- a/src/telemega-v0.1/ao_pins.h +++ b/src/telemega-v0.1/ao_pins.h @@ -65,6 +65,10 @@ #define ao_gps_fifo (ao_stm_usart3.rx_fifo) #define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX (1024 * 1024) +#define AO_CONFIG_MAX_SIZE 1024 +#define LOG_ERASE_MARK 0x55 +#define LOG_MAX_ERASE 128 + #define HAS_EEPROM 1 #define USE_INTERNAL_FLASH 0 #define USE_EEPROM_CONFIG 1 @@ -75,6 +79,7 @@ #define HAS_RADIO 1 #define HAS_TELEMETRY 1 #define HAS_APRS 1 +#define HAS_COMPANION 1 #define HAS_SPI_1 1 #define SPI_1_PA5_PA6_PA7 1 /* Barometer */