Fan Yang c1b22ede30
Add BSP for HPM6750EVK and HPM6750EVKMINI (#6374)
* 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>
2022-09-06 00:48:16 -04:00

25 lines
429 B
Python

import os
import sys
Import('rtconfig')
from building import *
#get current directory
cwd = GetCurrentDir()
# Update include path
path = [ cwd, cwd + '/boot' ]
# The set of source files associated with this SConscript file.
src = Split('''
system.c
hpm_l1c_drv.c
hpm_sysctl_drv.c
hpm_clock_drv.c
boot/hpm_bootheader.c
''')
group = DefineGroup('SoC', src, depend = [''], CPPPATH = path)
Return ('group')