Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] IOMUX macros are renamed in iMXRT1051 but not iMXRT1062 #217

Open
liampribis opened this issue Nov 7, 2024 · 0 comments
Open

[BUG] IOMUX macros are renamed in iMXRT1051 but not iMXRT1062 #217

liampribis opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@liampribis
Copy link

Describe the bug
Starting in SDK version 2.11.0, many of the IOMUXC macro definitions have been renamed on the iMX RT1051 and iMX RT1052 but not the iMX RT106x family. The renames all follow patterns like the following, ie trivial shuffling of the device and channel number.

- #define IOMUXC_GPIO_EMC_08_FLEXPWM2_PWMA01 0x401F8034U, 0x1U, 0x401F847CU, 0x0U, 0x401F8224U
+ #define IOMUXC_GPIO_EMC_08_FLEXPWM2_PWM1_A 0x401F8034U, 0x1U, 0x401F847CU, 0x0U, 0x401F8224U

I am not sure of the reasoning behind this rename. RT105x and RT106x have identical IOMUXC setups for 99% of pins. We have shared libraries that are used in both RT105x and RT106x. After updating past the rename, we now need to maintain a macro table to switch out the IOMUXC definitions based on target type, somewhat defeating the purpose of iomuxc.h.

To Reproduce

Expected behavior
Diff should be similar as the chips are very similar. Identical pin muxes (most of them) should have identical macro names.

Maybe apply the same renaming scheme used for the RT105x to the RT106x, or revert the renaming that was done to the 105x.

Additional context
This was not an issue (ie macro names were identical) until SDK 2.11.

@liampribis liampribis added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant