Support for new board - STM32 Maple Compatible - Spruce #3681
Replies: 3 comments
-
Posted at 2014-03-06 by @gfwilliams That sounds like just the right approach. As it's the STM32F103VET6 you might be best off starting with this board: http://www.espruino.com/ReferenceHYSTM32_24 Sadly the LCD driver (lcd_fsmc.c) still has loads of stuff hard-coded so you'll probably have to add some more #ifdefs to get your board to work properly. Ethernet would be great - I've just updated the code so that it's a lot easier to support different devices. ENC28J60 support would be fantastic - I've got a few of those kicking around here, although they don't implement TCP/IP so they'd require an IP stack be compiled in. By the way, Espruino uses the STM32's RTC already - but it doesn't use the external 32kHz oscillator (only the dodgy internal one). If you get that working I'd really appreciate a pull request - as I've left unpopulated pads on the Espruino board :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-17 by bob_dvb I'm very impressed with the new TI Tiva-C Launchpad at $19.99 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-17 by @gfwilliams You're welcome to port Espruino over... However porting to a different manufacturer's CPU will prove difficult as all the peripherals will be different. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-03-06 by mikewop
I have one of these boards:
www.ebay.com/itm/Spruce-STM32-Arduino-Maple-Compatible-Board-Without-LCD-/201006487188
http://www.ebay.com/itm/Spruce-STM32-Arduino-Compatible-Board-With-LCD-/110934072470
It is compatible with Maple/Olimexino, but has the bigger CPU:
STM32F103VET6, TQFP 100 pins FLASH 512K BYTES, SRAM:64KBYTES
It also has:
So it looks like a great platform for Espruino with enough "headroom" in the flash.
I am looking to get Espruino running on this board, I assume I can just modify the makefile and add a new Python .py file to the https://github.com/espruino/Espruino/tree/master/boards folder (based on the Maple and or the HYSTM32_24 boards) to at least get Espruino loaded and possibly also LCD support?
Later on hopefully also support Ethernet.
Are there any other things to look out for/gotchas or does this sound like the right approach?
Thanks,
Mike
Beta Was this translation helpful? Give feedback.
All reactions