Skip to content

Conversation

@playfulFence
Copy link
Member

closes #757

Comment on lines 37 to 43
echo "Testing ROM read-flash with length: $len"
result=$(espflash read-flash --no-stub 0 "$len" flash_content.bin 2>&1)
echo "$result"
if [[ ! $result =~ "Flash content successfully read and written to" ]]; then
echo "Failed to read $len bytes from flash"
exit 1
fi
Copy link
Member

Choose a reason for hiding this comment

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

Could we verify the flash contents for this test as well please?

Copy link
Member Author

Choose a reason for hiding this comment

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

Haha damn, totally forgot about it, sorry 😆
Will push the change in no time

Copy link
Member

Choose a reason for hiding this comment

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

All good, thanks!

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

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

Thanks!

@jessebraham jessebraham added this pull request to the merge queue Mar 24, 2025
Merged via the queue into esp-rs:main with commit dc81d8f Mar 24, 2025
24 checks passed
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.

espflash read-flash should also work with --no-stub

2 participants