From 96049b7e5c2475f44f49fb1a25a8b06eba9fc231 Mon Sep 17 00:00:00 2001 From: "qiuyiuestc@gmail.com" Date: Wed, 28 Sep 2011 02:10:43 +0000 Subject: add module support for cortex-m3 feature git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1731 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- examples/module/rtconfig.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 examples/module/rtconfig.py (limited to 'examples/module/rtconfig.py') diff --git a/examples/module/rtconfig.py b/examples/module/rtconfig.py new file mode 100644 index 0000000000..00163c4e85 --- /dev/null +++ b/examples/module/rtconfig.py @@ -0,0 +1,23 @@ +# bsp name +BSP = 'mini2440' + +# toolchains +EXEC_PATH = 'C:/Program Files/CodeSourcery/Sourcery G++ Lite/bin' +PREFIX = 'arm-none-eabi-' +CC = PREFIX + 'gcc' +CXX = PREFIX + 'g++' +AS = PREFIX + 'gcc' +AR = PREFIX + 'ar' +LINK = PREFIX + 'gcc' +TARGET_EXT = 'so' +SIZE = PREFIX + 'size' +OBJDUMP = PREFIX + 'objdump' +OBJCPY = PREFIX + 'objcopy' + +DEVICE = ' -mcpu=arm920t' +CFLAGS = DEVICE + ' -O0 -fPIC -DFTK_AS_PLUGIN -DRT_THREAD ' +AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' +LFLAGS = DEVICE + ' -Wl,-z,max-page-size=0x4 -shared -fPIC -nostdlib -s' + +CPATH = '' +LPATH = '' -- cgit v1.3.1