STM32 "for the rest of us"

FYI to anyone using any of my Maple Mini examples:

Most standard libraries used for Arduino will not work unmodified on the STM32 platform. Therefore, rather than modifying them and renaming and adding them to the libraries in the user Arduino\libraries path, I simply keep the edited libraries in my sketch folder.

Therefore, depending on your OS you may need to change some things in my code!

Are you on Windows, Win7 or higher?
#include can be written as
#include "./filename.h" OR #include ".\filename.h" but under Linux/iOS you most likely can use only "./filename.h"

Anyway - if you have issues with my syntax, just remove the dot-slash and specify the filename as
#include "filename.h"
and see If that works for you. I can assure you that all of my examples compile, if they do not for you, the mostly fix is to double-check simple configuration;

  • I will have compiled for Maple Mini Rev2
  • I use the 64-bit version of Windows 8.1 Pro on an Intel box with 4 Gig RAM
  • I run as system Administor
  • I run in "Test Mode"
  • I will have compiled using Arduino 1.6.1 or 1.6.2 nightly build
  • I may be using Roger's latest core or I may be behind by a week (or 2)
  • I often write code while enjoying a cold beer, or two. I am retired and do this for fun but I am not a professional programmer; rather i am an electronic engineer and I have been caught numerous times taking all manner of shortcuts.

I will try to check here once per day... but no promises. Everything to do with STM32 is sub-beta, consider it alpha.

Ray