-
Notifications
You must be signed in to change notification settings - Fork 147
Add magic value for esp32c5 #940
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 magic value for esp32c5 #940
Conversation
JurajSadel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
SergioGasquez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did you check the magic number of your device? Using the espflash logs? According to esp-serial-flasher the magic number is 0x1101406F
I ran |
SergioGasquez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late reply! I did investigated a bit more and found out that it has several magic values, see https://github.com/espressif/esptool-js/blob/4d5231289af64659480c1119a0ba476c6cd402ea/src/targets/esp32c5.ts#L52, mind adding the other two?
Thanks!
c4c3bd5 to
b018b2f
Compare
SergioGasquez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing, could you add a changelog entry?? Thanks!
|
Thanks for the contribution, since well release 4.1.0 I merged the PR as it is and added the changelog entry in #952 |
Add
0x5fd1_406fas the magic value for identifying ESP32-C5. This value matches the value reported by my ESP32-C5. The attached image shows the result of runningespflash board-infowith the ESP32-C5 connected: