this avoids the need for malloc in the bootloader
use PWM markers in hwdef.dat to mark each PWM channel
this is based on initial work by Sid, reset here for easier merging