• I have one of these boards:
    http://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:

    • 2.4" LCD (optional)
    • Ethernet through ENC28J60
    • RTC
    • MicroSD socket
    • SPI Flash EPROM
    • RS232 port
    • JTAG connector

    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

  • 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 :)

  • I'm very impressed with the new TI Tiva-C Launchpad at $19.99
    https://estore.ti.com/tiva-connected-launchpad.aspx
    TM4C1294NCPDT MCU: 120MHz 32-bit ARM Cortex-M4 CPU with floating point
    1MB Flash, 256KB SRAM, 6KB EEPROM
    Integrated 10/100 Ethernet MAC+PHY
    8x 32-bit timers
    dual 12-bit 2MSPS ADCs
    motion control PWMs
    USB H/D/O, and many additional serial communication interfaces

  • 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.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Support for new board - STM32 Maple Compatible - Spruce

Posted by Avatar for mikewop @mikewop

Actions