summaryrefslogtreecommitdiff
path: root/bsp/efm32/Libraries/SConscript
diff options
context:
space:
mode:
authoronelife.real <[email protected]>2011-02-17 03:33:15 +0000
committeronelife.real <[email protected]>2011-02-17 03:33:15 +0000
commit314bcbd3ea8a79623cf199f665b0631ef3fc530b (patch)
tree516ba8ac07c43c61f928d281b36d6e93f50334e1 /bsp/efm32/Libraries/SConscript
parentd128ba91691534b3e64b6736d4dfbfbe81244055 (diff)
*** EFM32 branch ***
- New branch for Energy Micro's MCUs (http://energymicro.com/). - Target board: FM32 Gecko Starter Kit (http://www.energymicro.com/tools) git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1274 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/efm32/Libraries/SConscript')
-rw-r--r--bsp/efm32/Libraries/SConscript44
1 files changed, 44 insertions, 0 deletions
diff --git a/bsp/efm32/Libraries/SConscript b/bsp/efm32/Libraries/SConscript
new file mode 100644
index 0000000000..e4c24f77e4
--- /dev/null
+++ b/bsp/efm32/Libraries/SConscript
@@ -0,0 +1,44 @@
+import rtconfig
+Import('RTT_ROOT')
+from building import *
+
+# The set of source files associated with this SConscript file.
+src = Split("""
+CMSIS/CM3/CoreSupport/core_cm3.c
+CMSIS/CM3/DeviceSupport/EnergyMicro/EFM32/system_efm32.c
+efm32lib/src/efm32_acmp.c
+efm32lib/src/efm32_adc.c
+efm32lib/src/efm32_aes.c
+efm32lib/src/efm32_assert.c
+efm32lib/src/efm32_cmu.c
+efm32lib/src/efm32_dac.c
+efm32lib/src/efm32_dbg.c
+efm32lib/src/efm32_dma.c
+efm32lib/src/efm32_ebi.c
+efm32lib/src/efm32_emu.c
+efm32lib/src/efm32_gpio.c
+efm32lib/src/efm32_i2c.c
+efm32lib/src/efm32_lcd.c
+efm32lib/src/efm32_letimer.c
+efm32lib/src/efm32_leuart.c
+efm32lib/src/efm32_mpu.c
+efm32lib/src/efm32_msc.c
+efm32lib/src/efm32_pcnt.c
+efm32lib/src/efm32_prs.c
+efm32lib/src/efm32_rmu.c
+efm32lib/src/efm32_rtc.c
+efm32lib/src/efm32_system.c
+efm32lib/src/efm32_timer.c
+efm32lib/src/efm32_usart.c
+efm32lib/src/efm32_vcmp.c
+efm32lib/src/efm32_wdog.c
+""")
+
+path = [RTT_ROOT + '/bsp/efm32/Libraries/efm32lib/inc',
+ RTT_ROOT + '/bsp/efm32/Libraries/CMSIS/CM3/CoreSupport',
+ RTT_ROOT + '/bsp/efm32/Libraries/CMSIS/CM3/DeviceSupport/EnergyMicro/EFM32']
+
+CPPDEFINES = ['USE_STDPERIPH_DRIVER', rtconfig.EFM32_TYPE]
+group = DefineGroup('EFM32_StdPeriph', src, depend = [''], CPPPATH = path)
+
+Return('group')