Project

General

Profile

Forth on STM32F1

Added by Rolf 5 months ago

On the "blue pill" with Mecrisp, trying to load "!s io.fs" produced the error message "h.4 note found". OK that could be circumvented by writing my own "h.4" word. But then, with "!s spi.fs", error: "[ifndef] not found". Obviously I'm missing something very basic. On the Jeenode Zero I load "always.fs", "board.fs" and "core.fs" to get things working. Is there some similar runtime library for the STM32F1? I looked around but could not find it.


Replies (3)

RE: Forth on STM32F1 - Added by jcw 5 months ago

Yes - there are two variants: flib/g6s for a serial-port setup (use always+board+core), and flib/g6u for a USB console (use board+core, the USB driver acts as the always.fs, and redefines eraseflash to protect itself).

RE: Forth on STM32F1 - Added by jcw 5 months ago

FWIW, I've started documenting some boards at http://embello.jeelabs.org/hardware/.
This documentation lives in the docs/ area of the embello repository on GitHub.
Pull requests to add more F103 boards and more details are welcome.

RE: Forth on STM32F1 - Added by Rolf 5 months ago

Thanks a lot!

    (1-3/3)