Contiki-NG
|
This file provides connectivity information on LEDs, Buttons, UART and other OpenMote-CC2538 peripherals. More...
Go to the source code of this file.
Macros | |
OpenMote-CC2538 LED configuration | |
LEDs on the OpenMote-CC2538 are connected as follows:
| |
USB configuration | |
The USB pullup is driven by PC0 | |
UART configuration | |
On the OpenMote, the UART is connected to the following ports/pins
We configure the port to use UART0. To use UART1, replace UART0_* with UART1_* below. | |
OpenMote-CC2538 Button configuration | |
Buttons on the OpenMote-CC2538 are connected as follows:
| |
#define | BUTTON_USER_PORT GPIO_C_NUM |
BUTTON_USER -> PC3. | |
SPI (SSI0) configuration | |
These values configure which CC2538 pins to use for the SPI (SSI0) lines. The SSI0 is currently used to interface with the Ethernet driver (ENC28J60) on the OpenBase board. | |
SPI (SSI1) configuration | |
These values configure which CC2538 pins to use for the SPI (SSI1) lines. The SSI1 is currently not used. | |
I2C configuration | |
These values configure which CC2538 pins to use for the I2C lines. | |
CC2538 TSCH configuration | |
Device string used on startup |
This file provides connectivity information on LEDs, Buttons, UART and other OpenMote-CC2538 peripherals.
This file can be used as the basis to configure other platforms using the cc2538 SoC.
Definition in file board.h.