Small changes to the binary_info pin names

This commit is contained in:
Andrew Scheller
2021-03-04 17:58:13 +00:00
committed by Graham Sanderson
parent 47e4b7f161
commit b369755d6f
5 changed files with 6 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ int main() {
// Make the SPI pins available to picotool
bi_decl(bi_3pins_with_func(PICO_DEFAULT_SPI_RX_PIN, PICO_DEFAULT_SPI_TX_PIN, PICO_DEFAULT_SPI_SCK_PIN, GPIO_FUNC_SPI));
// Make the CS pin available to picotool
bi_decl(bi_1pin_with_name(PICO_DEFAULT_SPI_CSN_PIN, "CS"));
bi_decl(bi_1pin_with_name(PICO_DEFAULT_SPI_CSN_PIN, "SPI CS"));
// Grab some unused dma channels
const uint dma_tx = dma_claim_unused_channel(true);