-
Notifications
You must be signed in to change notification settings - Fork 6
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 is a great place to start if you're just getting started with microcontrollers. Here's how to run the examples.
-
Arduino
- Then install STM32 Cores in Arduino.
- STM32CubeProgrammer
ℹ️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
- Open the Blink.ino exmaple file in your arduino application.
- Select the ThunderPack board in the Tools menu:
- Board: Generic STM32L0 series
- Board part number: ThunderPack
- Upload method: STM32CubeProgrammer (DFU)