You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
292 B
19 lines
292 B
4 days ago
|
|
||
|
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')
|