SConscript 354 B

12345678910111213
  1. from building import *
  2. import rtconfig
  3. Import('RTT_ROOT')
  4. # get current directory
  5. cwd = GetCurrentDir()
  6. src = []
  7. path = []
  8. if GetDepend(['BSP_USING_HYPERAM']) or GetDepend(['BSP_USING_FLASH']):
  9. src += ['source/mtb_serial_memory.c']
  10. path = [cwd + '/include']
  11. group = DefineGroup('cy_serial_memory', src, depend=[''], CPPPATH=path)
  12. Return('group')