summaryrefslogtreecommitdiff
path: root/bsp/avr32uc3b0/SOFTWARE_FRAMEWORK/SConscript
blob: 19d9931942394acebf5a5c4c5a206972c23e5380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import rtconfig
Import('RTT_ROOT')
from building import *

cwd = GetCurrentDir()

src = Split("""
DRIVERS/FLASHC/flashc.c
DRIVERS/GPIO/gpio.c
DRIVERS/INTC/intc.c
DRIVERS/PM/pm.c
DRIVERS/PM/pm_conf_clocks.c
DRIVERS/PM/power_clocks_lib.c
DRIVERS/USART/usart.c
""")

CPPPATH = [
    cwd + '/BOARDS',
    cwd + '/UTILS',
    cwd + '/UTILS/PREPROCESSOR',
    cwd + '/DRIVERS/FLASHC',
    cwd + '/DRIVERS/GPIO',
    cwd + '/DRIVERS/INTC',
    cwd + '/DRIVERS/PM',
    cwd + '/DRIVERS/USART',
]

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

Return('group')