picoprobe: use GPIO definitions for the new debug adapter, PCB R2 Limitations: - Power LED doesn't yet do anything sensible - The level-shifted SWDIO input isn't utilised by the PIO SM, so only 3.3v I/O Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
diff --git a/src/picoprobe_config.h b/src/picoprobe_config.h index 1552c36..4744d26 100644 --- a/src/picoprobe_config.h +++ b/src/picoprobe_config.h
@@ -48,12 +48,12 @@ // PIO config #define PROBE_SM 0 -#define PROBE_PIN_OFFSET 2 +#define PROBE_PIN_OFFSET 12 #define PROBE_PIN_SWCLK (PROBE_PIN_OFFSET + 0) // 2 -#define PROBE_PIN_SWDIO (PROBE_PIN_OFFSET + 1) // 3 +#define PROBE_PIN_SWDIO (PROBE_PIN_OFFSET + 2) // 3 // Target reset config -#define PROBE_PIN_RESET 6 +#define PROBE_PIN_RESET 0 // UART config #define PICOPROBE_UART_TX 4 @@ -61,6 +61,11 @@ #define PICOPROBE_UART_INTERFACE uart1 #define PICOPROBE_UART_BAUDRATE 115200 +#define PICOPROBE_DAP_CONNECTED_LED 15 +#define PICOPROBE_DAP_RUNNING_LED 16 +#define PICOPROBE_UART_RX_LED 7 +#define PICOPROBE_UART_TX_LED 8 + // LED config #ifndef PICOPROBE_LED