Fixed Wanings
Added runtime and compile time debugging
Added Panic
use snprintf
add ... for message to long to format
Added Out of heap and Exit
Removed bad comment
Added USE_SWD_JTAG and DEBUG/RELEASE BUILD
Added More Useful macros
Updated Panic Code
Use Delay_Microsecond in Panic
BUG FIX:Build DEBUG and RELEASE was controled from make file
Update Debug.h to include config.h
Fixed token Pasting in CCASERT
BUGFIX: CC3000 SPI Driver hung with Int Off because redundant Event
(Send complete) not waited on by SimpleLinkWaitxxxx was passed to
hci_unsolicited_event_handler who ignored it. Not Calling SPIResumeSpi.

Rewrote CC3000 SPI Driver and removed most of it's non-sence.
DMA SPI_WINDOW_SIZE non-sence
wait hardware loops minimized.
Defined MAX_PACKET_PAYLOAD_SIZE, do not propagate the SPI header to the
call back - gains 10 bytes and prevents overwrite,




Test Case
A) Create 3 sockets the 3rd is the Spark, the first 2 are throwaways.
and deleted to get SparSocket # to not be resused to test connect bug.

B) Close operations have 1 byte writes before to reduce close time.
TCPClient does HTTP get without read.

When things fail InternetTest is called before the reconect.
On the close InternetTest test socket the write's status comes back 2
times. The second is without a ballenced SimpleLinkWaitxxxx. This caused
the hci_unsolicited_event_handler to not resume the SPI interrupts.
Added Host->CC write collide with Unsolicited (or spiResume not called)
protection
Added Timeout for event loop
Us Timer is broken! Use Ms
A timeout in the event handler will will return -1 to all callers (this
sucks, callers should initalize inputs but they never expected to return
(this is why the system hangs) so the error return is handeled here.)
Added return to or actual sent in send
Fixed comment that is error
Added return to or actual sent in send Fixed comment that is error
Fixed Bug: If cc3000 int is low on wait for proced, state needs to be
set to proceed