rust-embedded / svd2rust

Generate Rust register maps (`struct`s) from SVD files
Apache License 2.0
675 stars 147 forks source link

shorter names for constants #752

Closed burrbull closed 8 months ago

burrbull commented 8 months ago

Due to less lines in write and modify this potentially leads to smaller size of debug builds.

cc @kossnikita Test this also, please.

kossnikita commented 8 months ago

Tested with #751 and #751 + #752

                   before PR vs after PR
qei               30268/9504 vs 30268/9504
pwm               35612/9524 vs 35612/9524

UPD: No difference

burrbull commented 8 months ago

cc @rust-embedded/tools