mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-01-11 18:33:16 +01:00
Make atomthreads link with SDCC
This commit is contained in:
@@ -21,7 +21,10 @@ _archContextSwitch::
|
||||
|
||||
; restore context
|
||||
ldw x, (5, sp)
|
||||
jra restore
|
||||
ldw x, (x)
|
||||
ldw sp, x
|
||||
|
||||
ret
|
||||
|
||||
; void archFirstThreadRestore (ATOM_TCB *new_tcb_ptr)
|
||||
_archFirstThreadRestore::
|
||||
|
||||
@@ -44,8 +44,8 @@ vpath %.hex .\$(BUILD_DIR)
|
||||
# Compiler/Assembler flags
|
||||
CFLAGS= -mstm8 -c -D $(PART) --opt-code-size --max-allocs-per-node 3000
|
||||
DBG_CFLAGS= -mstm8 -c -D $(PART) --opt-code-size --max-allocs-per-node 3000
|
||||
ASMFLAGS= -off
|
||||
DBG_ASMFLAGS= -off
|
||||
ASMFLAGS= -loff
|
||||
DBG_ASMFLAGS= -loff
|
||||
LINKFLAGS= -mstm8
|
||||
DBG_LINKFLAGS= -mstm8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user