diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-10-04 17:12:33 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-10-04 17:12:53 +1000 |
commit | bbc7b6e039d179c92fe53a6ad522131e64412432 (patch) | |
tree | 807640879bc2dc873f52a2a82aecffb9261ec872 /boards/base/Olimex-SAM7EX256-GE8/example | |
parent | e6882aa5f4382e25535e0e78ac5f5d18e581eb1b (diff) | |
download | uGFX-bbc7b6e039d179c92fe53a6ad522131e64412432.tar.gz uGFX-bbc7b6e039d179c92fe53a6ad522131e64412432.tar.bz2 uGFX-bbc7b6e039d179c92fe53a6ad522131e64412432.zip |
Update to makefiles to support ChibiOS v3, making ARM thumb targets, CPU specific flags etc
Also put license in the gmake master scripts.
Diffstat (limited to 'boards/base/Olimex-SAM7EX256-GE8/example')
-rw-r--r-- | boards/base/Olimex-SAM7EX256-GE8/example/Makefile | 14 | ||||
-rw-r--r-- | boards/base/Olimex-SAM7EX256-GE8/example/readme.txt | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/boards/base/Olimex-SAM7EX256-GE8/example/Makefile b/boards/base/Olimex-SAM7EX256-GE8/example/Makefile index aa11abad..9130ed5a 100644 --- a/boards/base/Olimex-SAM7EX256-GE8/example/Makefile +++ b/boards/base/Olimex-SAM7EX256-GE8/example/Makefile @@ -14,6 +14,8 @@ OPT_NONSTANDARD_FLAGS = no OPT_NATIVEOS = chibios OPT_OS = chibios + OPT_THUMB = no + OPT_CPU = at91sam7 # uGFX settings # See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables @@ -30,9 +32,7 @@ ifeq ($(OPT_OS),chibios) CHIBIOS_PLATFORM = AT91SAM7 CHIBIOS_PORT = GCC/ARM/AT91SAM7 CHIBIOS_DEFS = - #CHIBIOS_LDSCRIPT = $(PORTLD)/AT91SAM7X256.ld - # We define a non standard linker script here just to give us some more stack space - CHIBIOS_LDSCRIPT = linker.ld + CHIBIOS_LDSCRIPT = AT91SAM7X256.ld endif ############################################################################################## @@ -41,18 +41,20 @@ endif ARCH = arm-none-eabi- SRCFLAGS = -ggdb -O0 -SRCFLAGS+= -mcpu=arm7tdmi -mabi=apcs-gnu -mno-thumb-interwork CFLAGS = CXXFLAGS = -fno-rtti ASFLAGS = -LDFLAGS = -mcpu=arm7tdmi +LDFLAGS = SRC = +OBJS = DEFS = LIBS = INCPATH = LIBPATH = -LDSCRIPT = + +# We override the standard ChibiOS linker script here just to give us some more stack space +LDSCRIPT = linker.ld ############################################################################################## # These should be at the end diff --git a/boards/base/Olimex-SAM7EX256-GE8/example/readme.txt b/boards/base/Olimex-SAM7EX256-GE8/example/readme.txt index a357dc52..7d0909fd 100644 --- a/boards/base/Olimex-SAM7EX256-GE8/example/readme.txt +++ b/boards/base/Olimex-SAM7EX256-GE8/example/readme.txt @@ -1,3 +1 @@ Copy these files into your own project directory and alter them to suite. - -In particular look at the MYFILES definition and the MYCSRC definition.
\ No newline at end of file |