increase buffer size

This commit is contained in:
Sebastien Bourdeauducq 2022-08-30 19:24:46 +08:00
parent 203f8f335f
commit b2fd23dadc
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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 {