Closed jamesgraves closed 1 year ago
Thanks for your contribution! I was about to have a look at this as we were discussing it in: https://github.com/esp-rs/espflash/pull/374. I wonder if we could easily use the hex crate with the serde feature to keep it in hexadecimal.
Closed by #383 to make it backward compatible, it needed to use hex instead of decimal
Thank you!
When using serde-hex, the vid and pid are saved as:
in the
~/.config/espflash/espflash.toml
file.However, upon loading, we see an error message:
The serde-hex source code hasn't been updated in 4 years, and is not apparently compatible with the toml crate.
Storing the vid and pid as decimal integers is not ideal, but it at least works correctly.