summaryrefslogtreecommitdiffstats
path: root/user/bsps/arm
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2022-02-21 09:33:47 +0100
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2022-02-21 09:33:47 +0100
commitc11ae8e5bb53e354a2d127863f298ec381e9c010 (patch)
treee5291e34beb24f90a921c5147e038c2fb2c04d9d /user/bsps/arm
parenteng: Add rtems-central.git post branch procedures (diff)
downloadrtems-docs-c11ae8e5bb53e354a2d127863f298ec381e9c010.tar.bz2
bsps/imxrt: Generate correctly aligned device tree
The device tree has to be aligned correctly. rtems-bin2c has a new parameter for that. This patch uses this parameter to generate the right alignment and makes it more clear how to use the generated C file.
Diffstat (limited to 'user/bsps/arm')
-rw-r--r--user/bsps/arm/imxrt.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/user/bsps/arm/imxrt.rst b/user/bsps/arm/imxrt.rst
index f8d9731..6dacfd9 100644
--- a/user/bsps/arm/imxrt.rst
+++ b/user/bsps/arm/imxrt.rst
@@ -128,9 +128,11 @@ with your FDT source names)::
-I ${PREFIX}/arm-rtems6/imxrt1052/lib/include \
-include "YOUR.dts" /dev/null | \
dtc -O dtb -o "YOUR.dtb" -b 0 -p 64
- sh> rtems-bin2c -C -N imxrt_dtb "YOUR.dtb" "YOUR.c"
+ sh> rtems-bin2c -A 8 -C -N imxrt_dtb "YOUR.dtb" "YOUR.c"
-Make sure that your new C file is compiled and linked into the application.
+You'll get a C file which defines the `imxrt_dtb` array. Make sure that your new
+C file is compiled and linked into the application. It will overwrite the
+existing definition of the `imxrt_dtb` in RTEMS.
PLL Settings
------------