Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

ntut-rf/mcu

Repository files navigation

This is a bare minimal example for the Cortex-M boards STM32F103 Nucleo & MSP432 Launchpad.

Prerequisites

  • GNU ARM Toolchain
  • GNU make
  • OpenOCD

NOTE For MSP432, upstream OpenOCD is unable to write the firmware into flash. TI OpenOCD is required for progamming the flash (You have to compile it from source). For Arch Linux, a PKGBUILD is avilable here.

Usage

To build the executable, cd into the folder, open the console and

$ make

To flash the executable onto the board,

$ make flash

sudo may be required to flash the image onto MSP432 if udev rules are not set.

For the example "02-libopencm3-hello", it is required to build libopencm3 first,

$ git submodule init
$ git submodule update
$ cd libopencm3
$ make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published