Best to use the proper 1v60 release (just made it). The recent one was smaller because I changed the compile flags, but it seemed to make the build unreliable so I've changed it back :(
I'll have to try and do some examples of accessing pins - it's just a matter of accessing an address that's found in the STM32F103 reference manual.
Including C code would be awesome. There's a compiler called TCC which supposedly supports ARM, and which I managed to compile to JavaScript with Emscripten. Sadly the ARM code it generates doesn't seem to run. It might do with some fiddling though - in which case you'd just be able to write inline C :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Best to use the proper 1v60 release (just made it). The recent one was smaller because I changed the compile flags, but it seemed to make the build unreliable so I've changed it back :(
I'll have to try and do some examples of accessing pins - it's just a matter of accessing an address that's found in the STM32F103 reference manual.
Including C code would be awesome. There's a compiler called TCC which supposedly supports ARM, and which I managed to compile to JavaScript with Emscripten. Sadly the ARM code it generates doesn't seem to run. It might do with some fiddling though - in which case you'd just be able to write inline C :)