This is a brushless DC motor controller based on the STM32F407VG. It runs on ChibiOS.
make
make flashormake f
make testormake t
- Launch the gdb server with
st-utilormake gdb-server - Launch gdb using
gdb-multiarchfile build/esc.elfto load symbolstarget extended-remote :4242- or, do all the above with
make gdb
- do debugging stuff
- Timer 1 - used for PWM1
- Timer 2 - used to trigger ADCs
- Timer 4 - used to track motor rotor position