1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #5917 from PeterKietzmann/telosb_add_cc2420

boards/telosb: add cc2420 configuration
This commit is contained in:
Hauke Petersen 2016-10-17 09:21:55 +02:00 committed by GitHub
commit c9788838fd

View File

@ -99,6 +99,19 @@ extern "C" {
#define LED2_TOGGLE (LED_OUT_REG ^= LED2_MASK)
/** @} */
/**
* @brief Definition of the interface to the CC2420 radio
*/
#define CC2420_PARAMS_BOARD {.spi = SPI_0, \
.spi_clk = SPI_SPEED_1MHZ , \
.pin_cs = GPIO_PIN(P4, 2), \
.pin_fifo = GPIO_PIN(P1, 3), \
.pin_fifop = GPIO_PIN(P1, 0), \
.pin_cca = GPIO_PIN(P1, 4), \
.pin_sfd = GPIO_PIN(P4, 1), \
.pin_vrefen = GPIO_PIN(P4, 5), \
.pin_reset = GPIO_PIN(P4, 6)}
#ifdef __cplusplus
}
#endif