Forth cross compiler for tiny microcontrollers
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Forth code running on an ATmega328P device blinking a few LEDs. A simple ISP programmer is attached for in circuit programming.
There haven't been much progress lately. The basics are there, but more features and polish are needed.
I hvae been busy working with the PDP-10 Incompatible Timesharing System:
There's now a very brief user manual:
https://github.com/larsbrinkhoff/xForth/blob/master/doc/manual.md
I've had two people inquiring about using the cross compiler within a week. I guess it's about time I made a proper user interface, and start writing a manual.
Almost done testing on hardware. These devices can display a blinking LED:
I haven't been able to program my SiLabs 8051 using a ToolStick board. If someone can suggest another 8051 which is easy to use, I'm all ears.
Added support for Cortex-M devices using the Thumb instruction set.
The compiler is tested on simulators for all targets, but I'd like to be able to test on real hardware. This is the status so far:
I'd appreciate advice on which hardware to use for testing. It should be easy to program, and there should be a LED or something to indicate a succesful test.
Done with 8051, almost done with PDP-8.
Started with 8051.
Added 6502, more for fun than actual utility.
Create an account to leave a comment. Already have an account? Log In.
Innovation is the beating heart of a community, and Lars belongs to the most important innovators in the contemporary Forth community!
Cool project! I know that @Elliot Williams is coding almost exclusively in forth on microcontrollers these days. Nice to see active development on the compiler tools for it.
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
Thanks!
I think there was a gap among the Forth implementations; most don't cater to the very low end microcontrollers.
There are now close to 800 Forth repositories at GitHub, so I'd say this language isn't dead by far.