Skip to content

Getting Started

Jeremy Gillick edited this page Nov 7, 2019 · 22 revisions

The first place to start is to get one of the examples running (Blink is a good first one).

There are examples written in a variety of libraries/environments, so what's the difference?

  • Arduino - A common starting place for hobbyists, artists and those new to programming hardware.
  • ChibiOS - A compact real-time operating system which includes threads & it's own hardware abstraction layer.
  • LibOpenCM3 - An open source and comprehensive hardware abstraction layer.
  • STM32Cube - The default hardware abstraction layer provided by STMicroelectronics, with quite a few lower level APIs.

Arduino

Arduino is a great place to start if you're just getting started with microcontrollers. Here's how to run the examples.

Software Prerequisites

ℹ️Mac users: There is a known issue with installing STM32CubeProgrammer on mac. You'll likely need to install it through your terminal application. more info

Setup

  1. Open the Blink.ino exmaple file in your arduino application.
  2. Select the ThunderPack board in the Tools menu:
    • Board: Generic STM32L0 series
    • Board part number: ThunderPack
    • Upload method: STM32CubeProgrammer (DFU)

All others (STM32Cube, libopencm3, ChibiOS)

Clone this wiki locally