Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
Diff: SnPreCompOptions.h
- Revision:
- 125:ce4045184366
- Parent:
- 124:4637a6546cad
--- a/SnPreCompOptions.h Wed Oct 17 20:14:53 2018 +0000 +++ b/SnPreCompOptions.h Wed Jun 05 17:29:31 2019 +0000 @@ -22,7 +22,7 @@ // sorry for the double negative, but.. normally this is NOT DEFINED // uncommenting this will allow any values to be specified in a configuration // leaving it commented out is safer -//#define DISABLE_CONFIG_SAFETYNETS +#define DISABLE_CONFIG_SAFETYNETS // choose which communication peripherals will be used in the comms loop // for now, twitter is completely not working. @@ -59,15 +59,15 @@ // which chip/board combination to build this firmware for //#define CHIPBOARD ATWD4CH //#define CHIPBOARD SST4CH -//#define CHIPBOARD SST4CH_1GHz +#define CHIPBOARD SST4CH_1GHz //#define CHIPBOARD SST4CH512 // warning: 4*512 samples may fill up the 32kB of RAM. it may be necessary to comment out ENABLE_AFAR_COMM in order to free up RAM //#define CHIPBOARD SST4CH512_1GHz // warning: 4*512 samples may fill up the 32kB of RAM. it may be necessary to comment out ENABLE_AFAR_COMM in order to free up RAM //#define CHIPBOARD SST8CH // warning: 8*256 samples may fill up the 32kB of RAM. it may be necessary to comment out ENABLE_AFAR_COMM in order to free up RAM -#define CHIPBOARD SST8CH_1GHz // warning: 8*256 samples may fill up the 32kB of RAM. it may be necessary to comment out ENABLE_AFAR_COMM in order to free up RAM +//#define CHIPBOARD SST8CH_1GHz // warning: 8*256 samples may fill up the 32kB of RAM. it may be necessary to comment out ENABLE_AFAR_COMM in order to free up RAM // how many bits the DACs use -//#define DAC_BITS 12 // use for 4ch atwd/sst boards -#define DAC_BITS 16 // use for 8ch sst boards (2017-18) +#define DAC_BITS 12 // use for 4ch atwd/sst boards +//#define DAC_BITS 16 // use for 8ch sst boards (2017-18) // whether or not to use the flash memory on the mbed board, to call // the mbed provided function that gets the MAC address, etc. @@ -76,22 +76,22 @@ // forever and never return, resulting in a "brain dead" station. // therefore, this should almost certainly be disabled (commented out) // for stations installed in the ice. -//#define USE_INTERFACE_CHIP +#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 +//#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 +#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 +#define LOAD_DEFAULT_CONFIG_IMMEDIATELY // whether or not to use the lookup tables to speed up the FFTs #define USE_DFFT_LUTS