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

Add support for S32K148 SoC #509

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marcin-wierzbicki
Copy link
Contributor

@marcin-wierzbicki marcin-wierzbicki commented Feb 11, 2025

Add support for S32K148 SoC.

Drivers enabled: SYSMPU, GPIO, PORT, LPUART, ADC, FlexCAN, FTM, RTC, LMEM, WDOG, ENET.

@mmahadevan108
Copy link
Collaborator

mmahadevan108 commented Feb 11, 2025

Have the changes to the SDK drivers sent to the SDK team? Here is the repo incase this has not been submitted to the SDK driver.
https://github.com/nxp-mcuxpresso/mcux-sdk

@@ -1627,10 +1627,21 @@ status_t ENET_GetRxFrameSize(enet_handle_t *handle, uint32_t *length, uint8_t ri
{
isReturn = true;
/* The last buffer descriptor in the frame check the status of the received frame. */
if (0U != (curBuffDescrip->control & ENET_BUFFDESCRIPTOR_RX_ERR_MASK))
if (IS_ENABLED(CONFIG_ETH_NXP_ENET_IGNORE_RX_CRC_PHY_ERROR))
Copy link
Member

Choose a reason for hiding this comment

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

@marcin-wierzbicki
Copy link
Contributor Author

Have the changes to the SDK drivers sent to the SDK team? Here is the repo incase this has not been submitted to the SDK driver. https://github.com/nxp-mcuxpresso/mcux-sdk

Thanks. We will take care of that (@KevShaju)

@marcin-wierzbicki marcin-wierzbicki force-pushed the s32k148_support_pr branch 2 times, most recently from 757c89a to e3b7e81 Compare February 23, 2025 20:32
@marcin-wierzbicki
Copy link
Contributor Author

marcin-wierzbicki commented Feb 23, 2025

@manuargue I managed to generate OsIf, clocks, and SoC related code using S32DS IDE with support for S32K1 + RTD for S32K1. Please, check.

@manuargue BTW If someone needed to adjust the configuration in the future, would they follow the same steps, or is there a recommended approach to ensure consistency? I’m wondering if there’s a way to make future modifications smoother, perhaps by retaining certain files as input or documenting key aspects of the process. I’d appreciate any thoughts you might have on this.

marcin-wierzbicki and others added 2 commits March 6, 2025 09:38
Add support for S32K148 SoC.

Drivers enabled: SYSMPU, GPIO, PORT, LPUART, ADC, FlexCAN, FTM, RTC, LMEM, WDOG.

Signed-off-by: Marcin Wierzbicki <[email protected]>
Add support for ENET.

Signed-off-by: Kevin Shaju <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants