mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/at86rf215: switch example config to use EXT3 on same54-xpro
This avoids the conflict of using the same IRQ line (EXTI07) as the PHY
This commit is contained in:
parent
4ebf58d47a
commit
05bf94492f
@ -28,23 +28,23 @@ extern "C" {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Set default configuration parameters for the AT86RF215 driver
|
* @name Set default configuration parameters for the AT86RF215 driver
|
||||||
* Example config for EXT1 on same54-xpro
|
* Example config for EXT3 on same54-xpro
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#ifndef AT86RF215_PARAM_SPI
|
#ifndef AT86RF215_PARAM_SPI
|
||||||
#define AT86RF215_PARAM_SPI (SPI_DEV(0))
|
#define AT86RF215_PARAM_SPI (SPI_DEV(1))
|
||||||
#endif
|
#endif
|
||||||
#ifndef AT86RF215_PARAM_SPI_CLK
|
#ifndef AT86RF215_PARAM_SPI_CLK
|
||||||
#define AT86RF215_PARAM_SPI_CLK (SPI_CLK_5MHZ)
|
#define AT86RF215_PARAM_SPI_CLK (SPI_CLK_5MHZ)
|
||||||
#endif
|
#endif
|
||||||
#ifndef AT86RF215_PARAM_CS
|
#ifndef AT86RF215_PARAM_CS
|
||||||
#define AT86RF215_PARAM_CS (GPIO_PIN(1, 28))
|
#define AT86RF215_PARAM_CS (GPIO_PIN(2, 14))
|
||||||
#endif
|
#endif
|
||||||
#ifndef AT86RF215_PARAM_INT
|
#ifndef AT86RF215_PARAM_INT
|
||||||
#define AT86RF215_PARAM_INT (GPIO_PIN(1, 7))
|
#define AT86RF215_PARAM_INT (GPIO_PIN(2, 30))
|
||||||
#endif
|
#endif
|
||||||
#ifndef AT86RF215_PARAM_RESET
|
#ifndef AT86RF215_PARAM_RESET
|
||||||
#define AT86RF215_PARAM_RESET (GPIO_PIN(1, 8))
|
#define AT86RF215_PARAM_RESET (GPIO_PIN(3, 10))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AT86RF215_PARAMS
|
#ifndef AT86RF215_PARAMS
|
||||||
|
Loading…
Reference in New Issue
Block a user