doc: Split out EasyMini into a separate manual
[fw/altos] / doc / flight-data-recording.inc
index ed56b82e6b48e63a094a297ab2fe4f9619267e5f..d0ffa7f1e3d3cf965bf9e42f995c8aa6dc6fcc54 100644 (file)
@@ -2,9 +2,15 @@
 == Flight Data Recording
       
        Each flight computer logs data at 100 samples per second
 == Flight Data Recording
       
        Each flight computer logs data at 100 samples per second
-       during ascent and 10 samples per second during descent, except
-       for TeleMini v1.0, which records ascent at 10 samples per
-       second and descent at 1 sample per second. Data are logged to
+       during ascent and 10 samples per second during
+       ifdef::telemini[]
+       descent, except for TeleMini v1.0, which records ascent at 10 samples
+       per second and descent at 1 sample per second.
+       endif::telemini[]
+       ifndef::telemini[]
+       descent.
+       endif::telemini[]
+       Data are logged to
        an on-board flash memory part, which can be partitioned into
        several equal-sized blocks, one for each flight.
 
        an on-board flash memory part, which can be partitioned into
        several equal-sized blocks, one for each flight.
 
        [options="header",cols="1,1,1,1"]
        |====
        |Device                 |Bytes per Sample       |Total Storage  |Minutes at Full Rate
        [options="header",cols="1,1,1,1"]
        |====
        |Device                 |Bytes per Sample       |Total Storage  |Minutes at Full Rate
+       ifdef::telemetrum[]
        |TeleMetrum v1.0        |8      |1MB    |20
        |TeleMetrum v1.1 v1.2   |8      |2MB    |40
        |TeleMetrum v2.0        |16     |8MB    |80
        |TeleMetrum v1.0        |8      |1MB    |20
        |TeleMetrum v1.1 v1.2   |8      |2MB    |40
        |TeleMetrum v2.0        |16     |8MB    |80
+       endif::telemetrum[]
+       ifdef::telemini[]
        |TeleMini v1.0          |2      |5kB    |4
        |TeleMini v2.0          |16     |1MB    |10
        |TeleMini v1.0          |2      |5kB    |4
        |TeleMini v2.0          |16     |1MB    |10
+       endif::telemini[]
+       ifdef::easymini[]
        |EasyMini               |16     |1MB    |10
        |EasyMini               |16     |1MB    |10
+       endif::easymini[]
+       ifdef::telemega[]
        |TeleMega               |32     |8MB    |40
        |TeleMega               |32     |8MB    |40
+       endif::telemega[]
+       ifdef::easymega[]
        |EasyMega               |32     |8MB    |40
        |EasyMega               |32     |8MB    |40
+       endif::easymega[]
        |====
       
        The on-board flash is partitioned into separate flight logs,
        |====
       
        The on-board flash is partitioned into separate flight logs,
        stored. Decrease the size and you can store more flights.
             
        Configuration data is also stored in the flash memory on
        stored. Decrease the size and you can store more flights.
             
        Configuration data is also stored in the flash memory on
-       TeleMetrum v1.x, TeleMini and EasyMini. This consumes 64kB
+       ifdef::telemetrum[TeleMetrum v1.x,]
+       ifdef::telemini[TeleMini and]
+       ifdef::easymini[EasyMini.]
+       This consumes 64kB
        of flash space.  This configuration space is not available
        of flash space.  This configuration space is not available
-       for storing flight log data. TeleMetrum v2.0, TeleMega and EasyMega
+       for storing flight log data.
+
+       ifdef::telemetrum,telemega,easymega[]
+       TeleMetrum v2.0, TeleMega and EasyMega
        store configuration data in a bit of eeprom available within
        the processor chip, leaving that space available in flash for
        more flight data.
        store configuration data in a bit of eeprom available within
        the processor chip, leaving that space available in flash for
        more flight data.
+       endif::telemetrum,telemega,easymega[]
             
        To compute the amount of space needed for a single flight, you
        can multiply the expected ascent time (in seconds) by 100
        times bytes-per-sample, multiply the expected descent time (in
        seconds) by 10 times the bytes per sample and add the two
        together. That will slightly under-estimate the storage (in
             
        To compute the amount of space needed for a single flight, you
        can multiply the expected ascent time (in seconds) by 100
        times bytes-per-sample, multiply the expected descent time (in
        seconds) by 10 times the bytes per sample and add the two
        together. That will slightly under-estimate the storage (in
-       bytes) needed for the flight. For instance, a TeleMetrum v2.0 flight spending
+       bytes) needed for the flight.
+       ifdef::telemetrum[]
+       For instance, a TeleMetrum v2.0 flight spending
        20 seconds in ascent and 150 seconds in descent will take
        about (20 * 1600) + (150 * 160) = 56000 bytes of storage. You
        could store dozens of these flights in the on-board flash.
        20 seconds in ascent and 150 seconds in descent will take
        about (20 * 1600) + (150 * 160) = 56000 bytes of storage. You
        could store dozens of these flights in the on-board flash.
+       endif::telemetrum[]
             
        The default size allows for several flights on each flight
             
        The default size allows for several flights on each flight
-       computer, except for TeleMini v1.0, which only holds data for a
-       single flight. You can adjust the size.
+       ifdef::telemini[]
+       computer, except for TeleMini v1.0, which
+       only holds data for a single flight.
+       endif::telemini[]
+       ifndef::telemini[]
+       computer.
+       endif::telemini[]
+       You can adjust the size.
             
        Altus Metrum flight computers will not overwrite existing
        flight data, so be sure to download flight data and erase it
             
        Altus Metrum flight computers will not overwrite existing
        flight data, so be sure to download flight data and erase it