My name is Raaj, and I’ve just started using the spark.io core. I was hoping there might be instructions online that show one how to flash and program the core via USB rather than over the cloud.
Basically, messing with the STM libraries, building a binary and uploading it. I’ve worked with the STM32F4 before. Can I know if there is a nice instruction list out there?
When you go to install the GCC ARM Package, you’ll specifically want this one. Then follow this GIST to get it installed. You’ve already got make as part of OS X (assuming you’ve got Xcode installed, if not it’s available on the App Store for free). Then you’ll want to install Homebrew and use it to install dfu-util. After that just clone the three repositories outlined in the above instructions and you should be set!
@timb i was following the conversation on arm-c development here which was PC focused. i have managed to copy the master repos over and flash the spark fine. but taking it further eg pulling branch repos from the Elite and building those / writing my own then seems i am a piece of the jigsaw puzzle missing. i see mention of Eclipse / CodeSourcery etc elsewhere - assume this is where they would come into the workflow ? EDIT - if not clear, trying to do this under OSX Mavericks.
(Given how quickly the firmware builds, there's really no reason not to do a clean, as that prevents a large class of problems from popping up and wasting peoples' time.)
Edit: Note that the article is PINNED, under Getting Started.
What an amazing first experience. Got it to flash locally via USB under 15 mins and got code running and writing stuff to a server. People on the forum respond so fast too so i managed to get it working. What an amazing easy to use platform!