Hello AmForth'ers,
A quick update on my efforts with AmForth RISC-V.
I've put the amended source distribution here[0]. I have added some
history in case anybody not on the mailing list wanders across the page
by chance.
The zip file contains RISC-V related source code, a pre-built hex file
A risc-v update.
Some progress made, but mostly tools for my education. Details can be
found here [0] Perhaps the most important decision has been to find an
additional hardware target for 2024, the esp32-c3 [1]
Best wishes,
Tristan
[0] https://tjnw.co.uk/amforth-rv
[1] https://www.espressif
A risc-v update.
I managed to get AmForth RISC-V running on the CH32V307 [1] made by
WCH [2] using a "CH32V307V-EVT-R1 CH32V307 Evaluation Board RISC-V MCU"
[3].
It still is experimental and still has the issue that upon reset all
words from the ram-wordlist are erased [5]. There are no words
A risc-v update.
AmForth-RV update
Good progress made with the CH32V307 [0]
Words defined in the RAM dictionary can now be appended to the FLASH
dictionary so user defined words (individual words or the entire RAM
dictionary) are able to survive a reset. This was one of my major
milestones and
A risc-v update.
Getting there [0]
It can run ISRs written in both (almost pure) Forth and C [1]. There is
has an evolving transpiler from Forth to ITC speak and the save and see
words are now more robust. Some toolchain and building documentation has
been added [2], and the beginnings of a c
A RISC-V update.
AmForth-RV is now self-supporting (no C libraries required) for the
WCH CH32V307. Source and a pre-built hex file are here [0]
Best wishes,
Tristan
[0] https://tjnw.co.uk/amforth-rv
___
Amforth-devel mailing list for http://amforth
Thoughts/fixes very much welcomed. Currently struggling with USB.
Best wishes,
Tristan
On 2024-04-13 18:25, Martin Nicholas via Amforth-devel wrote:
Thanks for your work. I've just ordered a development board.
M.
On Sat, 13 Apr 2024 17:08:53 +0100
h...@tjnw.co.uk wrote:
A RISC-V update.
A RISC-V update - USB
AmForth-RV now has a USB operator prompt. I've put a small video of it
working on YouTube (link below).
https://www.youtube.com/watch?v=JRXCS4dm84U
Best wishes,
Tristan
___
Amforth-devel mailing list for http://amforth.sf.net/
A risc-v update for CH32V307
AmForth-RV can now compile to flash directly rather than saving a word
already compiled in ram as before. This is better and much more like the
approach taken by the AVR code base. However, it does need an mcu that
is able to do this. The flag field in the dictiona