pico: remove GP prefix from pin numbers

This commit is contained in:
Filip Ayazi 2021-09-04 02:21:43 +01:00
parent 9aa42e7400
commit 58fe8a20f8
2 changed files with 4 additions and 4 deletions

View file

@ -17,4 +17,4 @@ before_script:
job:
stage: build
script: "pio run -e nano -e leonardo -e pico -e bluepill"
script: "pio run -e nano -e leonardo -e pico -e bluepill -e esp32"

View file

@ -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}