cancel
Showing results for 
Search instead for 
Did you mean: 

Mini Basic/Jumentum for STM32

cosmapa
Associate II
Posted on July 27, 2009 at 14:28

Mini Basic/Jumentum for STM32

12 REPLIES 12
cosmapa
Associate II
Posted on May 17, 2011 at 13:16

193K would be too large. I am using a 128K stm32. You may want to take a close look at the Jumentum project.

I have been able to compile the main blocks (not build the full application). Size for the main components are (size optimized):

basic.c 13.8K

editor.c 5.8K

malloc.c 2.1K

lib.c 2.8K

The rest looks like mostly I/O & hardware specif stuff and adds up to ~5K.

The code looks clean and is running on the NXP MCUs. It hurts no to see this already ported to the STM32.

st3
Associate II
Posted on May 17, 2011 at 13:16

Quote:

Have you considered Lua as a scripting language?

www.lua.org

Note that there is an ''eLua'' specifically for embedded systems:

Quote:

eLua stands for Embedded Lua and the project aims to introduce the programming language Lua to the embedded software development world.

Lua is the perfect example of a minimal, yet fully functional language. Although generally advertised as a ''scripting language'' (and used accordingly especially in the game industry), it is also fully capable of running stand-alone programs. Its limited resource requirements make it suitable to a lot of microcontroller families.

The aim of the project is to have a fully functional Lua development environment on the microcontroller itself, without the need to install a specific toolchain on the PC side. Initially, a PC will still be needed in order to edit the Lua programs for the microcontroller. But as the project evolves this requirement will be relaxed, as a basic editor (also residing on the microcontroller) will be usable with a variety of input/output devices.

ARM microcontrollers were chosen for the first implementations given their popularity, availability and small cost.

See:

http://www.eluaproject.net/en/Overview

cosmapa
Associate II
Posted on May 17, 2011 at 13:16

I see there are version for the str7 and str9. I have not seen any information about code size. Does anyone have these values?