Last visit was: Sun Jan 23, 2022 6:56 am
It is currently Sun Jan 23, 2022 6:56 am



 [ 4 posts ] 
 Forth for Raspberry Pi Pico 
Author Message

Joined: Mon Aug 14, 2017 8:23 am
Posts: 157
Matthias Koch has released Mecrisp Forth for the Raspberry Pi Pico - Stellaris 2.5.6

You can download it from here:

https://sourceforge.net/projects/mecrisp/files


Fri Feb 26, 2021 10:59 am

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1666
Thanks! It's an oddity that Matthias is sticking with the Stellaris name, when things have broadened out significantly. It makes discovery a bit harder.


Fri Feb 26, 2021 11:37 am

Joined: Mon Aug 14, 2017 8:23 am
Posts: 157
Yes, Stellaris was appropriate a few years ago when first ported to the TI Stellaris ARM Cortex M boards, - prior to that it had been MSP430.

But, as is the nature of ARM devices, for a given core, you are dealing with a common instruction set, and the assembler and compiler tools appear to be virtually universal these days, that moving the Forth from one manufacturers device to another manufacturer seems to be relatively straightforward.

That said, the manufacturers peripherals vary considerably (notably the PIOs on the RP2040) and so the bulk of the effort in porting, will be to identify the specific peripherals and write driver code for them.

The same could be said for porting "Arduino" across a huge range of manufacturer's devices

Regarding Forth, there is also Mecrisp-Quintus, which is a complete rewrite of Stellaris for the RISC V architecture, and Mecrisp ICE which runs on a Lattice ICE 40 FPGA.

Full details here: http://mecrisp.sourceforge.net/

Incidently, Terry Porter has written a very comprehensive "unofficial" documentation for Mecrisp Stellaris, and I see that Terry has been named as assisting Matthias with the latest Stellaris port to the RP Pico.

https://mecrisp-stellaris-folkdoc.sourceforge.io/


Fri Feb 26, 2021 12:03 pm

Joined: Mon Mar 08, 2021 6:36 am
Posts: 2
monsonite wrote:

Incidentally, Terry Porter has written a very comprehensive "unofficial" documentation for Mecrisp Stellaris, and I see that Terry has been named as assisting Matthias with the latest Stellaris port to the RP Pico.

https://mecrisp-stellaris-folkdoc.sourceforge.io/


I only supplied the SVD to equates file for the MCU (after rewriting the transform recipe to suit the XML that RPI use, which is very different to what STMicro use), Matthias and Jan Bramkamp did all the hard work porting Mecrisp-Stellaris to the RP2040.

Terry

p.s. I'm a retired electronics technician, not a real programmer and not being a real programmer means I can enjoy writing documentation ;-)


Mon Mar 08, 2021 6:47 am
 [ 4 posts ] 

Who is online

Users browsing this forum: CCBot and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software