Repository: raspberrypi/pico-sdk
File: src/boards/include/boards/adafruit_fruit_jam.h (C/C++)

Code before:

#define ADAFRUIT_FRUIT_JAM_BOOT_BUTTON_PIN 0

#define ADAFRUIT_FRUIT_JAM_BUTTON1_PIN 4
#define ADAFRUIT_FRUIT_JAM_BUTTON2_PIN 5

#define ADAFRUIT_FRUIT_JAM_ESP_CS_PIN 46

#define ADAFRUIT_FRUIT_JAM_CKN_PIN 12
#define ADAFRUIT_FRUIT_JAM_CKP_PIN 13
#define ADAFRUIT_FRUIT_JAM_D0N_PIN 14
#define ADAFRUIT_FRUIT_JAM_D0P_PIN 15
#define ADAFRUIT_FRUIT_JAM_D1N_PIN 16
#define ADAFRUIT_FRUIT_JAM_D1P_PIN 17
#define ADAFRUIT_FRUIT_JAM_D2N_PIN 18
#define ADAFRUIT_FRUIT_JAM_D2P_PIN 19

#define ADAFRUIT_FRUIT_JAM_PERIPH_RESET_PIN 22

#define ADAFRUIT_FRUIT_JAM_I2S_MCLK_PIN 27
#define ADAFRUIT_FRUIT_JAM_I2S_BCLK_PIN 26
#define ADAFRUIT_FRUIT_JAM_I2S_WS_PIN 25
#define ADAFRUIT_FRUIT_JAM_I2S_DIN_PIN 24
#define ADAFRUIT_FRUIT_JAM_I2S_GPIO1_PIN 23

#define ADAFRUIT_FRUIT_JAM_QSTR_SD_SCK_PIN 34
#define ADAFRUIT_FRUIT_JAM_QSTR_SDIO_CLOCK_PIN 34

#define ADAFRUIT_FRUIT_JAM_QSTR_SD_MOSI_PIN 35
#define ADAFRUIT_FRUIT_JAM_QSTR_SDIO_COMMAND_PIN 35

#define ADAFRUIT_FRUIT_JAM_QSTR_SD_MISO_PIN 36
#define ADAFRUIT_FRUIT_JAM_QSTR_SDIO_DATA0_PIN 36

#define ADAFRUIT_FRUIT_JAM_QSTR_SDIO_DATA1_PIN 37
#define ADAFRUIT_FRUIT_JAM_QSTR_SDIO_DATA2_PIN 38

#define ADAFRUIT_FRUIT_JAM_QSTR_SD_CS_PIN 39
#define ADAFRUIT_FRUIT_JAM_QSTR_SDIO_DATA3_PIN 39

#define ADAFRUIT_FRUIT_JAM_QSTR_SD_CARD_DETECT_PIN 33

#define ADAFRUIT_FRUIT_JAM_USB_HOST_DATA_PLUS_PIN 1
#define ADAFRUIT_FRUIT_JAM_USB_HOST_DATA_MINUS_PIN 2
#define ADAFRUIT_FRUIT_JAM_USB_HOST_5V_POWER_PIN 11

// no PICO_DEFAULT_UART

// --- LED ---
#ifndef PICO_DEFAULT_LED_PIN
#define PICO_DEFAULT_LED_PIN 29

Review comment (suggestion):
Just out of curiosity, what does `QSTR` stand for? Perhaps some additional comments wouldn't go amiss :wink: 

Code after:
#define ADAFRUIT_FRUIT_JAM_D10_PIN 10

// Buttons
// Boot button is also known as Button 1.
#define ADAFRUIT_FRUIT_JAM_BOOT_BUTTON_PIN 0
#define ADAFRUIT_FRUIT_JAM_BUTTON1_PIN 0
#define ADAFRUIT_FRUIT_JAM_BUTTON2_PIN 4
#define ADAFRUIT_FRUIT_JAM_BUTTON3_PIN 5

// ESP32-C6 co-processor
#define ADAFRUIT_FRUIT_JAM_WIFI_SCK_PIN 30
#define ADAFRUIT_FRUIT_JAM_WIFI_MOSI_PIN 31
#define ADAFRUIT_FRUIT_JAM_WIFI_MISO_PIN 28
#define ADAFRUIT_FRUIT_JAM_WIFI_CS_PIN 46
#define ADAFRUIT_FRUIT_JAM_WIFI_ACK_PIN 3
#define ADAFRUIT_FRUIT_JAM_WIFI_RESET_PIN 22

// HSTX header
#define ADAFRUIT_FRUIT_JAM_DVI_CKN_PIN 12
#define ADAFRUIT_FRUIT_JAM_DVI_CKP_PIN 13
#define ADAFRUIT_FRUIT_JAM_DVI_D0N_PIN 14
#define ADAFRUIT_FRUIT_JAM_DVI_D0P_PIN 15
#define ADAFRUIT_FRUIT_JAM_DVI_D1N_PIN 16
#define ADAFRUIT_FRUIT_JAM_DVI_D1P_PIN 17
#define ADAFRUIT_FRUIT_JAM_DVI_D2N_PIN 18
#define ADAFRUIT_FRUIT_JAM_DVI_D2P_PIN 19

// Reset for ESP32-C6 and TLV320DAC3100
#define ADAFRUIT_FRUIT_JAM_PERIPH_RESET_PIN 22

#define ADAFRUIT_FRUIT_JAM_I2S_ESP_IRQ_PIN 23

// I2S to TLV320DAC3100
#define ADAFRUIT_FRUIT_JAM_I2S_DIN_PIN 24
#define ADAFRUIT_FRUIT_JAM_I2S_MCLK_PIN 25
#define ADAFRUIT_FRUIT_JAM_I2S_BCLK_PIN 26
#define ADAFRUIT_FRUIT_JAM_I2S_WS_PIN 27

// SD and SDIO
#define ADAFRUIT_FRUIT_JAM_SD_SCK_PIN 34
#define ADAFRUIT_FRUIT_JAM_SDIO_CLOCK_PIN 34

#define ADAFRUIT_FRUIT_JAM_SD_MOSI_PIN 35
#define ADAFRUIT_FRUIT_JAM_SDIO_COMMAND_PIN 35

#define ADAFRUIT_FRUIT_JAM_SD_MISO_PIN 36
#define ADAFRUIT_FRUIT_JAM_SDIO_DATA0_PIN 36

#define ADAFRUIT_FRUIT_JAM_SDIO_DATA1_PIN 37
#define ADAFRUIT_FRUIT_JAM_SDIO_DATA2_PIN 38