removing uneeded project-conf pound defines
ensuring that spi-arch loaded before spi.h. used to make sure we use cc2538 SPI_FLUSH macro
fixed SPI communication by adding SPI_FLUSH and modifying SPI_FLUSH code. did some code cleanup and made sure to clear global event packet before use