when writing data to eeprom, source buffer should be const.
SRAM optimization - 176 bytes.

Moved expandedKey static buffer to the stack, and added as a parameter to those functions that use it.

I've not tested it, since I'm not using the smart config, but this looks like a safe change.
Merge branch 'master' of https://github.com/spark/core-common-lib

Conflicts:
	CC3000_Host_Driver/security.c
	CC3000_Host_Driver/security.h
	CC3000_Host_Driver/wlan.c
memory optimization: moved static expandedKey buffer to the stack. Saves 176 bytes of RAM.
hacking around with spi bus arbitration.  doesn't get past white LED - may be because of debug statements?
no message
SPI bus arbiter to co-ordinate access to the cc3000 and external flash.
removed interrupts in socket_active_status.
Merge branch 'master' of https://github.com/spark/core-common-lib
Merge branch 'master' into m-mcgowan/spibus_arbiter
Fixed Build Error
Merge pull request #28 from m-mcgowan/master

RAM optimization and clean up of sFLASH_write function
Merge branch 'master' into m-mcgowan/spibus_arbiter
Only whitespace changes, to clarify the real code changes
Uncomment debug logging and remove commented extern
Merge pull request #30 from spark/m-mcgowan/spibus_arbiter

Use Mat McGowan's SPI bus arbitration code
Fixed OTA 256 byte chunk issue
Merge pull request #31 from technobly/ota-256-chunk-fix

Fixed OTA 256 byte chunk issue
Merge branch 'master' of https://github.com/spark/core-common-lib

# By Matthew McGowan (2) and others
# Via Zachary Crockett (4) and others
* 'master' of https://github.com/spark/core-common-lib:
  Fixed OTA 256 byte chunk issue
  Uncomment debug logging and remove commented extern
  Only whitespace changes, to clarify the real code changes
  Fixed Build Error
  removed interrupts in socket_active_status.
  hacking around with spi bus arbitration.  doesn't get past white LED - may be because of debug statements?
Fixes issue #33

Git bisect led me to 6509c8367f as the offending commit.

The "CC3000 SpiWrite acquire bus" message and
the "CC3000 DmaHandler release read spi bus" message
do not break debug mode, but they create enough debug loggin
as to overwhelm the serial bus.

The "CC3000 DmaHandler release write spi bus" actually breaks
debug mode. Removed as unimportant.