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.
This commit is contained in:
Christian Mauderer 2022-02-21 09:33:47 +01:00
parent 383b600016
commit c11ae8e5bb

View File

@ -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
------------