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

OTA on RT1050 #3059

Merged
merged 1 commit into from
Mar 3, 2025
Merged

OTA on RT1050 #3059

merged 1 commit into from
Mar 3, 2025

Conversation

robertc2000
Copy link
Collaborator

No description provided.

@robertc2000 robertc2000 requested a review from scaprile February 28, 2025 15:42
Copy link
Collaborator

@scaprile scaprile left a comment

Choose a reason for hiding this comment

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

Please address nit comments

src/ota_imxrt.c Outdated
// TODO(): fill at init, support more devices in a dynamic way
// TODO(): then, check alignment is <= 256, see Wizard's #251
static struct mg_flash s_mg_flash_imxrt = {
(void *) MG_IMXRT_FLASH_START, // Start,
4 * 1024 * 1024, // Size, 4mb
4 * 1024, // Sector size, 4k
256, // Align,
MG_IMXRT_SECTOR_SIZE, // Sector size, 4k
Copy link
Collaborator

Choose a reason for hiding this comment

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

"4k" is now misleading, please remove it

src/ota_imxrt.c Outdated
.blockSize = 256 * 1024,
.isUniformBlockSize = true};
#else
// Note: this QSPI configuration works both for RTs supporting QSPI
Copy link
Collaborator

Choose a reason for hiding this comment

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

"both" is a leftover

@robertc2000 robertc2000 merged commit 562e82f into master Mar 3, 2025
67 of 80 checks passed
@robertc2000 robertc2000 deleted the ota-rt1050 branch March 3, 2025 08:09
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.

2 participants