summaryrefslogtreecommitdiff
path: root/bsp/hc32/platform/sfud/SConscript
blob: 77b3afaf5bf739147417bdc88b9509bf7529bd31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
import rtconfig
from building import *

Import('SDK_LIB')

cwd = GetCurrentDir()

# add general drivers
src = []
path = [cwd]

if GetDepend(['BSP_USING_SPI_FLASH']):
    src += Glob('drv_spi_flash.c')

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

Return('group')