Mecrisp is an implementation of a standalone native code Forth for MSP430 microcontroller chips. At the moment, it runs out of the box on MSP430F2274, MSP430G2553 and MSP430G2955, MSP430G2855, MSP430G2755 micros. You can choose to compile to flash or to ram, and it generates native code with folding, inlining of short words and it opcodes common instructions. Note that it doesn't need to save any pointers, so info flash keeps untouched. Hopefully it should be completely interrupt-save and you can hook your Forth definitions to interrupt vectors. Of course, you should not hook create to a timer interrupt, unless you want all your memory to be filled with random creatures :-) Altought it is in spirit of ANS, there are some differences: Be careful !
An assembler, disassembler and Ready-to-Fly hex files are included. It fits tightly into 9kb of Flash and runs with 512 Bytes of Ram. Communication is via serial 9600 baud 8N1 over portpins: MSP430F2274, MSP430G2955, MSP430G2855, MSP430G2755 (TX on P3.4, RX on P3.5) MSP430G2553 (TX on P1.2, RX on P1.1)
I am looking forward to find out how Mecrisp can serve you best. Examples are going to come, implementations for other chips of the MSP430 family shouldn't be too far away. Do you have a particular one in mind ? Do you have great code snipplets that show the abilities of Mecrisp well ? Write an E-Mail and you will be in touch !
You can get Mecrisp on its download page.
Mecrisp-Stellaris is the younger sister of Mecrisp and runs on ARM Cortex M chips. This is a big family of microcontrollers with a common processor architecture and very different peripheral capabilities. The first stable release runs on three core flavours: M0, M3 and M4.
Out of the box, you get support for TI Stellaris Launchpad with LM4F120H5QR (M4), STM32F4 Discovery with STM32F407VGT6 (M4), STM32VL Discovery with STM32F100RB (M3) and Freescale Freedom FRDM-KL25Z with KL25Z128VLK4 (M0).