increase buffer size

master
Sebastien Bourdeauducq 3 months ago
parent 203f8f335f
commit b2fd23dadc
  1. 5
      src/firmware/link.x
  2. 2
      src/firmware/src/main.rs

@ -51,15 +51,12 @@ SECTIONS
__heap0_start = .;
. += 0x8000000;
__heap0_end = .;
__heap1_start = .;
. += 0x8000000;
__heap1_end = .;
} > SDRAM
.stack1 (NOLOAD) : ALIGN(8)
{
__stack1_end = .;
. += 0x1000000;
. += 0x2000;
__stack1_start = .;
} > SDRAM

@ -64,7 +64,7 @@ fn identifier_read(buf: &mut [u8]) -> &str {
}
const BUFFER_SIZE: usize = 16*1024*1024;
const BUFFER_SIZE: usize = 300*1024*1024;
#[repr(C, align(128))]
struct DmaBuffer {

Loading…
Cancel
Save