Skip to content

Commit

Permalink
boards/common/nucleo64: fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Nov 15, 2023
1 parent 08379cd commit 7446cf5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions boards/common/nucleo64/include/arduino_iomap.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ extern "C" {
* @name Arduino's SPI buses
* @{
*/
#if !defined(ARDUINO_SPI_D11D12D13) && defined(SPI_NUMOF)
/**
* @brief SPI_DEV(1) is connected to D11/D12/D13
* @brief SPI_DEV(0) is connected to D11/D12/D13 for most Nucleo-64 boards
*
* This can be overwritten in `boards/nucleo-<foobar>/include/periph_conf.h` by
* providing a custom `ARDUINO_SPI_D11D12D13`.
*/
#if !defined(ARDUINO_SPI_D11D12D13) && defined(SPI_NUMOF)
#define ARDUINO_SPI_D11D12D13 SPI_DEV(0)
#endif
/** @} */
Expand Down

0 comments on commit 7446cf5

Please sign in to comment.