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:
commit
c9788838fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user