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 13a84b8f63
commit ecd79e9456
5 changed files with 6 additions and 8 deletions

View File

@@ -126,7 +126,7 @@ int main() {
gpio_put(PICO_DEFAULT_SPI_CSN_PIN, 1);
gpio_set_dir(PICO_DEFAULT_SPI_CSN_PIN, GPIO_OUT);
// 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"));
printf("SPI initialised, let's goooooo\n");