Skip to content

Demo of MPE Forth Lite running on the STM32F072R Discovery board with Sockpuppet.

License

Notifications You must be signed in to change notification settings

rbsexton/mpelite-stm32f0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a port of MPE-Lite for Cortex-M0 to the ST Micro SMT32F072R Discovery board. It makes use of the Sockpuppet layer for interfacing between the board-support layer (supervisor) and the application written in forth.

The supervisor is supplied in binary form, and can be re-compiled from source with GNU GCC for arm. See the supervisor dir for details

How to Install

Applications:

hello : Hello World. No features to speak of, just a prompt.

How to Build with Wine:

  • Start Wine Shell.
  • cd ./xArmCortexLite/CortexLite/mpelite-stm32f0/hello
  • wine /xArmCortexLite.exe include STM32F072.ctl

Flashing images

You'll need some sort of tool for installing images via DFU.

For Linux and Mac, you can use dfu-util.

  1. Connect the BOOT0 pin to VDD with a jumper and reset the board.
  2. Remove the jumper. The board will stay in DFU mode.
  3. Launch your dfu utility. Example: dfu-util -s 0x8000000 -a 0 -D STM32F072.img
  4. After the board loads the image, press the reset button and connect to it with your terminal emulator.

Communicating with the board

The board supervisor contains a USB CDC driver and acts like a serial port. Connect to it with the terminal emulator of your choice.

Advanced features - Supports run-time installation of system calls.

About

Demo of MPE Forth Lite running on the STM32F072R Discovery board with Sockpuppet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages