[rtems commit] bsp/lpc32xx: Fix lpc32xx_magic_zero_size

Sebastian Huber sebh at rtems.org
Wed Aug 9 04:59:26 UTC 2023


Module:    rtems
Branch:    master
Commit:    a96f5df50b954f95c2c4748cc90a22791723ce1d
Changeset: http://git.rtems.org/rtems/commit/?id=a96f5df50b954f95c2c4748cc90a22791723ce1d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jun 12 11:26:59 2023 +0200

bsp/lpc32xx: Fix lpc32xx_magic_zero_size

---

 bsps/arm/lpc32xx/start/linkcmds.lpc32xx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx
index 200e7f3e04..f38f7903b2 100644
--- a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx
+++ b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx
@@ -12,6 +12,6 @@ lpc32xx = 0x20020000;
 
 lpc32xx_magic_zero_begin = 0x05000000;
 lpc32xx_magic_zero_end = 0x07000000;
-lpc32xx_magic_zero_size = lpc32xx_magic_zero_end - lpc32xx_magic_zero_end;
+lpc32xx_magic_zero_size = lpc32xx_magic_zero_end - lpc32xx_magic_zero_begin;
 
 INCLUDE linkcmds.armv4



More information about the vc mailing list