caiotavares / arm-hello-world

ARM Cortex M4F Hello World

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies

Setup

  • Install the compiler, SDK and the latest commit of OpenOCD for debugging

    • brew install armmbed/formulae/arm-none-eabi-gcc

    • brew install openocd --HEAD

      You may also need to install openocd dependencies: autoconf, automake and texinfo

  • Export GCC_ARMCOMPILER and ARM_SDK_HOME environment variables pointing to the compiler and SDK homes, respectively

Getting Started

> git clone git@github.com:caiotavares/arm-first-steps.git
> cd arm-first-steps
> make
> openocd -f board/ti_msp432_launchpad.cfg

In another terminal:

> arm-none-eabi-gdb
> (gdb) target remote :3333
> (gdb) load ./out/hello_world.out
> (gdb) continue

About

ARM Cortex M4F Hello World


Languages

Language:C 93.1%Language:Makefile 6.9%