wolfssl
wolfssl copied to clipboard
Introduce WOLFSSL_ESPIDF_EXIT_MESSAGE macro
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 https://github.com/wolfSSL/wolfssl/issues/6234 for a roadmap of Espressif updates.
Checklist
- [ ] added tests
- [ ] updated/added doxygen
- [ ] updated appropriate READMEs
- [ ] Updated manual and documentation
Jenkins retest this please.
Jenkins retest this please.
Jenkins retest this please.