aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src
diff options
context:
space:
mode:
authorDickless <[email protected]>2024-07-07 04:39:39 +0900
committerDickless <[email protected]>2024-07-07 04:39:39 +0900
commit3408e1ddbf7076e119307ae04dce4a9ddf922f34 (patch)
tree40d457c47a0dc58468511c75856d587df281635b /examples/stm32h7/src
parente2aa5ef376d0137e92e1f033801cfcaf9084597a (diff)
Fixed to reserve as much space as it uses.
Diffstat (limited to 'examples/stm32h7/src')
-rw-r--r--examples/stm32h7/src/bin/spi_bdma.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/spi_bdma.rs b/examples/stm32h7/src/bin/spi_bdma.rs
index 65f498506..43fb6b41c 100644
--- a/examples/stm32h7/src/bin/spi_bdma.rs
+++ b/examples/stm32h7/src/bin/spi_bdma.rs
@@ -17,7 +17,7 @@ use {defmt_rtt as _, panic_probe as _};
17 17
18// Defined in memory.x 18// Defined in memory.x
19#[link_section = ".ram_d3"] 19#[link_section = ".ram_d3"]
20static mut RAM_D3: GroundedArrayCell<u8, { 64 * 1024 }> = GroundedArrayCell::uninit(); 20static mut RAM_D3: GroundedArrayCell<u8, 256> = GroundedArrayCell::uninit();
21 21
22#[embassy_executor::task] 22#[embassy_executor::task]
23async fn main_task(mut spi: spi::Spi<'static, Async>) { 23async fn main_task(mut spi: spi::Spi<'static, Async>) {