Skip to content

Commit b332339

Browse files
committed
add note on caching to REAMDE.md
1 parent 71a57f2 commit b332339

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ fn main() {
5454
rx_d1: gpioc.pc5,
5555
};
5656
57+
58+
// If your MCU's core has caching support (generally true for M7 cores), make sure
59+
// to mark this memory as non-cacheable using the MPU.
5760
let mut rx_ring: [RxRingEntry; 16] = Default::default();
5861
let mut tx_ring: [TxRingEntry; 8] = Default::default();
5962

0 commit comments

Comments
 (0)