feat(advanced console): Add support for ESP32-P4 and ESP32-C5 models … (IDFGH-13720) #14591
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR enhances the
version
advanced console command output in the iPerf example to correctly display the model names for the ESP32-P4 and ESP32-C5 microcontrollers. The iPerf example now prints the ESP-IDF version number, chip information, and model name when the "version" command is executed.Previous Behavior
Before this change, the models ESP32-P4 and ESP32-C5 were displayed as "Unknown".
As an example, the execution before modification serves
The model is unknown.
New Behavior
After the modification, the model names are correctly displayed.
Here’s an example of the output when using the ESP32-C5:
The model ESP32C5 is now known and is now correctly printed with the model name ESP32-C5.
The code before
and the code after the change / add
Code Changes
The following cases were added to the
get_version
function:The ESP32-P4 and ESP32-C5 models have been added.
Example ESP32-C5
Attached Picture as Link
Related
Testing
Tested with ESP32-C5-DevKitC-1 and iPerf example and modification
successful printed out the right found model name
#14021 (comment)
Checklist
Before submitting a Pull Request, please ensure the following: