Arduino STM32
Notice
This software is experimental and a work in progress. Under no circumstances should these files be used in relation to any critical system(s). Use of these files is at your own risk.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Summary:
This repo contains the "Hardware" files to support STM32 based boards on Arduino version 1.8.x (some older versions may also work) including LeafLabs Maple, and Maple mini, and other generic STM32F103 boards.
We are also on Gitter https://gitter.im/stm32duino/Lobby/
Background & Support:
- Based on https://github.com/bobc/maple-asp, which is in turn based on LibMaple by Leaflabs
- Please read the wiki (https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki) for full details
- See also my blog: http://www.rogerclark.net/stm32f103-and-maple-maple-mini-with-arduino-1-5-x-ide/
- NEW: Main support site for using STM32 boards with the Arduino IDE: http://www.stm32duino.com/
- Original LeafLabs "Docs:" http://docs.leaflabs.com/docs.leaflabs.com/index.html
Known issues
- Use of static variables inside functions greatly increase the code size becuase additional code is needed for thread-safe handling of these statics. If this is a problem for your application, please edit platform.txt and add -fno-threadsafe-statics the compiler.cpp.flags
Additional Links & Info:
Purchase info:
Entry level boards
- Ebay search for "arduino maple" (currently costs <$5 with shipping)
- AliExpress search for "leaflabs maple"
Bigger boards (You need to load the stm32duino bootloader)
Some suppliers have this board e.g.