I think this may have come up before... Basically: yes, it is possible, but nobody has done it yet.
Getting Espruino running on the STM32F2 should be pretty easy since Espruino already runs pretty well on the STM32F1, 3 and 4, but it depends a lot on the rest of the device.
For instance, I'm pretty sure the chip in Photon uses the WICED SDK from Broadcom, which is basically a complete RTOS. It means that if you want to use WiFi then you can't use any of Espruino's STM32-related code because you're meant to go through the RTOS. You're basically starting from scratch for the hardware port and it's about as easy to port to that as it would be to port to any other chip.
The Electron may use an AT-command firmware on the UBlox module though, in which case it's a hell of a lot easier.
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.
Hi Ralf,
I think this may have come up before... Basically: yes, it is possible, but nobody has done it yet.
Getting Espruino running on the STM32F2 should be pretty easy since Espruino already runs pretty well on the STM32F1, 3 and 4, but it depends a lot on the rest of the device.
For instance, I'm pretty sure the chip in Photon uses the WICED SDK from Broadcom, which is basically a complete RTOS. It means that if you want to use WiFi then you can't use any of Espruino's STM32-related code because you're meant to go through the RTOS. You're basically starting from scratch for the hardware port and it's about as easy to port to that as it would be to port to any other chip.
The Electron may use an AT-command firmware on the UBlox module though, in which case it's a hell of a lot easier.