Skip to content

Commit 7598581

Browse files
authored
bsp/nxp:Separate nxp_imx library (#10273)
1 parent ab1b238 commit 7598581

File tree

3,062 files changed

+803
-6383204
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,062 files changed

+803
-6383204
lines changed

.github/ALL_BSP_COMPILE.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,19 @@
227227
"nxp/lpc/lpc54114-lite",
228228
"nxp/lpc/lpc176x",
229229
"nxp/imx/imx6sx/cortex-a9",
230+
"nxp/imx/imx6ul",
230231
"nxp/imx/imxrt/imxrt1052-atk-commander",
231232
"nxp/imx/imxrt/imxrt1052-fire-pro",
232233
"nxp/imx/imxrt/imxrt1052-nxp-evk",
233234
"nxp/imx/imxrt/imxrt1052-seeed-ArchMix",
235+
"nxp/imx/imxrt/imxrt1061-forlinx-OK1061-S",
234236
"nxp/imx/imxrt/imxrt1060-nxp-evk",
235237
"nxp/imx/imxrt/imxrt1064-nxp-evk",
236238
"nxp/imx/imxrt/imxrt1021-nxp-evk",
239+
"nxp/imx/imxrt/imxrt1170-nxp-evk",
237240
"nxp/mcx/mcxn/frdm-mcxn947",
238241
"nxp/mcx/mcxn/frdm-mcxn236",
242+
"nxp/mcx/mcxc/frdm-mcxc444",
239243
"nxp/mcx/mcxa/frdm-mcxa153",
240244
"nxp/mcx/mcxa/frdm-mcxa156",
241245
"renesas/ebf_qi_min_6m5",
@@ -453,7 +457,8 @@
453457
"RTT_TOOL_CHAIN": "sourcery-arm",
454458
"RTT_SMART_TOOL_CHAIN": "arm-linux-musleabi",
455459
"SUB_RTT_BSP": [
456-
"qemu-vexpress-a9"
460+
"qemu-vexpress-a9",
461+
"nxp/imx/imx6ull-smart"
457462
]
458463
},
459464
{

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)

0 commit comments

Comments
 (0)