stm32/sai: fix build on chips with only SAI4 (like stm32h725re), improve sync config.
This commit is contained in:
		@@ -61,6 +61,7 @@ fn main() {
 | 
			
		||||
    let mut singletons: Vec<String> = Vec::new();
 | 
			
		||||
    for p in METADATA.peripherals {
 | 
			
		||||
        if let Some(r) = &p.registers {
 | 
			
		||||
            println!("cargo:rustc-cfg=peri_{}", p.name.to_ascii_lowercase());
 | 
			
		||||
            match r.kind {
 | 
			
		||||
                // Generate singletons per pin, not per port
 | 
			
		||||
                "gpio" => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user