PX4/Bootloader — pull request #4 by geeksville (2013-01-12 19:39:28+00:00)
Title: Add target for programming stm32f4-discovery eval boards

(I'm not sure if this is the ideal way to do this, but it worked for me. Feedback is welcome. I'll also add some details on the PX4 wiki)

The current openocd now has built-in support built in support for the
stm32f4-discovery board. So this target does not need the stm32f4x.cfg
config file (and in fact, that file is not correct because the discovery
includes a built in st-link debug device).

To program the PX4 bootloader onto the discovery:
make
make -f Makefile.f4 TARGET=discovery upload-discovery