rt-thread-official/bsp/apollo2/libraries/drivers/SConscript

37 lines
639 B
Python
Raw Permalink Normal View History

2017-09-15 18:10:51 +08:00
import rtconfig
Import('RTT_ROOT')
from building import *
# get current directory
cwd = GetCurrentDir()
src = Split("""
hal/am_hal_clkgen.c
hal/am_hal_debug.c
hal/am_hal_cachectrl.c
hal/am_hal_pwrctrl.c
2018-09-21 16:10:44 +08:00
hal/am_hal_mcuctrl.c
2017-09-15 18:10:51 +08:00
hal/am_hal_sysctrl.c
hal/am_hal_reset.c
2017-09-15 18:10:51 +08:00
hal/am_hal_stimer.c
hal/am_hal_ctimer.c
hal/am_hal_rtc.c
hal/am_hal_interrupt.c
hal/am_hal_queue.c
hal/am_hal_iom.c
hal/am_hal_ios.c
2017-09-15 18:10:51 +08:00
hal/am_hal_vcomp.c
hal/am_hal_flash.c
hal/am_hal_gpio.c
hal/am_hal_uart.c
hal/am_hal_adc.c
hal/am_hal_pdm.c
hal/am_hal_i2c_bit_bang.c
2017-09-15 18:10:51 +08:00
""")
path = [cwd]
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path)
Return('group')