[PATCH 5/5] bsp/lpc32xx: Fix lpc32xx_magic_zero_size

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 7 07:02:20 UTC 2023


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



More information about the devel mailing list