This recipe will detail modifications that are necessary for the Blinky program created by the Eclipse project wizard and will show how to use the MDK-ARM Eclipse plug-in to flash the STM32F407IG part. We'll call this recipe GNU_ARM_Blinky_c9v0
.
Invoke Eclipse.
The MCBSTM32F400 evaluation board uses the STM32F407IG device, so we install the pack supporting this. To install the pack, switch to the Packs perspective and right-click the name of the pack:
Refer to http://www.keil.com/support/man/docs/ecluv/ecluv_flashSetup.htm and install the MDK-ARM Eclipse plug-in. Note that, once this plug-in is successfully installed, the uVision icon and menu will appear in the toolbar:
Switch to the C/C++ perspective. Select File → New →C Project and create a new project; give the project a name, select the STM32F4xx toolchain, and click Next:
Choose the STM32F407xx Chip Family, and select None (no trace output) in Trace output:
Open
BlinkLed.c
; in...