File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
mcux/mcux-sdk-ng/drivers/common Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -651,8 +651,23 @@ _Pragma("diag_suppress=Pm120")
651651#endif
652652
653653#if defined(FSL_FEATURE_IRQSTEER_EXT_INT_MAX_NUM ) && (FSL_FEATURE_IRQSTEER_EXT_INT_MAX_NUM > 0 ) && defined(FSL_FEATURE_IRQSTEER_IRQ_START_INDEX ) && (FSL_FEATURE_IRQSTEER_IRQ_START_INDEX > 0 )
654- void IRQSTEER_EnableInterrupt (int32_t instIdx , IRQn_Type irq );
655- void IRQSTEER_DisableInterrupt (int32_t instIdx , IRQn_Type irq );
654+ #ifndef FSL_IRQSTEER_H_
655+ __attribute__((weak )) void IRQSTEER_EnableInterrupt (int32_t irqsteerInstIdx , IRQn_Type interrupt )
656+ {
657+ (void )irqsteerInstIdx ;
658+ (void )interrupt ;
659+ }
660+
661+ __attribute__((weak )) void IRQSTEER_DisableInterrupt (int32_t irqsteerInstIdx , IRQn_Type interrupt )
662+ {
663+ (void )irqsteerInstIdx ;
664+ (void )interrupt ;
665+ }
666+ #else
667+ void IRQSTEER_EnableInterrupt (int32_t irqsteerInstIdx , IRQn_Type interrupt );
668+ void IRQSTEER_DisableInterrupt (int32_t irqsteerInstIdx , IRQn_Type interrupt );
669+ #endif
670+
656671#endif
657672
658673/*******************************************************************************
You can’t perform that action at this time.
0 commit comments