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

fix: flash baud #273

Merged
merged 1 commit into from
Apr 2, 2024
Merged

fix: flash baud #273

merged 1 commit into from
Apr 2, 2024

Conversation

horw
Copy link
Member

@horw horw commented Apr 2, 2024

Set the baud rate to 1,000,000 to make the flash faster when no value is set up.
Closes #268.

@horw horw requested a review from hfudev April 2, 2024 10:21
@horw horw force-pushed the fix/flash_baud branch from ce6ca3e to 23ac322 Compare April 2, 2024 10:24
@horw horw changed the title Fix/flash baud fix: flash baud Apr 2, 2024
Comment on lines +166 to 167
_args.extend(['--baud', os.getenv('ESPBAUD', '1000000')])
_args.append('write_flash')
Copy link
Member

Choose a reason for hiding this comment

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

I'll merge it as is. next time better to add a blank line here, to make code blocks referring different logic separated.

Suggested change
_args.extend(['--baud', os.getenv('ESPBAUD', '1000000')])
_args.append('write_flash')
_args.extend(['--baud', os.getenv('ESPBAUD', '1000000')])
_args.append('write_flash')

@hfudev hfudev merged commit cc303f2 into espressif:main Apr 2, 2024
5 checks passed
@hfudev
Copy link
Member

hfudev commented Apr 2, 2024

LGTM!

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.

Esptool Flash is Slow (RDT-722)
2 participants