Arianna autonomous DAQ firmware

Dependencies:   mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW

Revision:
122:c1b5023eac69
Parent:
120:1a43bc4a06b3
Child:
124:4637a6546cad
--- a/SnPreCompOptions.h	Thu Nov 30 06:26:18 2017 +0000
+++ b/SnPreCompOptions.h	Fri Dec 01 16:29:10 2017 +0000
@@ -78,6 +78,20 @@
 // for stations installed in the ice.
 //#define USE_INTERFACE_CHIP
 
+// if defined, try to read the default config from the SD card
+// instead of the interface chip
+#define LOAD_DEFAULT_CONFIG_FROM_SD
+
+// if defined, will start with both AFAR and SBD powered up during the
+// first comm win after boot up. otherwise, only SBD will be powered
+//#define AFAR_ON_FIRST_COMM_HARDCONF
+
+// whether or not to try to load the default config (wherever it's
+// located -- SD card or interface_chip) immediately -- that is, before
+// even the first communication. Be careful! It's possible this can fail
+// and prevent any communications, possibly resulting in a "brain dead"
+// station? Safer to leave this commented out.
+//#define LOAD_DEFAULT_CONFIG_IMMEDIATELY
 
 // whether or not to use the lookup tables to speed up the FFTs
 #define USE_DFFT_LUTS