Skip to main content
Philipp Krause
Senior II
Oct 26, 2014 5:41 PM UTC
Question

Tutorial/examples: Using sdcc with the STM8/128-EVAL

Posted on October 26, 2014 at 18:41

I wrote a few tutorials for getting started with sdcc and the STM8/128-EVAL.

One shows how to set up I/O and a timer. It uses the 4 red LEDs as a 4-bit counter than increments exactly once per second:

http://www.colecovision.eu/stm8/128-EVAL%20LED.shtml

One shows how to set up the UART, and use it for standard I/O: It writes ''Hello World!'' using printf():

http://www.colecovision.eu/stm8/128-EVAL%20Serial.shtml

With the accurate timer and serial I/O, we can run some benchmarks, such as Dhrystone and Whetstone and have the results reported on a terminal attached via a nullmodem cable:

http://www.colecovision.eu/stm8/128-EVAL%20Dhrystone.shtml

Philipp

    This topic has been closed for replies.