To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: DefinitionsAndGlobals.h
- Revision:
- 71:9193fbdaa3e1
- Parent:
- 56:a88e16f6c18e
--- a/DefinitionsAndGlobals.h Fri Jan 15 12:02:12 2016 +0000 +++ b/DefinitionsAndGlobals.h Tue Jan 19 10:30:46 2016 +0000 @@ -1,12 +1,12 @@ // **************DEFINITIONS********************* // COM_RX #define RX_TIMEOUT_LIMIT 0.5 - #define COM_RX_UART_TX PTE20 - #define COM_RX_UART_RX PTE21 +// #define COM_RX_UART_TX PTE20 +// #define COM_RX_UART_RX PTE21 // For serial port printing(SET BAUD RATE 1200) -// #define COM_RX_UART_TX USBTX -// #define COM_RX_UART_RX USBRX + #define COM_RX_UART_TX USBTX + #define COM_RX_UART_RX USBRX // COMMON SPI #define SPI_MOSI PTE1 @@ -124,7 +124,7 @@ uint16_t gTOTAL_REPEATED_TC = 0x00; // COMMON SPI -SPI spi( SPI_MOSI, SPI_MISO, SPI_CLK ); +//SPI spi( SPI_MOSI, SPI_MISO, SPI_CLK ); DigitalOut gCS_ADF(SPI_CS_ADF); DigitalOut gCS_SDC(SPI_CS_SDC); DigitalOut gCS_RTC(SPI_CS_RTC);