increase buffer size
This commit is contained in:
parent
203f8f335f
commit
b2fd23dadc
|
@ -51,15 +51,12 @@ SECTIONS
|
||||||
__heap0_start = .;
|
__heap0_start = .;
|
||||||
. += 0x8000000;
|
. += 0x8000000;
|
||||||
__heap0_end = .;
|
__heap0_end = .;
|
||||||
__heap1_start = .;
|
|
||||||
. += 0x8000000;
|
|
||||||
__heap1_end = .;
|
|
||||||
} > SDRAM
|
} > SDRAM
|
||||||
|
|
||||||
.stack1 (NOLOAD) : ALIGN(8)
|
.stack1 (NOLOAD) : ALIGN(8)
|
||||||
{
|
{
|
||||||
__stack1_end = .;
|
__stack1_end = .;
|
||||||
. += 0x1000000;
|
. += 0x2000;
|
||||||
__stack1_start = .;
|
__stack1_start = .;
|
||||||
} > SDRAM
|
} > 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))]
|
#[repr(C, align(128))]
|
||||||
struct DmaBuffer {
|
struct DmaBuffer {
|
||||||
|
|
Loading…
Reference in New Issue