First setup the same tools (STLink, ARM Toolchain, OpenOCD) as in the pqm4 project with the STM32F4 Discovery board.