esp-rs / esp-pacs

Peripheral Access Crates for Espressif SoCs and modules
Apache License 2.0
115 stars 35 forks source link

Use new `svd2rust` functionality targeted at RISC-V devices #297

Open jessebraham opened 2 weeks ago

jessebraham commented 2 weeks ago

svd2rust has added some new functionality specific to RISC-V devices, see:

An example of this functionality being applied to a PAC can be seen here:

We should take advantage of these new features and add settings.yaml files for each RISC-V PAC.

romancardenas commented 2 weeks ago

Here the e310x pac is generated using svd2rust 0.34.0. You can have an idea about how to use the standard CLINT implementation with the settings.yaml file.