mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
drivers/at86rf215: adapt default config to same54-xpro EXT1
Previously the default config was for connecting the REB215-XPRO module to EXT3 on same54-xpro. Since now more SPI buses are configured on same54-xpro and the default config also serves as a compile test for boards with only one SPI bus, connect the module to the (new) first SPI bus by default.
This commit is contained in:
parent
9ca480abf1
commit
f673e275f3
@ -28,7 +28,7 @@ extern "C" {
|
||||
|
||||
/**
|
||||
* @name Set default configuration parameters for the AT86RF215 driver
|
||||
* Example config for EXT3 on same54-xpro
|
||||
* Example config for EXT1 on same54-xpro
|
||||
* @{
|
||||
*/
|
||||
#ifndef AT86RF215_PARAM_SPI
|
||||
@ -38,13 +38,13 @@ extern "C" {
|
||||
#define AT86RF215_PARAM_SPI_CLK (SPI_CLK_5MHZ)
|
||||
#endif
|
||||
#ifndef AT86RF215_PARAM_CS
|
||||
#define AT86RF215_PARAM_CS (GPIO_PIN(3, 14))
|
||||
#define AT86RF215_PARAM_CS (GPIO_PIN(1, 28))
|
||||
#endif
|
||||
#ifndef AT86RF215_PARAM_INT
|
||||
#define AT86RF215_PARAM_INT (GPIO_PIN(3, 30))
|
||||
#define AT86RF215_PARAM_INT (GPIO_PIN(1, 7))
|
||||
#endif
|
||||
#ifndef AT86RF215_PARAM_RESET
|
||||
#define AT86RF215_PARAM_RESET (GPIO_PIN(4, 10))
|
||||
#define AT86RF215_PARAM_RESET (GPIO_PIN(1, 8))
|
||||
#endif
|
||||
|
||||
#ifndef AT86RF215_PARAMS
|
||||
|
Loading…
Reference in New Issue
Block a user