SConscript 363 B

12345678910111213141516
  1. from building import *
  2. cwd = GetCurrentDir()
  3. src = ['src/aht10.c']
  4. path = [cwd + '/inc']
  5. if GetDepend('PKG_AHT10_USING_SENSOR_V2'):
  6. src += ['src/sensor_asair_aht10.c']
  7. if GetDepend('PKG_USING_AHT10_SAMPLE'):
  8. src += ['samples/aht10_sample.c']
  9. group = DefineGroup('aht10', src, depend = ['PKG_USING_AHT10'], CPPPATH = path)
  10. Return('group')