21 lines
352 B
Python
21 lines
352 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
# add the general drivers
|
|
src = Split("""
|
|
board.c
|
|
rtt_board.c
|
|
pinmux.c
|
|
fal_flash_port.c
|
|
cherryusb_port.c
|
|
hpm_wm8960.c
|
|
""")
|
|
|
|
CPPPATH = [cwd]
|
|
CPPDEFINES=['D45', 'HPM6750']
|
|
|
|
group = DefineGroup('Board', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
|
|
|
Return('group')
|