Writing a simple program
This section explains how to write, build, and execute a simple program. We also describe the various files that, together, make up a uVision project.
How to do it…
- Use Windows Explorer to create a new (empty) folder called
helloBlinky_c1v0
. Invoke uVision5, and create a new project (Project → New uVision Project…). Navigate to the folder, and create a project file calledhello_blinky.uvprojx
. When prompted, choose the STM32F407IGHx device. Click OK. - In Manage → Run Time Environment, choose the MCB32F400 board support using the drop-down list, and tick the LED API (since our application will flash an LED). Expand the Device ...
Get ARM® Cortex® M4 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.