From ba550c8df73faf70a5c531530fd4e3b9ec2be53a Mon Sep 17 00:00:00 2001 From: Philipp Klaus Krause Date: Thu, 16 Jun 2016 21:21:06 +0200 Subject: [PATCH] Make atomthreads run with SDCC --- ports/stm8/README-SDCC | 18 ++++++++++++++++++ ports/stm8/atomport-asm-sdcc.s | 2 ++ 2 files changed, 20 insertions(+) diff --git a/ports/stm8/README-SDCC b/ports/stm8/README-SDCC index e69de29..54c29ac 100644 --- a/ports/stm8/README-SDCC +++ b/ports/stm8/README-SDCC @@ -0,0 +1,18 @@ +--------------------------------------------------------------------------- + +STM8 PORT - SMALL DEVICE C COMPILER + +--------------------------------------------------------------------------- + +PREREQUISITES + + * SDCC + * Programming software (e.g. stm8flash) + +--------------------------------------------------------------------------- + +BUILD VIA MAKEFILE + + * make -f sdcc.mak + + diff --git a/ports/stm8/atomport-asm-sdcc.s b/ports/stm8/atomport-asm-sdcc.s index f9ac162..62bb9fa 100644 --- a/ports/stm8/atomport-asm-sdcc.s +++ b/ports/stm8/atomport-asm-sdcc.s @@ -1,3 +1,5 @@ +.area CODE + ; uint8_t get_cc(void); _get_cc:: push cc