This is based on the work done by @icewind1991, available here, to generate an SVD file for the ESP8266. Just thought it'd be good to have everything under one roof.
I basically just created a simple CLI utility using clap which allows you to generate either file using cargo run esp32 or cargo run esp8266, and pulled in the aforementioned code. The bits specific to the ESP32 are in the idf module, and for the ESP8266 in the sdk module. A small refactor was then done and some code was extracted into the common module.
The ESP8266 requires invoking the Makefile prior to running the application, which as been documented in the README.
I have also updated Cargo.toml to include some additional metadata. The version number has already been incremented as well. Additionally I added the license files (I'm just assuming on these, let me know if you'd like to use something else).
I'm not really sure what to call this anymore since the ESP8266 doesn't use esp-idf, so I've just used header2svd for now. I can change this if we come up with something better.
As far as I can tell everything is working as expected. If you find any problems or would like any further changes made please just let me know and I'll be happy to take care of it.
This is based on the work done by @icewind1991, available here, to generate an SVD file for the ESP8266. Just thought it'd be good to have everything under one roof.
I basically just created a simple CLI utility using clap which allows you to generate either file using
cargo run esp32
orcargo run esp8266
, and pulled in the aforementioned code. The bits specific to the ESP32 are in theidf
module, and for the ESP8266 in thesdk
module. A small refactor was then done and some code was extracted into thecommon
module.The ESP8266 requires invoking the
Makefile
prior to running the application, which as been documented in theREADME
.I have also updated
Cargo.toml
to include some additional metadata. The version number has already been incremented as well. Additionally I added the license files (I'm just assuming on these, let me know if you'd like to use something else).I'm not really sure what to call this anymore since the ESP8266 doesn't use esp-idf, so I've just used
header2svd
for now. I can change this if we come up with something better.As far as I can tell everything is working as expected. If you find any problems or would like any further changes made please just let me know and I'll be happy to take care of it.