hzeller / beagleg

G-code interpreter and stepmotor controller for crazy fast coordinated moves of up to 8 steppers. Uses the Programmable Realtime Unit (PRU) of the Beaglebone.
http://beagleg.org/
GNU General Public License v3.0
122 stars 51 forks source link

Warn if a pin-mapping for PWM is mapped to an unsupported pin #24

Closed hzeller closed 7 years ago

hzeller commented 7 years ago

Currently, PWM only works on the Timer pins, which are only a few. Either compilation should fail or startup should warn if such pins are mapped. Currently it just silently doesn't work if a PWM pin is mapped in the hardware-pin-mapping.h to an unsupported pin.