rt-thread-official/bsp/stm32/libraries/HAL_Drivers/nano/SConscript

16 lines
280 B
Python

Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
group = []
src = ['drv_gpio.c']
path = [cwd]
if GetDepend(['RT_USING_CONSOLE']):
src += ['drv_console.c']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
Return('group')