Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
Diff: SnConstants.h
- Revision:
- 67:ec999336fcd1
- Parent:
- 56:0bba0ef15697
- Child:
- 68:a21f6c4be238
--- a/SnConstants.h Tue Dec 02 21:55:27 2014 +0000 +++ b/SnConstants.h Tue Feb 03 00:04:30 2015 +0000 @@ -1,13 +1,18 @@ #ifndef SN_SnConstants #define SN_SnConstants -// available CHIPBOARDs +// available CHIPBOARDs -- these values should never change! #define ATWD4CH 0 // set CHIPBOARD to this to get firmware for the 2012-2013 stations (value is arbitrary but unique) #define SST4CH 1 // set CHIPBOARD to this to get firmware for the 2014 stations with a single SST chip (value is arbitrary but unique) // which chip/board combination to build this firmware for -//#define CHIPBOARD ATWD4CH -#define CHIPBOARD SST4CH +#define CHIPBOARD ATWD4CH +//#define CHIPBOARD SST4CH + +//#define DEBUG + +//#define USE_INTERFACE_CHIP + #include "SnBitUtils.h" #include "SnCommConstants.h" @@ -15,6 +20,12 @@ // // constants // + +// this should be updated for each and every mbed board (ugh!) +//static const char kDefaultMacAdress[] = {0x00, 0x02, 0xAA, 0xAA, 0xAA, 0xAA}; // for testing SST +//static const char kDefaultMacAdress[] = {0x00, 0x02, 0xBB, 0xBB, 0xBB, 0xBB}; // for testing ATWD +static const char kDefaultMacAdress[] = {0x00, 0x02, 0xF7, 0xF0, 0xAE, 0xE0}; // STN 20 (ATWD MB 1) 0002F7F0AEE0 + // if these change, it is likely that some i/o version (config, event, etc) will need to change static const bool kIridPwrFromAfar = false; // true if Iridium & Afar are on the same relay, false if not static const uint32_t kBStime = 946684800u; // 1/1/2000 00:00:00 UTC