diff options
| author | [email protected] <[email protected]> | 2011-09-28 02:10:43 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-09-28 02:10:43 +0000 |
| commit | 96049b7e5c2475f44f49fb1a25a8b06eba9fc231 (patch) | |
| tree | 645f06cc41b20a56d0113434058354153aeafb6a /examples/module/rtconfig.py | |
| parent | 9bb329daee2f842a724d3cdede9413a839e5069c (diff) | |
add module support for cortex-m3 feature
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1731 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/module/rtconfig.py')
| -rw-r--r-- | examples/module/rtconfig.py | 23 |
1 files changed, 23 insertions, 0 deletions
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 = ''
|
