O'Reilly logo

ARM® Cortex® M4 Cookbook by Dr. Mark Fisher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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…

  1. Use Windows Explorer to create a new (empty) folder called helloBlinky_c1v0. Invoke uVision5, and create a new project (ProjectNew uVision Project…). Navigate to the folder, and create a project file called hello_blinky.uvprojx. When prompted, choose the STM32F407IGHx device. Click OK.
    How to do it…
  2. In ManageRun 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required