Chapter 2

Developing Software for the Cortex-M Family

Abstract

This chapter guides you through installation of the Keil MDK-ARM (Microcontroller Development Kit for ARM) toolchain for Cortex-M microcontrollers. A hands on example also walks you through setting up first project to build and debug an initial microcontroller program.

Keywords

MDK-ARM; STM32; Microvision; ARM compiler; GCC compiler

Introduction

One of the big advantages of using a Cortex-M processor is that it has wide and growing range development tool support. There are toolchains available at zero cost up to several thousand dollars depending on the depth of your pockets and the type of application you are developing. Today there are five main toolchains that are used for Cortex-M development ...

Get The Designer's Guide to the Cortex-M Processor Family, 2nd Edition 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.