summaryrefslogtreecommitdiff
path: root/examples/module/rtconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/module/rtconfig.py')
-rw-r--r--examples/module/rtconfig.py23
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 = ''