From 7531908ecb0e2b97e912ef9d779abe37a95632d7 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 5 Feb 2011 14:50:44 -0800 Subject: Having the main demo using acorn. --- Makefile | 2 ++ demo.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index b1294f8..d0580c0 100644 --- a/Makefile +++ b/Makefile @@ -83,4 +83,6 @@ include FreeRTOS/config.mk include arch/config.mk include os/config.mk include libc/config.mk +include libm/config.mk +include acorn/config.mk include target-rules.mk diff --git a/demo.c b/demo.c index d106f63..79e253c 100644 --- a/demo.c +++ b/demo.c @@ -8,6 +8,7 @@ #include #include #include +#include #define LED1_wire 18 #define LED2_wire 20 @@ -67,6 +68,7 @@ static const char msg[] = "Hello world - from fwrite!\r\n"; extern uint8_t _binary_test_romfs_bin_start[]; int main() { + init_malloc_wrapper(); FILE * f1, * f2, * f3; char buf[32]; int c; -- cgit v1.2.3