Go to the documentation of this file.
84 #if USB_SERIAL_CONF_ENABLE
85 #define LEDS_CONF_ALL 14
86 #define LEDS_RED LEDS_ORANGE
88 #define LEDS_CONF_ALL 15
93 #define PLATFORM_HAS_LEDS 1
100 #define USB_PULLUP_PORT GPIO_C_NUM
101 #define USB_PULLUP_PIN 0
116 #define UART_CONF_BASE UART_0_BASE
118 #define UART_RX_PORT GPIO_A_NUM
119 #define UART_RX_PIN 0
121 #define UART_TX_PORT GPIO_A_NUM
122 #define UART_TX_PIN 1
124 #define UART_CTS_PORT GPIO_B_NUM
125 #define UART_CTS_PIN 0
127 #define UART_RTS_PORT GPIO_D_NUM
128 #define UART_RTS_PIN 3
142 #define BUTTON_SELECT_PORT GPIO_A_NUM
143 #define BUTTON_SELECT_PIN 3
144 #define BUTTON_SELECT_VECTOR NVIC_INT_GPIO_PORT_A
147 #define BUTTON_LEFT_PORT GPIO_C_NUM
148 #define BUTTON_LEFT_PIN 4
149 #define BUTTON_LEFT_VECTOR NVIC_INT_GPIO_PORT_C
152 #define BUTTON_RIGHT_PORT GPIO_C_NUM
153 #define BUTTON_RIGHT_PIN 5
154 #define BUTTON_RIGHT_VECTOR NVIC_INT_GPIO_PORT_C
157 #define BUTTON_UP_PORT GPIO_C_NUM
158 #define BUTTON_UP_PIN 6
159 #define BUTTON_UP_VECTOR NVIC_INT_GPIO_PORT_C
162 #define BUTTON_DOWN_PORT GPIO_C_NUM
163 #define BUTTON_DOWN_PIN 7
164 #define BUTTON_DOWN_VECTOR NVIC_INT_GPIO_PORT_C
167 #define PLATFORM_HAS_BUTTON 1
176 #define SPI_CLK_PORT GPIO_A_NUM
177 #define SPI_CLK_PIN 2
178 #define SPI_MOSI_PORT GPIO_A_NUM
179 #define SPI_MOSI_PIN 4
180 #define SPI_MISO_PORT GPIO_A_NUM
181 #define SPI_MISO_PIN 5
182 #define SPI_SEL_PORT GPIO_B_NUM
183 #define SPI_SEL_PIN 5
190 #define BOARD_STRING "TI SmartRF06 + cc2538EM"