1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/mcb2388: update SPI configuration

This commit is contained in:
Benjamin Valentin 2020-02-10 13:41:00 +01:00
parent 985d340621
commit d675eb7cbb

View File

@ -71,11 +71,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), /* P1.24 */
.pinsel_msk_miso = (BIT14 | BIT15), /* P1.23 */
.pinsel_msk_clk = (BIT8 | BIT9), /* P1.20 */
},
};
#define SPI_NUMOF (1)
/** @} */