From a3ebe17994beceef137acb0b240af185ed1b5768 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Mon, 17 May 2021 09:32:21 +0200 Subject: bsps/imxrt: Remove superfluous options from dtc The -@ option adds symbols that are used when applying an overlay. RTEMS doesn't support overlays or re-parsing of device trees. So the symbols only increase the size of the binary. The same is true for the padding. It would be useful if the device tree is changed during run time which is not supported in RTEMS. Update #4180 --- user/bsps/arm/imxrt.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/bsps/arm/imxrt.rst b/user/bsps/arm/imxrt.rst index 1bce6d7..c60b51d 100644 --- a/user/bsps/arm/imxrt.rst +++ b/user/bsps/arm/imxrt.rst @@ -118,7 +118,7 @@ with your FDT source names):: sh> arm-rtems6-cpp -P -x assembler-with-cpp \ -I ${PREFIX}/arm-rtems6/imxrt1052/lib/include \ -include "YOUR.dts" /dev/null | \ - dtc -@ -O dtb -o "YOUR.dtb" -b 0 -p 1024 + dtc -O dtb -o "YOUR.dtb" -b 0 -p 64 sh> rtems-bin2c -C -N imxrt_dtb "YOUR.dtb" "YOUR.c" Make sure that your new c file is compiled and linked into the application. -- cgit v1.2.3