Compiling 583 Forth programs on a 'Blue Pill' in 23 seconds!

preview_player
Показать описание
Firstly, what are you looking at exactly ?

The video shows a serial terminal program running on a PC. It is communicating with a ARM Cortex-M Microprocessor via a serial communications link running at nearly half a megabit a second.

Here, 583 separate programs across 2000 lines of Forth source code are being uploaded into a STM32F103 Micro Processor Unit running the Mecrisp-Stellaris Forth operating system. This is the same MCU used in the "Blue Pill" and various cheap boards.

As each program is uploaded it is compiled into Machine Code on the actual MCU and so on.

This video is in real time to show the actual speed of all the operations and the text should be large enough for you to read by pausing the video.

This source code is the actual source used to build and clone the STM32F103 Forth devkernel in previous videos.

At the end of the upload some of the uploaded programs (called "Words" in Forth) are demonstrated.

Note that this Image contains every single STM32F103 Peripheral and Register, and can print out their binary contents in real time. All names are CMSIS-SVD compliant.

During typical Forth program development only ONE short program is uploaded at a time to be tested/debugged, not 583 as shown here, they were just for this demo.

See this link for more Forth info:
Рекомендации по теме
Комментарии
Автор

How is it that forth has been under the radar for so long?

pkplexing