Retro computer with 10 x 4 keyboard and 20x4 I2C LCD for DIY experiments (for example, retro stuff with BASIC programming language).
C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
basic_src
docs
hal_src
host_src
kbd_test_app
lcd_src
lcd_test_app
stmbasic_app
LICENSE
README.md
get_libopencm3.sh

README.md

Retro computer with BASIC interpreter (GCC/libopencm3 toolchain version)

Based on https://github.com/robinhedwards/ArduinoBASIC Arduino-BASIC

  • MCU: STM32F103C8T6 (72 MHz, 20 KB RAM, 64 KB Flash)
  • 10 x 4 keyboard
  • 20x4 LCD Alphanumeric Display with I2C interface

"Pre-alpha" proto:

alt Pre-alpha proto

Setting environment (for Debian based host)

  • Get ARM Toolchain:

sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi gdb-arm-none-eabi

  • Get OpenOCD:

apt-get install openocd

  • Clone this Stm32Basic repository, get libopencm3 library and build keyboard test:

cd Stm32Basic

./get_libopencm3.sh

  • Add -lm in to user libraries (libopencm3.rules.mk)

LDLIB += .... -lm

  • Build keyboard test

cd kbd_test_app

make V=1

UNDER CONSTRUCTION

Practical stuff

openocd -f ./interface/stlink-v2.cfg -f ./target/stm32f1x.cfg