https://github.com/lambdaurora/otterpill-examples
Some tests and examples work on the OtterPill.
https://github.com/lambdaurora/otterpill-examples
example examples hal libopencm3 otterpill stm32f0
Last synced: 11 months ago
JSON representation
Some tests and examples work on the OtterPill.
- Host: GitHub
- URL: https://github.com/lambdaurora/otterpill-examples
- Owner: LambdAurora
- License: unlicense
- Created: 2020-06-09T21:14:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T19:41:42.000Z (over 5 years ago)
- Last Synced: 2025-03-15T00:09:49.132Z (11 months ago)
- Topics: example, examples, hal, libopencm3, otterpill, stm32f0
- Language: C
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OtterPill examples
This repository hosts some examples code for the OtterPill.
The examples include using CMake instead of make, examples with the [HAL drivers](https://github.com/STMicroelectronics/STM32CubeF0) and [libopencm3](https://github.com/libopencm3/libopencm3).
# Requirements
You need to have the GCC arm-none-eabi toolchain somewhere in your `PATH` or clang with a custom CMake toolchain file.
Don't forget to initialize the Git submodules.
# Compilation
Launch the setup script, it will create a new build directory and setup all the CMake stuff, cd into it and execute `make`.
# Flash
Using DFU, you can either flash the `.bin` files with `dfu-util` or you can use the corresponding `make` target.
Don't forget to put the OtterPill DFU mode.