From 326e246b77a9260c17a002863fccb9b9da7748cb Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 11 Jul 2014 19:06:42 +0200 Subject: adding ecos port to makefile --- src/gos/sys_make.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gos') diff --git a/src/gos/sys_make.mk b/src/gos/sys_make.mk index 8ef22121..9e24f875 100644 --- a/src/gos/sys_make.mk +++ b/src/gos/sys_make.mk @@ -4,4 +4,5 @@ GFXSRC += $(GFXLIB)/src/gos/chibios.c \ $(GFXLIB)/src/gos/linux.c \ $(GFXLIB)/src/gos/osx.c \ $(GFXLIB)/src/gos/raw32.c \ + $(GFXLIB)/src/gos/ecos.c -- cgit v1.2.3 From c8342a0d25ee62643a77727624d155e3dc1142de Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 11 Jul 2014 19:07:47 +0200 Subject: eCos: fixing gfxFree() routine --- src/gos/ecos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gos') diff --git a/src/gos/ecos.h b/src/gos/ecos.h index c24f3824..be9037b6 100644 --- a/src/gos/ecos.h +++ b/src/gos/ecos.h @@ -73,7 +73,7 @@ void gfxSleepMilliseconds(delaytime_t ms); void gfxSleepMicroseconds(delaytime_t ms); #define gfxAlloc(sz) malloc(sz) -#define gfxFree(ptr) free(sz) +#define gfxFree(ptr) free(ptr) #define gfxRealloc(ptr, oldsz, newsz) realloc(ptr, newsz) #define gfxSystemLock() cyg_scheduler_lock() -- cgit v1.2.3