Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 6 additions & 1 deletion .github/ALL_BSP_COMPILE.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,19 @@
"nxp/lpc/lpc54114-lite",
"nxp/lpc/lpc176x",
"nxp/imx/imx6sx/cortex-a9",
"nxp/imx/imx6ul",
"nxp/imx/imxrt/imxrt1052-atk-commander",
"nxp/imx/imxrt/imxrt1052-fire-pro",
"nxp/imx/imxrt/imxrt1052-nxp-evk",
"nxp/imx/imxrt/imxrt1052-seeed-ArchMix",
"nxp/imx/imxrt/imxrt1061-forlinx-OK1061-S",
"nxp/imx/imxrt/imxrt1060-nxp-evk",
"nxp/imx/imxrt/imxrt1064-nxp-evk",
"nxp/imx/imxrt/imxrt1021-nxp-evk",
"nxp/imx/imxrt/imxrt1170-nxp-evk",
"nxp/mcx/mcxn/frdm-mcxn947",
"nxp/mcx/mcxn/frdm-mcxn236",
"nxp/mcx/mcxc/frdm-mcxc444",
"nxp/mcx/mcxa/frdm-mcxa153",
"nxp/mcx/mcxa/frdm-mcxa156",
"renesas/ebf_qi_min_6m5",
Expand Down Expand Up @@ -453,7 +457,8 @@
"RTT_TOOL_CHAIN": "sourcery-arm",
"RTT_SMART_TOOL_CHAIN": "arm-linux-musleabi",
"SUB_RTT_BSP": [
"qemu-vexpress-a9"
"qemu-vexpress-a9",
"nxp/imx/imx6ull-smart"
]
}
]
Expand Down
1 change: 1 addition & 0 deletions bsp/nxp/imx/imx6sx/cortex-a9/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ config SOC_MCIMX6X4
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select PKG_USING_NXP_IMX6SX_DRIVER
default y

config RT_USING_UART1
Expand Down
19 changes: 17 additions & 2 deletions bsp/nxp/imx/imx6sx/cortex-a9/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ else:
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
from building import *

def bsp_pkg_check():
import subprocess

check_paths = [
os.path.join("packages", "nxp-imx6sx-sdk-latest"),
]

need_update = not all(os.path.exists(p) for p in check_paths)

if need_update:
print("\n==============================================================")
print("Dependency packages missing, please running 'pkgs --update'...")
print("==============================================================")
exit(1)

RegisterPreBuildingAction(bsp_pkg_check)

TARGET = 'rtthread-imx6.' + rtconfig.TARGET_EXT

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

objs += SConscript('../iMX6_Platform_SDK/SConscript', variant_dir='build/iMX6_Platform_SDK/SConscript', duplicate=0)

# make a building
DoBuilding(TARGET, objs)
Loading