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