i2c: Disabled on Cora Z7-10 #62
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "harry/zynq-rs:i2c"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This is to disable the I2C code when the firmware is to be compiled on Cora Z7-10.
@ -22,6 +22,11 @@ impl<'a> EEPROM<'a> {
}
}
#[cfg(feature = "target_cora_z7_10")]
not needed if you are removing the entire module unless it's ZC706
Fixed in
960eb92f9967eb56c6a351431f87f1c53babb1c7
. I thought about a possibility that someone in the future would implement I2C on the Cora board themselves, so I included these lines acting as "clues" about what functions would need to be implemented.@ -43,6 +43,11 @@ impl I2C {
Self::ctor_common(0xFFFF - 0x000C)
}
#[cfg(feature = "target_cora_z7_10")]
same as above