We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 935512c commit 9e210cbCopy full SHA for 9e210cb
src/main.rs
@@ -303,7 +303,7 @@ fn generate_pin_mappings(
303
fn generate_eeprom_sizes(mcu_eeprom_size_map: &HashMap<u32, Vec<String>>) -> Result<(), String> {
304
println!("// EEPROM sizes in bytes, generated with cube-parse");
305
for size in mcu_eeprom_size_map.keys() {
306
- println!("#[cfg({})]", eeprom_size_to_feature(*size));
+ println!("#[cfg(feature = \"{}\")]", eeprom_size_to_feature(*size));
307
println!("const EEPROM_SIZE_BYTES: u32 = {};", size);
308
}
309
Ok(())
0 commit comments