Skip to content

Commit

Permalink
drivers/at86rf215: switch example config to use EXT3 on same54-xpro
Browse files Browse the repository at this point in the history
This avoids the conflict of using the same IRQ line (EXTI07) as the PHY
  • Loading branch information
benpicco committed Sep 4, 2023
1 parent 4ebf58d commit 05bf944
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/at86rf215/include/at86rf215_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05bf944

Please sign in to comment.