Skip to content

Support usdhc feature on rt700 cm33_cpu0 core #91316

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lucien-nxp
Copy link
Contributor

enable tests/subsys/fs/fat_fs_api case with mmc feature

@lucien-nxp lucien-nxp changed the title Add rt700 support usdhc Support usdhc feature on rt700 cm33_cpu0 core Jun 9, 2025
@lucien-nxp lucien-nxp force-pushed the add_rt700_support_usdhc branch from af720dc to ee6469d Compare June 9, 2025 16:26
@lucien-nxp
Copy link
Contributor Author

Hi @hakehuang ,
Could you help test tests/subsys/fs/fat_fs_api case on RT700 cm33_cpu0 core? Thank you.

de-nordic
de-nordic previously approved these changes Jun 10, 2025
Copy link
Contributor

@de-nordic de-nordic left a comment

Choose a reason for hiding this comment

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

FAT fs test changes ok

@de-nordic de-nordic assigned butok and unassigned de-nordic Jun 10, 2025
@de-nordic
Copy link
Contributor

Mostly NXP stuff, reassigned to @butok

@hakehuang
Copy link
Contributor

Hi @hakehuang ,
Could you help test tests/subsys/fs/fat_fs_api case on RT700 cm33_cpu0 core? Thank you.

will feedback soon

hakehuang
hakehuang previously approved these changes Jun 11, 2025
Copy link
Contributor

@hakehuang hakehuang left a comment

Choose a reason for hiding this comment

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

board test pass

2025-06-11 14:27:33,529 - twister - DEBUG - DEVICE: *** Booting Zephyr OS build v4.1.0-5421-gee6469da2baa ***
2025-06-11 14:27:33,532 - twister - DEBUG - DEVICE: Running TESTSUITE fat_fs_basic
2025-06-11 14:27:33,538 - twister - DEBUG - DEVICE: ===================================================================
2025-06-11 14:27:34,526 - twister - DEBUG - DEVICE: I: Card does not support CMD8, assuming legacy card
2025-06-11 14:27:34,610 - twister - DEBUG - DEVICE: I: Card switched to 1.8V signaling
2025-06-11 14:27:34,614 - twister - DEBUG - DEVICE: I: CID decoding not supported for MMC
2025-06-11 14:27:34,621 - twister - DEBUG - DEVICE: I: Card block count is 30777344, block size is 512
2025-06-11 14:27:34,642 - twister - DEBUG - DEVICE: For SD2 using sector write size 512 to write 1 at once
...
2025-06-11 14:27:42,337 - twister - DEBUG - DEVICE: ===================================================================
2025-06-11 14:27:42,340 - twister - DEBUG - DEVICE: TESTSUITE fat_fs_basic succeeded
2025-06-11 14:27:42,343 - twister - DEBUG - DEVICE: ------ TESTSUITE SUMMARY START ------
2025-06-11 14:27:42,352 - twister - DEBUG - DEVICE: SUITE PASS - 100.00% [fat_fs_basic]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.006 seconds
2025-06-11 14:27:42,359 - twister - DEBUG - DEVICE: - PASS - [fat_fs_basic.test_fat_mount_rd_only] duration = 0.006 seconds
2025-06-11 14:27:42,362 - twister - DEBUG - DEVICE: ------ TESTSUITE SUMMARY END ------
2025-06-11 14:27:42,368 - twister - DEBUG - DEVICE: ===================================================================
2025-06-11 14:27:42,372 - twister - DEBUG - DEVICE: RunID: 9eab19b6683af577950d8b0b3d05bb45
2025-06-11 14:27:42,374 - twister - DEBUG - DEVICE: PROJECT EXECUTION SUCCESSFUL

decsny
decsny previously approved these changes Jun 16, 2025
@lucien-nxp lucien-nxp dismissed stale reviews from decsny, hakehuang, and de-nordic via ce8aac5 June 25, 2025 02:23
add usdhc instances for rt700 cm33_cpu0

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
enable usdhc0 clock
config usdhc0 pin
enable mmc-disk:SD2

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
Increase ZTEST_STACK_SIZE to 2048

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
@lucien-nxp lucien-nxp force-pushed the add_rt700_support_usdhc branch from ce8aac5 to 4a7571a Compare June 25, 2025 05:54
Copy link

@lucien-nxp
Copy link
Contributor Author

Rebase and resolve the conflicts.

@lucien-nxp lucien-nxp requested review from de-nordic, decsny and hakehuang and removed request for de-nordic June 26, 2025 02:30
@lucien-nxp
Copy link
Contributor Author

Hi @dleach02 @decsny @mmahadevan108 ,
Could you help review the PR? Hope to merge into 4.2 release.

@decsny decsny added this to the v4.2.0 milestone Jun 27, 2025
@dkalowsk
Copy link
Contributor

@lucien-nxp @dleach02 this looks like a lot of new development coming in now late for the 4.2 release, as we're on RC3 now. I'm moving this to 4.3.

@dkalowsk dkalowsk modified the milestones: v4.2.0, v4.3.0 Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants