SConscript 316 B

1234567891011121314151617
  1. import os
  2. from building import *
  3. cwd = GetCurrentDir()
  4. # add general drivers
  5. src = Split('''
  6. board.c
  7. ''')
  8. path = [cwd]
  9. # FT32F407xE
  10. # You can select chips from the list above
  11. CPPDEFINES = ['FT32F407xE']
  12. group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
  13. Return('group')