4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 04:19:22 +08:00
xiaoqin 7fa1c819ee
add bsp of tae32f5300 (#5015)
* add bsp of tae32f5300

* [tae32f5300]Modify the format of the bsp of tae32f5300

* [tae32f5300]Remove the compilation scripts of gcc and iar

* [tae32f5300]Resolve conflicts of action.yml secondly
2021-09-08 17:04:39 +08:00

24 lines
445 B
Python

# RT-Thread building script for component
from building import *
cwd = GetCurrentDir()
# add the general drivers.
src = Split("""
""")
# add serial driver code
if GetDepend('BSP_USING_UART') or GetDepend('BSP_USING_UART1'):
src += ['drv_uart.c']
# add gpio driver code
if GetDepend(['BSP_USING_GPIO']):
src += ['drv_gpio.c']
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')