mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 13:49:22 +08:00
10ec208306
1. Upgrade EFM32 driver libraries (CMSIS and efm32lib): version 2.3.0 -> 2.3.2 2. Upgrade EFM32GG_DK3750 development kit driver library: version 1.2.1 -> 1.2.2 3. Upgrade EFM32_Gxxx_DK development kit driver library: version 1.7.2 -> 1.7.3 4. Add LCD driver (SSD2119) and DEMO 5. Change SPI write format 6. Modify SD card driver due to SPI write format changed 7. Modify building scripts git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1883 bbd45198-f89e-11dd-88c7-29a3b14d5316
20 lines
771 B
Python
20 lines
771 B
Python
import rtconfig
|
|
Import('RTT_ROOT')
|
|
from building import *
|
|
|
|
src_bsp = ['application.c', 'startup.c', 'board.c']
|
|
if rtconfig.PLATFORM == 'gcc':
|
|
src_bsp.append('start_gcc.S')
|
|
src_drv1 = ['drv_dma.c', 'drv_rtc.c', 'drv_adc.c', 'drv_acmp.c', 'drv_usart.c', 'drv_leuart.c', 'drv_iic.c', 'drv_timer.c']
|
|
src_drv2 = ['drv_sdcard.c', 'drv_ethernet.c']
|
|
src_dev = ['dev_misc.c', 'dev_led.c', 'dev_accel.c', 'dev_sflash.c', 'dev_lcd.c']
|
|
src_hdl = ['hdl_interrupt.c']
|
|
src_app = ['httpd.c']
|
|
|
|
src = src_bsp + src_drv1 + src_drv2 + src_dev + src_hdl + src_app
|
|
CPPPATH = [RTT_ROOT + '/bsp/efm32']
|
|
CPPDEFINES = [rtconfig.EFM32_BOARD, rtconfig.EFM32_TYPE]
|
|
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
|
|
|
Return('group')
|