diff --git a/boards/nrf52dk/Makefile.features b/boards/nrf52dk/Makefile.features index 1bfb0157e6..823871f47f 100644 --- a/boards/nrf52dk/Makefile.features +++ b/boards/nrf52dk/Makefile.features @@ -1,6 +1,7 @@ CPU_MODEL = nrf52832xxaa FEATURES_PROVIDED += arduino_i2c +FEATURES_PROVIDED += arduino_spi FEATURES_PROVIDED += arduino_pins FEATURES_PROVIDED += arduino_shield_uno diff --git a/boards/nrf52dk/include/arduino_iomap.h b/boards/nrf52dk/include/arduino_iomap.h index f36753eaeb..77c9e27047 100644 --- a/boards/nrf52dk/include/arduino_iomap.h +++ b/boards/nrf52dk/include/arduino_iomap.h @@ -96,6 +96,15 @@ extern "C" { #define ARDUINO_I2C_UNO I2C_DEV(0) /** @} */ +/** + * @name Arduino's SPI buses + * @{ + */ +/** + * @brief D11..13 is 0.23..0.25, which is called SPI_DEV(0) here + */ +#define ARDUINO_SPI_D11D12D13 SPI_DEV(0) +/** @} */ #ifdef __cplusplus }