add different timing for run , sleep and stop modes
FW-173. Fixed ieee802.15.4e timing for stm32. Fixed Uart Rx (toggle button available for stm32)
Merge pull request #30 from peretuset/develop

EUI-64 on CC2538
Merge pull request #31 from openwsn-berkeley/develop_FW-173

Develop fw 173
cc2538 bsp modifications
Several fixes to the CC2538 bsp. Summarizing:
a) Added code to initialize and select the internal and external antennas via GPIOs
b) Added code to initilize the clocks appropriately (System = 32 MHz, Peripherals = 16 MHz)
c) Added code to initialize the appropriate sleep mode, right now it only goes to PM0 (WFI)
d) Added code to initialize the GPIOs for low power consumptions
e) Added code to initialize the peripherals according to the sleep mode
f) Fixed a bug in the radio that caused to read two more bytes from the receive FIFO
g) Removed a comment from the startup code to ensure that it works with the J-Link
h) Fixed the UART driver to ensure that it is configured appropriately and remove a bug related to the interrupts.
All the fixes have been tested and seem to be working fine.