Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:libmaple [2015/03/18 15:36] – darron | tools:libmaple [2015/03/22 21:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== libmaple ==== | ==== libmaple ==== | ||
- | libmaple is a firmware library for the Leaflabs maple and maple mini and clones with STM32 CPUs. | + | libmaple is a firmware library for the Leaflabs |
- | The firmware library | + | The firmware library |
- | === Build === | + | === Download |
+ | Here we fetch the source to the maple libraries. | ||
< | < | ||
mkdir -p / | mkdir -p / | ||
Line 11: | Line 12: | ||
git clone https:// | git clone https:// | ||
cd libmaple | cd libmaple | ||
- | cp main.cpp.example main.cpp | ||
- | make CROSS_COMPILE=/ | ||
</ | </ | ||
=== Help === | === Help === | ||
+ | The help function of the make file gives us some clues about how to create our own projects with it. | ||
< | < | ||
- | make CROSS_COMPILE=/ | + | make CROSS_COMPILE=/ |
Basic usage (BOARD defaults to maple): | Basic usage (BOARD defaults to maple): | ||
Line 50: | Line 49: | ||
=== List boards === | === List boards === | ||
+ | |||
+ | This function didn't list the boards correctly for me, so this is a sanitised listing. | ||
< | < | ||
- | make CROSS_COMPILE=/ | + | make CROSS_COMPILE=/ |
cm900 | cm900 | ||
| | ||
Line 63: | Line 64: | ||
| | ||
</ | </ | ||
+ | |||
+ | === Demo === | ||
+ | |||
+ | This is the standard LED demo for the [[: | ||
+ | < | ||
+ | cp examples/ | ||
+ | make CROSS_COMPILE=/ | ||
+ | </ | ||
+ | |||
+ |