summaryrefslogtreecommitdiff
path: root/bsp/renesas/libraries/HAL_Drivers/drivers/dm/SConscript
blob: 8982904c2ee9754b35b09b339b16e41e39a1a6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Import('RTT_ROOT')
Import('rtconfig')

from building import *
import os

cwd = GetCurrentDir()
parent = os.path.dirname(cwd)
src = ['drv_external_irq.c']

if GetDepend(['BSP_USING_GPIO']):
    src += ['drv_gpio.c']
path = [
    cwd,
    parent,
    os.path.join(parent, 'config'),
    os.path.join(RTT_ROOT, 'components', 'drivers', 'pin'),
]

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

Return('group')