This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d144007569d arch/arm/imxrt: Add missing IMXRT_XBAR macros for imxrt118x
d144007569d is described below

commit d144007569d2e2b793c097177922aae906fd378f
Author: Jukka Laitinen <[email protected]>
AuthorDate: Mon Oct 5 09:29:10 2026 +0300

    arch/arm/imxrt: Add missing IMXRT_XBAR macros for imxrt118x
    
    These macro definitions were left out from imxrt118x_xbar.h. The legacy
    naming in IMXRT is IMXRT_XBARA1/2/3, but the header was generated from the
    RM, where the names are just IMXRT_XBAR1/IMXRT_XBAR2/IMXRT_XBAR3.
    
    The definitions match, so just use the definitions from the common imxrt
    header, and define the IMXRT_XBAR1 as IMXRT_XBARA1 etc.
    
    Signed-off-by: Jukka Laitinen <[email protected]>
---
 arch/arm/src/imxrt/hardware/rt118x/imxrt118x_xbar.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/src/imxrt/hardware/rt118x/imxrt118x_xbar.h 
b/arch/arm/src/imxrt/hardware/rt118x/imxrt118x_xbar.h
index ba1267fe74e..ce065a7d783 100644
--- a/arch/arm/src/imxrt/hardware/rt118x/imxrt118x_xbar.h
+++ b/arch/arm/src/imxrt/hardware/rt118x/imxrt118x_xbar.h
@@ -43,6 +43,14 @@
  * (hardware/rt118x/imxrt118x_memorymap.h).
  */
 
+#define IMXRT_XBAR1_INDEX     IMXRT_XBARA1_INDEX
+#define IMXRT_XBAR2_INDEX     IMXRT_XBARA2_INDEX
+#define IMXRT_XBAR3_INDEX     IMXRT_XBARA3_INDEX
+
+#define IMXRT_XBAR1(side, select)  IMXRT_XBARA1(side, select)
+#define IMXRT_XBAR2(side, select)  IMXRT_XBARA2(side, select)
+#define IMXRT_XBAR3(side, select)  IMXRT_XBARA3(side, select)
+
 /****************************************************************************
  * XBAR Input Assignments (IMXRT1180RM Table 14)
  ****************************************************************************/

Reply via email to