Add PICO_DEFAULT_SPI pins to pico.h (#225)

(and define min and max values for some of the PICO_DEFAULT_* configs)
This commit is contained in:
Andrew Scheller
2021-03-04 14:46:14 +00:00
committed by graham sanderson
parent 2b1dbfa3d2
commit 62b2d33e8f
4 changed files with 20 additions and 3 deletions

View File

@ -35,7 +35,7 @@ extern "C" {
* Each controller can be connected to a number of GPIO pins, see the datasheet GPIO function selection table for more information.
*/
// PICO_CONFIG: PICO_DEFAULT_SPI, Define the default SPI for a board, group=hardware_spi
// PICO_CONFIG: PICO_DEFAULT_SPI, Define the default SPI for a board, min=0, max=1, group=hardware_spi
// PICO_CONFIG: PICO_DEFAULT_SPI_SCK_PIN, Define the default SPI SCK pin, min=0, max=29, group=hardware_spi
// PICO_CONFIG: PICO_DEFAULT_SPI_TX_PIN, Define the default SPI TX pin, min=0, max=29, group=hardware_spi
// PICO_CONFIG: PICO_DEFAULT_SPI_RX_PIN, Define the default SPI RX pin, min=0, max=29, group=hardware_spi