Closed
Description
The code generated from the file STM32L063x.svd doesn't compile. Because the read-writeOnce access mode is not supported by svd2rust the DAC_SR register has no access methods:
# [ doc = "Digital-to-analog converter" ]
pub mod dac {
// ..
# [ doc = "status register" ]
pub struct Sr {
register: VolatileCell<u32>,
}
# [ doc = "status register" ]
pub mod sr {
impl super::Sr {}
}
}
And you run into an unused field warning which becomes an error because of #![deny(warnings)]
.
Metadata
Metadata
Assignees
Labels
No labels