mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-05 23:22:43 +00:00
17 lines
282 B
Python
17 lines
282 B
Python
import os
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
# add general drivers
|
|
src = Split('''
|
|
board.c
|
|
CubeMX_Config/Src/stm32g0xx_hal_msp.c
|
|
''')
|
|
|
|
path = [cwd]
|
|
path += [cwd + '/CubeMX_Config/Inc']
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
|
Return('group')
|