-
Notifications
You must be signed in to change notification settings - Fork 66
Home
This Wiki provides information on the following topics:
- STM8 eForth Programming with how-tos and documentation (e.g. interrupts, start-up code)
- STM8S Value Line Gadgets documents supported boards
- general STM8 Programming with infos about using SDCC (e.g. C, the assembler, and the simulator uCsim)
The GitHub project is accompanied by a project on hackaday.io where the project, and use cases, can be discussed with the maker community.
TG9541/STM8EF is an extended and highly optimized version of Dr. C.H.Ting's eForth for the STM8S Discovery. It aims to be a very lightweight "untethered" Forth for low-end STM8 µCs with a maximum "feature-to-binary-size" ratio. With the kind permission of the original author TG9541/STM8EF has a permissive Open Source license.
Carefully designed embedded control features (e.g. background task, RAM and Flash operation), and a framework approach, turn STM8 eForth into a powerful tool for very low-cost STM8S Low Density devices (for example, see W1209 data logging thermostat). Configurations for STM8S Medium Density, and High Density devices, as well as some STM8L Low Density devices, are also supported.
This project has the following goals:
- provide an easy to use Forth kit for STM8 µCs,
- engage with the Forth community on core, development environment, libraries, and applications,
- provide board support for [common low-cost Chinese control boards][WG1], and
- maximize the product features * free space even for Low-End STM8 controllers (for fun and profit)
Some open-source µC Forth implementations have a richer feature set, or a bigger community (good examples are e.g. AmForth for AVR8 and MSP430, noForth for MSP430, Mecrisp for MSP430, or Mecrisp-Stellaris for Cortex-M). STM8 eForth, however, has found its place thanks to valuable contributions by experienced members of the Forth community. Thanks a lot :-)
eForth is a well documented implementation of a basic Forth by Bill Muench and Dr. C.H. Ting. eForth is based on a set of about 30 Forth core words written in assembly or in C. Higher level words, e.g. for interpreter and compiler, are coded in Forth. eForth was designed with portability in mind and implementations for many µCs and µPs exist.
Forth, the programming language that does things differently, is the work of Charles H. Moore and others.
There are many on-line Forth resources. Some of the most notable are:
- Leo Brodie's books Starting Forth, and Thinking Forth
- scans of the magazine Forth Dimensions (indexed)
- some issues of Forthwrite, the FIG UK Magazine
- publications by the German Forth-Gesellschaft e.V. (mostly German, some in English).