Patch which enables sleepAbort() macro to be used inside ISRs for cancelling LPM3/4 sleep mode.
Reworked sleeping variables so stay_asleep is used by ISRs, not sleeping; also added LPM4 as suspend()
Cleaned up the comments in the various sleep/suspend functions.
Added stay_asleep hooks to USCI ISRs to support I2C slave mode; I2C slave user ISR may issue wakeup() to abort LPM3/4.  Also fixed an uncaught bug in USCI_B1 ISR where an extra } was present.
Oops; misspelled my still_asleep flag variable in many instances.
Added API-level lm4f/tm4c support for sleep, sleepSeconds, wakeup.  Just uses delayMicroseconds under the hood for now.
Disable interrupts while manipulating port mapping control on MSP430
The port mapping will forever be read only if the configuration takes more than 32
(assembler) instructions, this is specified in
MSP430x5xx and MSP430x6xx Family User's guide (http://www.ti.com/lit/ug/slau208n/slau208n.pdf),
section "13.2 Port Mapping Controller Operation", page 426.
Therefore we disable interrupts while manipulating the port mapping control registers

Use PMAPKEYID instead of PMAPPWD, which is deprecated, when setting port mapping password.
I realized delay & sleep implementations used an overloaded local "milliseconds" variable; changed to "ms" to avoid confusion.
C2000 - Cleaned up C2000 support, enabled linux compatibility
Emulate SPI.setBitOrder(LSBFIRST) for LM4F and CC3200
Fixed ::write(buf, len) so it properly manages the ERR_MEM condition as a flow-control signal of sorts.  Also incorporated issue #389's fix.
Add preference enable/disable debug info in .elf
Sync Stream class with latest Arduino
Add IPAddress INADDR_NONE for TivaC
Fix type-o in SPI clock speed setting 8M vs 800k
Add c_str function to String lib
Add default pin numbers for SimpleLink boosterpack
Add PROGMEM and friends for AVR portability
Merge pull request #442 from astuder/emulate_SPI_bitorder

Emulate SPI.setBitOrder(LSBFIRST) for LM4F and CC3200
Merge pull request #447 from energia/issue_447

EthernetClient::write truncates with large writes