diff options
| -rw-r--r-- | cyw43-pio/Cargo.toml | 5 | ||||
| -rw-r--r-- | cyw43-pio/src/lib.rs | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/cyw43-pio/Cargo.toml b/cyw43-pio/Cargo.toml index 4ca227d3d..dbb94f612 100644 --- a/cyw43-pio/Cargo.toml +++ b/cyw43-pio/Cargo.toml | |||
| @@ -7,7 +7,8 @@ edition = "2021" | |||
| 7 | 7 | ||
| 8 | [dependencies] | 8 | [dependencies] |
| 9 | cyw43 = { path = "../" } | 9 | cyw43 = { path = "../" } |
| 10 | embassy-rp = { version = "0.1.0", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver"] } | 10 | embassy-rp = { version = "0.1.0", features = ["unstable-traits", "nightly", "unstable-pac", "time-driver"] } |
| 11 | # embassy-rp = { version = "0.1.0", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver"] } | ||
| 11 | pio-proc = "0.2" | 12 | pio-proc = "0.2" |
| 12 | pio = "0.2.1" | 13 | pio = "0.2.1" |
| 13 | defmt = "0.3" \ No newline at end of file | 14 | # defmt = "0.3" \ No newline at end of file |
diff --git a/cyw43-pio/src/lib.rs b/cyw43-pio/src/lib.rs index 9c425cbaa..f67a55a08 100644 --- a/cyw43-pio/src/lib.rs +++ b/cyw43-pio/src/lib.rs | |||
| @@ -129,7 +129,7 @@ where | |||
| 129 | let write_bits = write.len() * 32 - 1; | 129 | let write_bits = write.len() * 32 - 1; |
| 130 | let read_bits = 31; | 130 | let read_bits = 31; |
| 131 | 131 | ||
| 132 | defmt::trace!("write={} read={}", write_bits, read_bits); | 132 | // defmt::trace!("write={} read={}", write_bits, read_bits); |
| 133 | 133 | ||
| 134 | let mut dma = Peripheral::into_ref(&mut self.dma); | 134 | let mut dma = Peripheral::into_ref(&mut self.dma); |
| 135 | pio_instr_util::set_x(&mut self.sm, write_bits as u32); | 135 | pio_instr_util::set_x(&mut self.sm, write_bits as u32); |
| @@ -151,7 +151,7 @@ where | |||
| 151 | let write_bits = 31; | 151 | let write_bits = 31; |
| 152 | let read_bits = read.len() * 32 + 32 - 1; | 152 | let read_bits = read.len() * 32 + 32 - 1; |
| 153 | 153 | ||
| 154 | defmt::trace!("write={} read={}", write_bits, read_bits); | 154 | // defmt::trace!("write={} read={}", write_bits, read_bits); |
| 155 | 155 | ||
| 156 | let mut dma = Peripheral::into_ref(&mut self.dma); | 156 | let mut dma = Peripheral::into_ref(&mut self.dma); |
| 157 | pio_instr_util::set_y(&mut self.sm, read_bits as u32); | 157 | pio_instr_util::set_y(&mut self.sm, read_bits as u32); |
