19 lines
292 B
Python
19 lines
292 B
Python
|
|
import os
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
# add cubemx drivers
|
|
src = Split('''
|
|
Src/stm32f4xx_hal_msp.c
|
|
Src/main.c
|
|
''')
|
|
|
|
path = [cwd]
|
|
path += [cwd + '/Inc']
|
|
|
|
group = DefineGroup('cubemx', src, depend = [''], CPPPATH = path)
|
|
|
|
Return('group')
|