mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 13:40:08 +00:00
19 lines
319 B
Python
19 lines
319 B
Python
import os
|
|
import rtconfig
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
# add general drivers
|
|
src = Split('''
|
|
src/board.c
|
|
src/at32_msp.c
|
|
''')
|
|
|
|
path = [cwd]
|
|
path += [cwd + '/inc']
|
|
|
|
CPPDEFINES = ['AT32F437ZMT7']
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
|
Return('group')
|