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:
parent
ecfa2f7573
commit
b0a46c2eba
@ -1,6 +1,7 @@
|
||||
CPU_MODEL = nrf52832xxaa
|
||||
|
||||
FEATURES_PROVIDED += arduino_i2c
|
||||
FEATURES_PROVIDED += arduino_spi
|
||||
FEATURES_PROVIDED += arduino_pins
|
||||
FEATURES_PROVIDED += arduino_shield_uno
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user