REBOL on embedded systems, STM32

I am impressed with REBOL's lack of dependencies and reasonable use of resources. I am curious just how thin we can get the runtime library both with and without TinyC for use on the STM32 ARM Cortex-M MCU. A typical Cortex-M MCU may have between 64 to 2048 kB of internal flash memory and 32 to 1024 kB of RAM.

The Hello World of the embedded world is blinking LED and is called, affectionately, Blinky. It involves an element of timing and the writing of data to an output register (e.g. GPIOx->ODR for STM32).

I would like to try REBOL for this use case.

What would it take to give this a go on an embedded Cortex-M MCU?

Joe Gorse


Thanks for donating the board :slight_smile:

I looked at it, and found I couldn't get it running in a VM... so I had to install the Windows toolchain on the host. Which, I try not to do.

It was interesting to see how Eclipse-like-and-heavy their toolchain is. For such a tiny chip. We might be able to show something here... I have a lot of various commitments, my landlord keeps coming over and wanting to pull up carpet, etc. But I think we can work this in.

1 Like

Yes, the toolchains and SDK's are becoming large and fragile. Eclipse is nice for the new user in a short-term get-up-and-go sense, but it does hurt the general situation by adding yet-another-dependency.

Your landlord sounds like a real demanding character. I'll bet he's one of those guys that would presume that you enjoy what he enjoys, and then invites you to all of his odd, eclectic, and challenging hobby gatherings. Why just tonight I heard there was this swing dance at a local Indian restaurant... =)