vedderb / bldc

The VESC motor control firmware
2.08k stars 1.31k forks source link

Add ability to use custom pins in lisp #703

Closed TechAUmNu closed 4 months ago

TechAUmNu commented 5 months ago

To use, add defines in hw config // Lisp custom pins

define PIN_HW_1_GPIO GPIOC

define PIN_HW_1 13

define PIN_HW_2_GPIO GPIOB

define PIN_HW_2 2

Ideally this would be expandable to more than 2 pins.