From 9d905d95a58439f824a6662eab39dfc725760220 Mon Sep 17 00:00:00 2001 From: occheung Date: Thu, 10 Oct 2024 13:07:02 +0800 Subject: [PATCH] analyzer: align to sdram page --- artiq/firmware/runtime/analyzer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/runtime/analyzer.rs b/artiq/firmware/runtime/analyzer.rs index 355da1977..18ada4d4f 100644 --- a/artiq/firmware/runtime/analyzer.rs +++ b/artiq/firmware/runtime/analyzer.rs @@ -10,7 +10,7 @@ use core::cell::RefCell; const BUFFER_SIZE: usize = 512 * 1024; -#[repr(align(64))] +#[repr(align(2048))] struct Buffer { data: [u8; BUFFER_SIZE], }