c1b22ede30
* Add CANFD support and correct typos - Added CANFD required fields to can.h - Fixed typos in can.h and can.c - Corrected all the projects affected by the typo - Fixed wrong line-ending in some affected can driver files Signed-off-by: Fan YANG <fan.yang@hpmicro.com> * update * bsp: support boards from hpmicro - Supported HPM6750EVKMINI - Supported HPM6750EVK Signed-off-by: Fan YANG <fan.yang@hpmicro.com> Signed-off-by: Fan YANG <fan.yang@hpmicro.com> Co-authored-by: Meco Man <920369182@qq.com>
21 lines
351 B
Python
21 lines
351 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
# add the general drivers
|
|
src = Split("""
|
|
board.c
|
|
rtt_board.c
|
|
pinmux.c
|
|
rw007_port.c
|
|
eth_phy_port.c
|
|
fal_flash_port.c
|
|
""")
|
|
|
|
CPPPATH = [cwd]
|
|
CPPDEFINES=['D45', 'HPM6750']
|
|
|
|
group = DefineGroup('Board', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
|
|
|
Return('group')
|