Environment Setup for STM32F4Discovery

Cross Compiler Download the cross-compiler for ARM here: GNU toolchain for ARM Cortex-M Programmer OpenOCD git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd cd openocd ./bootstrap ./configure –enable-maintainer-mode –disable-option-checking –disable-werror –prefix=${PREFIX} –enable-dummy –enable-usb_blaster_libftdi –enable-ep93xx –enable-at91rm9200 –enable-presto_libftdi –enable-usbprog –enable-jlink –enable-vsllink –enable-rlink –enable-stlink –enable-arm-jtag-ew make sudo make install edit <path to openocd>/tcl/interface/stlink-v2.cfg change hla_vid_pid 0x0483 0x3748 to hla_vid_pid 0x0483 0x374B To Program openocd -f interface/stlink-v2.cfg […]

Read more "Environment Setup for STM32F4Discovery"