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

add Rtc::disable_rom_message_printing #2280

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

dimpolo
Copy link
Contributor

@dimpolo dimpolo commented Oct 5, 2024

Description

Add method to temporarily disable log messages of the ROM bootloader on the S3 and H2.
I also checked the other chips but they don't document this functionality.
Corresponding TRM chapters:

  • ESP32 x
  • C2 (8684) 7.3.3
  • C3 7.3
  • C6 9.2.3
  • S2 7.3

Testing

Tested on the S3.
When using espflash with --monitor flag the first thing you'll see after flashing are the messages of the ROM bootloader.
After adding this method to a test program these messages disappear when re-flashing.

@dimpolo dimpolo force-pushed the disable-rom-print branch from f4f8f50 to 5acade1 Compare October 5, 2024 08:09
@dimpolo dimpolo force-pushed the disable-rom-print branch from 5acade1 to 8d7434d Compare October 5, 2024 08:28
@dimpolo dimpolo marked this pull request as ready for review October 5, 2024 08:28
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! I will ask in our internal chat if I can get any information on this feature regarding the other chips, but happy to merge this as-is.

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@bjoernQ bjoernQ added this pull request to the merge queue Oct 7, 2024
Merged via the queue into esp-rs:main with commit f4540a5 Oct 7, 2024
28 of 38 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.

3 participants