1
0
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:
Benjamin Valentin 2023-09-04 15:45:21 +02:00
parent 4ebf58d47a
commit 05bf94492f

View File

@ -28,23 +28,23 @@ extern "C" {
/**
* @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
#define AT86RF215_PARAM_SPI (SPI_DEV(0))
#define AT86RF215_PARAM_SPI (SPI_DEV(1))
#endif
#ifndef AT86RF215_PARAM_SPI_CLK
#define AT86RF215_PARAM_SPI_CLK (SPI_CLK_5MHZ)
#endif
#ifndef AT86RF215_PARAM_CS
#define AT86RF215_PARAM_CS (GPIO_PIN(1, 28))
#define AT86RF215_PARAM_CS (GPIO_PIN(2, 14))
#endif
#ifndef AT86RF215_PARAM_INT
#define AT86RF215_PARAM_INT (GPIO_PIN(1, 7))
#define AT86RF215_PARAM_INT (GPIO_PIN(2, 30))
#endif
#ifndef AT86RF215_PARAM_RESET
#define AT86RF215_PARAM_RESET (GPIO_PIN(1, 8))
#define AT86RF215_PARAM_RESET (GPIO_PIN(3, 10))
#endif
#ifndef AT86RF215_PARAMS