From 269c29cd9b0148e139dc29fbf6a8d5d28f81c0de Mon Sep 17 00:00:00 2001 From: oremeq Date: Fri, 19 May 2006 18:54:54 +0000 Subject: [PATCH] Add some files of the CANopen graphic terminal project. --- examples/ecos_lpc2138_sja1000/README | 10 ++++++++++ examples/ecos_lpc2138_sja1000/src/Makefile.in | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100755 examples/ecos_lpc2138_sja1000/README create mode 100644 examples/ecos_lpc2138_sja1000/src/Makefile.in diff --git a/examples/ecos_lpc2138_sja1000/README b/examples/ecos_lpc2138_sja1000/README new file mode 100755 index 0000000..ea335a9 --- /dev/null +++ b/examples/ecos_lpc2138_sja1000/README @@ -0,0 +1,10 @@ + ____ ____ ______ __ ___ ______ ____ + / __ \ / __ \ / ____/ / |/ / / ____/ / __ \ + / / / / / /_/ / / __/ / /|_/ / / __/ / / / / + / /_/ / / _, _/ / /___ / / / / / /___ / /_/ / + \____/ /_/ |_| /_____/ /_/ /_/ /_____/ \___\_\ + +Observatoire de Recherche Environnementale sur l'ElectroMagnetisme du Quebec + +Video Register Address: 0x00000..0x1FFFF +Video Memory Address: 0x20000..0x3FFFF diff --git a/examples/ecos_lpc2138_sja1000/src/Makefile.in b/examples/ecos_lpc2138_sja1000/src/Makefile.in new file mode 100644 index 0000000..b330b8d --- /dev/null +++ b/examples/ecos_lpc2138_sja1000/src/Makefile.in @@ -0,0 +1,19 @@ +export PREFIX := /usr/local/ecos/2138_install +export COMMAND_PREFIX := arm-elf- +export CC := $(COMMAND_PREFIX)gcc +export OBJCOPY := $(COMMAND_PREFIX)objcopy + +ECOS_GLOBAL_CFLAGS=-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Os -ffunction-sections -fdata-sections -fno-exceptions -finline-functions +ECOS_GLOBAL_LDFLAGS=-mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -nostdlib + +all: + +lpc2138.o : lpc2138.c lpc2138.h types.h +s1d13706.o : s1d13706.c lpc2138.h types.h +sja1000.o : sja1000.c lpc2138.h types.h + +.c.o: + $(CC) -g -c $(ECOS_GLOBAL_CFLAGS) -I$(PREFIX)/include -I$(PREFIX)/lib/driver $*.c + +clean: + rm -f *.hex *.elf *.o *~ -- 2.39.2