Skip to content

Conversation

@Dat-NguyenDuy
Copy link
Contributor

Utilize correct macros for edma v3.
This fixes: #81171

Utilize correct macros for edma v3

Signed-off-by: Dat Nguyen Duy <[email protected]>
@Dat-NguyenDuy
Copy link
Contributor Author

Hi @mmahadevan108 @dleach02, Is there a possibility of including this fix in Zephyr v4.0.0?

@Dat-NguyenDuy Dat-NguyenDuy added the bug The issue is a bug, or the PR is fixing a bug label Nov 10, 2024
@aescolar aescolar added this to the v4.0.0 milestone Nov 11, 2024
@aescolar
Copy link
Member

@mmahadevan108 @dkalowsk note there is 9 failures in weekly with this issue, and the fix is quite trivial.
You may want to consider merging it (I added the label to bring it to your attention, feel free to remove it)

@dleach02 dleach02 added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Nov 11, 2024
@dleach02
Copy link
Member

Given that this is a regression failure, I marked the issue as regression and high.

@mmahadevan108 mmahadevan108 merged commit 65511ea into zephyrproject-rtos:main Nov 11, 2024
32 checks passed
@Dat-NguyenDuy Dat-NguyenDuy deleted the fix-edma3 branch November 12, 2024 03:48
#endif /* CONFIG_DMA_MCUX_EDMA_V3 */
#elif defined(CONFIG_DMA_MCUX_EDMA_V4)
/* Above macros have been defined in fsl_edma_core.h */
#define EDMA_HW_TCD_CH_ACTIVE_MASK (DMA_CH_CSR_ACTIVE_MASK)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this macro is defined exactly same for V3 and V4, It is better to move it to below HW TCD macro definitions, so we don't need to duplicate it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: DMA Direct Memory Access bug The issue is a bug, or the PR is fixing a bug platform: NXP Drivers NXP Semiconductors, drivers Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests: dma: s32z2xxdc2@D/s32z270/rtu1 : dma driver build failure

7 participants