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

Introduce WOLFSSL_ESPIDF_EXIT_MESSAGE macro #7067

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

gojimmypi
Copy link
Contributor

@gojimmypi gojimmypi commented Dec 14, 2023

Description

This PR adds the WOLFSSL_ESPIDF_EXIT_MESSAGE macro to the Espressif port, along with some minor example code cleanup.

When a keyword is encountered by the new testMonitor.sh script (PR for that coming soon)... the serial port capture process exits. This is in contrast to using the ESP-IDF.py monitor command that continues to monitor until Ctrl-] is pressed.

For reference, see also the suggestion from Ivan regarding using the espressif/pytest-embedded. I chose to write a small Python script, instead.

./testMonitor.sh wolfssl_benchmark esp32c6 HW

The exit when detecting the WOLFSSL_COMPLETE keyword looks something like this for the benchmark example:

I (55745) wolfssl_benchmark:

Done!

WOLFSSL_COMPLETE
Example completed. Exiting monitor.

Fixes zd# n/a/

Testing

How did you test?

Tested in the ESP-IDF environment only.

See #6234 for a roadmap of Espressif updates.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@gojimmypi
Copy link
Contributor Author

Jenkins retest this please.

1 similar comment
@gojimmypi
Copy link
Contributor Author

Jenkins retest this please.

@gojimmypi gojimmypi assigned dgarske and unassigned dgarske Dec 14, 2023
@dgarske dgarske requested review from wolfSSL-Bot and removed request for dgarske December 28, 2023 21:44
@SparkiDev SparkiDev merged commit c568e3c into wolfSSL:master Mar 7, 2024
112 checks passed
@gojimmypi
Copy link
Contributor Author

Jenkins retest this please.

@gojimmypi gojimmypi deleted the PR-Espressif-Monitor-Keyword branch October 9, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants