Skip to content

Add nxp frdm_rw612 #762

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

Merged
merged 4 commits into from
Apr 17, 2025
Merged

Add nxp frdm_rw612 #762

merged 4 commits into from
Apr 17, 2025

Conversation

szczys
Copy link
Contributor

@szczys szczys commented Apr 14, 2025

  • Add support for the NXP frdm_rw612
  • Deprecate the NXP mimxrt1024_evk

Considerations made for this board

This board has a very large flash chip that takes 4-8 minutes to fully erase. This is untenable for CI testing

  • Twister tests and end of Integration tests: Use a J-Link script that erase from the beginning of flash through 0x1000 into the storage partition. This accomplished the goal of no runnable firmware on the chip as both slots are erased in the range used. It also cuts down the erase time to <30 seconds
  • HIL Plugin: by default our HIL plugin performs a full erase before flashing each of the integration test firmwares. To avoid the long delay this would cause, the erase step is skipped for this board. I investigated passing a memory range for the erase command, but the pylink plugin we use doesn't support anything other than full erase.
  • Self-hosted runners: if we merge this, we need to order more boards to add to self hosted runners. These are currently in stock at DigiKey for $29.29

resolves https://github.com/golioth/firmware-issue-tracker/issues/786

Copy link

github-actions bot commented Apr 14, 2025

Visit the preview URL for this PR (updated for commit 3c85ddd):

https://golioth-firmware-sdk-doxygen-dev--pr762-szczys-add-nxp-ubf7gxcx.web.app

(expires Wed, 23 Apr 2025 15:41:12 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a9993e61697a3983f3479e468bcb0b616f9a0578

@szczys szczys force-pushed the szczys/add-nxp-frdm_rw612 branch from ed6d6ca to 334b848 Compare April 14, 2025 21:30
Copy link

github-actions bot commented Apr 14, 2025

Code Coverage

Code Coverage

Package Line Rate Branch Rate Health
include.golioth 75% 50%
port.linux 62% 34%
port.utils 58% 46%
port.zephyr 53% 22%
src 70% 32%
Summary 69% (2852 / 4161) 31% (1189 / 3778)

Copy link

codecov bot commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

see 1 file with indirect coverage changes

@szczys szczys marked this pull request as ready for review April 14, 2025 23:18
@szczys szczys requested review from sam-golioth and mniestroj April 14, 2025 23:18
Copy link
Contributor

@sam-golioth sam-golioth left a comment

Choose a reason for hiding this comment

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

Looks great, thanks @szczys! Let's also update the README to list this as a CVB

szczys added 2 commits April 16, 2025 10:33
This board has a very large (64 MB) flash chip that takes between 4-8
minutes to fully erase. Because of this, the erase step in the HIL plugin
has been removed.

This is not an issue during sample tests as the erase is performed using
JLinkExe and the limited memory range reduces erase time to <30 seconds.
However, the pylink plugin we use for integration tests doesn't currently
support erasing a memory range.

Signed-off-by: Mike Szczys <[email protected]>
@szczys szczys force-pushed the szczys/add-nxp-frdm_rw612 branch from 334b848 to 0b0b072 Compare April 16, 2025 15:34
Add frdm_rw612 as a verified device.

Signed-off-by: Mike Szczys <[email protected]>
@sam-golioth sam-golioth changed the base branch from bump-zephyr to main April 16, 2025 15:38
Remove support for the mimxrt1024_evk. It has been replaced as a
continuously verified board in the Golioth Firmware SDK by the NXP
frdm_rw612.

Signed-off-by: Mike Szczys <[email protected]>
@szczys szczys force-pushed the szczys/add-nxp-frdm_rw612 branch from 0b0b072 to 3c85ddd Compare April 16, 2025 15:39
@szczys szczys merged commit 7877c6b into main Apr 17, 2025
134 of 140 checks passed
@szczys szczys deleted the szczys/add-nxp-frdm_rw612 branch April 17, 2025 19:24
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.

3 participants