2022-03-12 07:00:53 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
Import('RTT_ROOT')
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
group = []
|
|
|
|
if GetDepend('NU_PKG_USING_ADC_TOUCH'):
|
2023-01-09 10:14:23 +08:00
|
|
|
src = Glob('*.c') + Glob('*.cpp')
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
group = DefineGroup('nu_pkgs_adc_touch', src, depend = [''], CPPPATH = CPPPATH)
|
2022-03-12 07:00:53 +08:00
|
|
|
|
|
|
|
Return('group')
|