From 58fe8a20f89ddcf51cb0bc710f09402f6a9bac3d Mon Sep 17 00:00:00 2001 From: Filip Ayazi Date: Sat, 4 Sep 2021 02:21:43 +0100 Subject: [PATCH] pico: remove GP prefix from pin numbers --- .gitlab-ci.yml | 2 +- src/boards.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7eb7a07..d6c5426 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,4 +17,4 @@ before_script: job: stage: build - script: "pio run -e nano -e leonardo -e pico -e bluepill" \ No newline at end of file + script: "pio run -e nano -e leonardo -e pico -e bluepill -e esp32" \ No newline at end of file diff --git a/src/boards.h b/src/boards.h index e98835f..968db0d 100644 --- a/src/boards.h +++ b/src/boards.h @@ -43,9 +43,9 @@ #define WIRING_ENDSTOPS_MAX {A3,A4,A5} #elif defined(BOARD_CUSTOM_PICO) #define BOARD_STRING "Custom Pico board" - #define WIRING_MOTOR_X GP2, GP3, GP4, GP5 - #define WIRING_MOTOR_Y GP6, GP7, GP8, GP9 - #define WIRING_MOTOR_Z GP10, GP11, GP12, GP13 + #define WIRING_MOTOR_X 2, 3, 4, 5 + #define WIRING_MOTOR_Y 6, 7, 8, 9 + #define WIRING_MOTOR_Z 10, 11, 12, 13 #define ENDSTOPS_INVERT false #define ENDSTOPS_PULLUPS true #define WIRING_ENDSTOPS_MIN {A0,A1,A2}