Thank you for the warm welcome, Tristan. We'll see how far I'll get with the ARM, if I get stuck I'll join you on the RISC-V quest :).
Cheers, Martin On Sun, Dec 21, 2025 at 5:06 PM <[email protected]> wrote: > Hello Martin, > > Welcome to the list. > > AmForth on the Arduino Uno R4 wifi board would be a wonderful step > forward, > and yes, if and when you are ready to contribute back it will be > gratefully > received :) Like the UNO R3 and the MEGA, it is a board that it is > always > likely to be readily available. > > My ARM and AmForth ARM experience is limited. From a top level look at > the > ARM source, it seems similar to the current SVN repo RISC-V (ISA > excepted) > so you may be getting knowledge of two for a little over the price of > one. > > > I also have some ESP32-C6 which is a RISC-V which I'm also very curious > > about, but I have to focus on one platform at a time :) > > I have made some progress getting AmForth running on some WCH RISC-V > mcu, > and polling RX certainly works well enough to get a Forth prompt. > > I'm sure you have it already, chapter 28 has the register values you > will > need to make something similar to appl/launchpad-arm/words/usart.s > > > https://www.renesas.com/en/document/mah/renesas-ra4m1-group-users-manual-hardware > > When you get the prompt, I think you will have a similar arrangement to > SVN RISC-V; core words in flash, new words defined in ram (so they do > not > survive a reset) and perhaps some memory issues arising from a shared > heritage with the AVR codebase. I mention it now, as I did with the > RISC-V > codebase. > > Which leaves flash for persistence, eeprom (I think the RA4M1 has 8-KB > data > flash memory (100,000 program/erase (P/E) cycles)) and interrupts :) > Lots of > choices to be made. Both AmForth ARM and RISC-V are currently > wonderfully > experimental. > > I Look forward to hearing how you get on. > > Best wishes, > Tristan > > > > On 2025-12-21 13:52, Martin Kobetic wrote: > > Hi, I just want to introduce myself and highlight that I'm trying to > > get > > armforth going on Arduino Uno R4 wifi board. I'm relatively new to > > forth > > and embedded programming in general but I'm learning quickly (and > > having a > > blast). I've got flashforth running on atmega 2560, although that was > > mostly about figuring out some bootloader details. But I wanted to play > > with 32-bit forth and MCUs and amforth looks like a great platform to > > start > > with. > > > > Uno R4 board uses Renesas ARM Cortex M4 (RA4M1), so I copied > > appl/launchpad-arm and started tweaking it. Again the beginnings were > > about > > figuring out bootloader stuff, but now I have amforth finally starting > > properly and currently debugging my tweaked version of delays. Next I > > need > > to get the serial connection going so that I can interact with forth > > and > > then I'll probably spend some time playing with the onboard LED matrix. > > I'd > > be happy to contribute back once I have something worth contributing. > > In > > the meantime you can see my progress at > > https://github.com/mkobetic/amforth/compare/main...unor4. > > > > If there's anyone who's also playing with the ARM stuff or knows what > > state > > it's in, I'd love to get some pointers or collaborate. In the meantime > > I'll > > keep you posted if I get anywhere with this. > > > > Best regards, > > > > Martin > > > > PS: I also have some ESP32-C6 which is a RISC-V which I'm also very > > curious > > about, but I have to focus on one platform at a time :). > > > > _______________________________________________ > > Amforth-devel mailing list for http://amforth.sf.net/ > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/amforth-devel > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > [email protected] > https://lists.sourceforge.net/lists/listinfo/amforth-devel > _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ [email protected] https://lists.sourceforge.net/lists/listinfo/amforth-devel
