Skip to content

Commit

Permalink
boards/avsextrem: update SPI config
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Jan 31, 2020
1 parent 3ae7bb4 commit 985d340
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion boards/avsextrem/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,19 @@ static const uart_conf_t uart_config[] = {
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1U)
static const spi_conf_t spi_config[] = {
{
.dev = SPI0,
.pinsel_mosi = 3,
.pinsel_miso = 3,
.pinsel_clk = 3,
.pinsel_msk_mosi = (BIT16 | BIT17),
.pinsel_msk_miso = (BIT14 | BIT15),
.pinsel_msk_clk = (BIT8 | BIT9),
},
};

#define SPI_NUMOF (1)
/** @} */

#ifdef __cplusplus
Expand Down

0 comments on commit 985d340

Please sign in to comment.