altos: add GCC/SDCC compat macros, init_stack, save_context and GCC stdio hooks
authorKeith Packard <keithp@keithp.com>
Fri, 26 Aug 2011 05:04:36 +0000 (22:04 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 26 Aug 2011 05:04:36 +0000 (22:04 -0700)
commite9fab7dc99a0e7c22b511c5919adf7df85213252
treee450bafdc33a19e87e7420b442ebf7a44fe40687
parenta588092a7d76dab92e4ab11e0fdb457d2ddc9025
altos: add GCC/SDCC compat macros, init_stack, save_context and GCC stdio hooks

More arch-indepdency bits.

GCC stdio is different from SDCC, so create suitable code in
avr/ao_avr_stdio.c

Create macros to initialize the task stack frame and save the task
context.

Add GCC/SDCC type definition compatibility macros

Signed-off-by: Keith Packard <keithp@keithp.com>
16 files changed:
src/avr-demo/Makefile [new file with mode: 0644]
src/avr/ao_arch.h
src/avr/ao_avr_stdio.c [new file with mode: 0644]
src/avr/ao_pins.h [new file with mode: 0644]
src/cc1111/ao_arch.h
src/cc1111/ao_pins.h [new file with mode: 0644]
src/core/ao.h
src/core/ao_panic.c
src/core/ao_pins.h [deleted file]
src/core/ao_task.c
src/product/Makefile.telebt
src/product/Makefile.teledongle
src/product/Makefile.telemetrum
src/product/Makefile.telemini
src/product/Makefile.telenano
src/tidongle/Makefile