summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2023-04-12 17:34:31 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2023-07-24 14:41:06 +0200
commit4a3ace7c7a464409cc5da859a04e2d3ba533b69a (patch)
tree978793787e4550ee92f97dcbacc5bbea52492d2c /spec/build/bsps/arm
parentbsps/imsrt: Make flash config more flexible (diff)
downloadrtems-4a3ace7c7a464409cc5da859a04e2d3ba533b69a.tar.bz2
bsps/imxrt: Add imxrt1166_cm7_saltshaker BSP
The BSP is for a custom i.MXRT1166 based board. At the moment, only the cortex M7 is supported.
Diffstat (limited to 'spec/build/bsps/arm')
-rw-r--r--spec/build/bsps/arm/imxrt/bspimxrt1166-cm7-saltshaker.yml32
-rw-r--r--spec/build/bsps/arm/imxrt/optmemdtcmsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemextramsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemflashorigin.yml4
-rw-r--r--spec/build/bsps/arm/imxrt/optmemflashsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemitcmsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemocramorigin.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemocramsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optvariant.yml2
9 files changed, 49 insertions, 1 deletions
diff --git a/spec/build/bsps/arm/imxrt/bspimxrt1166-cm7-saltshaker.yml b/spec/build/bsps/arm/imxrt/bspimxrt1166-cm7-saltshaker.yml
new file mode 100644
index 0000000000..b9bdc3ca8a
--- /dev/null
+++ b/spec/build/bsps/arm/imxrt/bspimxrt1166-cm7-saltshaker.yml
@@ -0,0 +1,32 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: imxrt1166-cm7-saltshaker
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: imxrt
+includes:
+- bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1166
+- bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1166/drivers
+- bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1166/xip
+- bsps/arm/imxrt/mcux-sdk/drivers/common
+- bsps/arm/imxrt/mcux-sdk/drivers/semc
+install:
+- destination: ${BSP_INCLUDEDIR}/imxrt
+ source:
+ - bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.dts
+ - bsps/arm/imxrt/include/imxrt/imxrt1166.dtsi
+ - bsps/arm/imxrt/include/imxrt/imxrt1166-pinfunc.h
+links:
+- role: build-dependency
+ uid: obj-mimxrt1166-cm7
+source:
+- bsps/arm/imxrt/boards/saltshaker/clock_config.c
+- bsps/arm/imxrt/boards/saltshaker/dcd.c
+- bsps/arm/imxrt/boards/saltshaker/flash-flexspi-config.c
+- bsps/arm/imxrt/boards/saltshaker/pin_mux.c
+- bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.c
+type: build
diff --git a/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml b/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
index 2ed8320586..1605ac7953 100644
--- a/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x00040000
- enabled-by: true
value: 0x00020000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemextramsz.yml b/spec/build/bsps/arm/imxrt/optmemextramsz.yml
index c33ef0f60b..6a40bdecdf 100644
--- a/spec/build/bsps/arm/imxrt/optmemextramsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemextramsz.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x04000000
- enabled-by: true
value: 0x02000000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemflashorigin.yml b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
index 407114d834..5bcbe827af 100644
--- a/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
@@ -7,12 +7,14 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x30000000
- enabled-by: true
value: 0x60000000
description: |
Origin of the external flash memory. That can be for example a flash
connected to FlexSPI or to SEMC. The default value is for a HyperFlash
- connected to FlexSPI.
+ connected to FlexSPI or a board specific variant for special BSPs.
enabled-by: true
format: '{:#010x}'
links: []
diff --git a/spec/build/bsps/arm/imxrt/optmemflashsz.yml b/spec/build/bsps/arm/imxrt/optmemflashsz.yml
index 5ec54768c6..b46d15bd4e 100644
--- a/spec/build/bsps/arm/imxrt/optmemflashsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashsz.yml
@@ -7,6 +7,8 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x00800000
- enabled-by: true
value: 0x04000000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemitcmsz.yml b/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
index 37523f5617..5e13d371ac 100644
--- a/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x0003ff00
- enabled-by: true
value: 0x0001ff00
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemocramorigin.yml b/spec/build/bsps/arm/imxrt/optmemocramorigin.yml
index 359f47d933..6c344ca5b6 100644
--- a/spec/build/bsps/arm/imxrt/optmemocramorigin.yml
+++ b/spec/build/bsps/arm/imxrt/optmemocramorigin.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2023 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x20340000
- enabled-by: true
value: 0x20200000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemocramsz.yml b/spec/build/bsps/arm/imxrt/optmemocramsz.yml
index bf9d16c6b8..dd215dfb81 100644
--- a/spec/build/bsps/arm/imxrt/optmemocramsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemocramsz.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x00040000
- enabled-by: true
value: 0x00040000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optvariant.yml b/spec/build/bsps/arm/imxrt/optvariant.yml
index 1d18b2869e..68a1f53267 100644
--- a/spec/build/bsps/arm/imxrt/optvariant.yml
+++ b/spec/build/bsps/arm/imxrt/optvariant.yml
@@ -90,6 +90,8 @@ actions:
conf.define("IMXRT_IS_{}xx".format(value[:8]), True)
build-type: option
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: MIMXRT1166DVM6A_cm7
- enabled-by: true
value: MIMXRT1052DVL6B
enabled-by: true