rt-thread/bsp/nuvoton/libraries/nu_packages/MAX31875/SConscript

15 lines
333 B
Python
Raw Normal View History

Import('RTT_ROOT')
from building import *
cwd = GetCurrentDir()
group = []
if GetDepend('NU_PKG_USING_MAX31875'):
src = Split("""
libraries/max31875_c.c
sensor_max31875.c
""")
CPPPATH = [cwd, cwd + '/libraries']
group = DefineGroup('nu_pkgs_max31875', src, depend = [''], CPPPATH = CPPPATH)
Return('group')