SConscript 399 B

123456789101112131415
  1. Import('RTT_ROOT')
  2. Import('rtconfig')
  3. from building import *
  4. cwd = GetCurrentDir()
  5. src = []
  6. include_path = [cwd]
  7. if GetDepend(['MULTI_RTIMER_USING_TRAGET_MCU_STM32_RTC']):
  8. src += ['stm32_rtc_adapter/hw_rtc_stm32.c']
  9. include_path += ['stm32_rtc_adapter']
  10. group = DefineGroup('multi_rtimer/stm32_adapter', src, depend = ['PKG_USING_MULTI_RTIMER'], CPPPATH = include_path)
  11. Return('group')