SConscript 333 B

12345678910111213141516171819202122
  1. import os
  2. import rtconfig
  3. from building import *
  4. Import('SDK_LIB')
  5. cwd = GetCurrentDir()
  6. # add general drivers
  7. src = Split('''
  8. board.c
  9. ''')
  10. path = [cwd]
  11. startup_path_prefix = SDK_LIB
  12. # src += [startup_path_prefix + '/HAL_Drivers/drv_sci.c']
  13. group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
  14. Return('group')