mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-24 09:37:23 +08:00
e19b63e5fb
- upgraded hpm_sdk to v1.6.0 Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
26 lines
447 B
Python
26 lines
447 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
|
|
hpm_otp_drv.c
|
|
boot/hpm_bootheader.c
|
|
''')
|
|
|
|
|
|
group = DefineGroup('SoC', src, depend = [''], CPPPATH = path)
|
|
|
|
Return ('group')
|