Skip to content

Commit

Permalink
boards/msba2: update SPI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Jan 31, 2020
1 parent 3f01f4b commit 3ae7bb4
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions boards/msba2/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,20 @@ static const uart_conf_t uart_config[] = {

/**
* @name SPI configuration
*
* The SPI implementation is very much fixed, so we don't need to configure
* anything besides the mandatory SPI_NUMOF.
* @{
*/
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)
/** @} */

Expand Down

0 comments on commit 3ae7bb4

Please sign in to comment.