SConscript 297 B

12345678910111213141516
  1. import os
  2. from building import *
  3. cwd = GetCurrentDir()
  4. # add general drivers
  5. src = Split('''
  6. board.c
  7. CubeMX_Config/Src/stm32f4xx_hal_msp.c
  8. ''')
  9. path = [cwd]
  10. path += [os.path.join(cwd, 'CubeMX_Config', 'Inc')]
  11. group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
  12. Return('group')