-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Olivier Scalbert edited this page Feb 17, 2019
·
3 revisions
This repository contains different projects around ARM technology.
These projects use the GNU Embedded Toolchain for Arm, libopencm3 and sometimes FreeRTOS.
-
The GNU Embedded Toolchain for Arm can be downloaded here: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
-
The libopencm3 can be downloaded here: https://github.com/libopencm3/libopencm3
-
The FreeRTOS can be downloaded here: https://www.freertos.org/
Blink1 is a small "hello world !" project. It only makes a led blink. It uses the libopencm3 library. To build it, just do:
make CM3_DIR=your_libopencm3_path flash
This project starts three FreeRTOS tasks:
- one for for the LED3;
- one for the the LED4;
- one that dumps some memory content on USART1.
To compile it, just setup the libopencm3 and FreeRTOS paths in the makefile and:
make flash
On linux you can start a terminal emulator as minicom:
minicom -D /dev/ttyACM0 -b 19200
That is all ! ;-)