Skip to content

TG9541/docker-sdcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-sdcc

This repository contains all that's needed for building and testing TG9541/STM8EF:

  • SDCC 3.9.0 #11195 z180/r2k/r3ka/gbz80/tlcs90/ez80_z80/ds400/hc08/s08/stm8/pdk14/pdk15
  • Python 3.6.9
  • telnet for debugging STM8 code with uCsim

The corresponding Docker Hub repository is tg9541/docker-sdcc.

To build it run:

docker build -t docker-sdcc .

To publish it run:

docker tag docker-sdcc <DockerId>/docker-sdcc
docker push <DockerId>/docker-sdcc

The following builds the W1209 binary, runs it in uCsim, compiles the code in W1209/board.fs, and dumps the Flash memory to out/W1209/W1209-forth.ihx:

docker run -ti -v `pwd`:/home docker-sdcc /bin/sh -c "cd /home && make BOARD=W1209 forth"

If you'd like to see it in action check out the STM8 eForth .travis-ci.yml file and the Travis-CI log.