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

boards/nrf52dk arduino: Declare SPI (side SPI) support

This commit is contained in:
chrysn 2024-01-23 00:39:03 +01:00
parent ecfa2f7573
commit b0a46c2eba
2 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
CPU_MODEL = nrf52832xxaa
FEATURES_PROVIDED += arduino_i2c
FEATURES_PROVIDED += arduino_spi
FEATURES_PROVIDED += arduino_pins
FEATURES_PROVIDED += arduino_shield_uno

View File

@ -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
}