SConscript 309 B

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