Skip to content

Commit b002d8b

Browse files
committed
bsp/nxp:Separate nxp_imx library
1 parent d67c02c commit b002d8b

File tree

3,054 files changed

+311
-6382987
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,054 files changed

+311
-6382987
lines changed

bsp/nxp/imx/imx6sx/cortex-a9/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ config SOC_MCIMX6X4
1515
bool
1616
select RT_USING_COMPONENTS_INIT
1717
select RT_USING_USER_MAIN
18+
select PKG_USING_NXP_IMX6SX_DRIVER
1819
default y
1920

2021
config RT_USING_UART1

bsp/nxp/imx/imx6sx/cortex-a9/SConstruct

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ else:
1010
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
1111
from building import *
1212

13+
def bsp_pkg_check():
14+
import subprocess
15+
16+
check_paths = [
17+
os.path.join("packages", "nxp-imx6sx-sdk-latest"),
18+
]
19+
20+
need_update = not all(os.path.exists(p) for p in check_paths)
21+
22+
if need_update:
23+
print("\n==============================================================")
24+
print("Dependency packages missing, please running 'pkgs --update'...")
25+
print("==============================================================")
26+
exit(1)
27+
28+
RegisterPreBuildingAction(bsp_pkg_check)
29+
1330
TARGET = 'rtthread-imx6.' + rtconfig.TARGET_EXT
1431

1532
DefaultEnvironment(tools=[])
@@ -27,7 +44,5 @@ Export('rtconfig')
2744
# prepare building environment
2845
objs = PrepareBuilding(env, RTT_ROOT,has_libcpu=True)
2946

30-
objs += SConscript('../iMX6_Platform_SDK/SConscript', variant_dir='build/iMX6_Platform_SDK/SConscript', duplicate=0)
31-
3247
# make a building
3348
DoBuilding(TARGET, objs)

bsp/nxp/imx/imx6sx/iMX6_Platform_SDK/Doxyfile

Lines changed: 0 additions & 1924 deletions
This file was deleted.

bsp/nxp/imx/imx6sx/iMX6_Platform_SDK/LICENSE.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

bsp/nxp/imx/imx6sx/iMX6_Platform_SDK/Makefile

Lines changed: 0 additions & 167 deletions
This file was deleted.
-433 KB
Binary file not shown.

bsp/nxp/imx/imx6sx/iMX6_Platform_SDK/SConscript

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)