summaryrefslogtreecommitdiff
path: root/bsp/mm32l07x/drivers/SConscript
blob: 6cbaa4bd9930124370b0edf7c9b4ab6bc005f1f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# RT-Thread building script for component

from building import *

cwd = GetCurrentDir()

# add the general drivers.
src = Split("""
board.c
""")

# add serial driver code
if  GetDepend('BSP_USING_UART1') or GetDepend('BSP_USING_UART2'):
    src += ['drv_uart.c']

CPPPATH = [cwd]

group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)

Return('group')