summaryrefslogtreecommitdiff
path: root/bsp/core-v-mcu/libraries/core_v_drivers/SConscript
blob: 79df16160bbc85815b774979cc581f5bcb7f2b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import rtconfig
Import('RTT_ROOT')
from building import *

cwd = GetCurrentDir()

src = Split("""
""")

if  GetDepend('SOC_RISCV_FAMILY_Core_V'):

    if GetDepend('BSP_USING_UART'):
        src += ['source/drv_usart.c']

path = [
    cwd + '/include']

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

Return('group')