mirror of https://github.com/m-labs/artiq.git
satman: use 1K log buffer and 4K stack.
This reduces memory requirements in half.
This commit is contained in:
parent
ee4c475cf3
commit
32522be413
|
@ -274,7 +274,7 @@ pub extern fn main() -> i32 {
|
|||
}
|
||||
ALLOC.add_range(&mut _fheap, &mut _eheap);
|
||||
|
||||
static mut LOG_BUFFER: [u8; 65536] = [0; 65536];
|
||||
static mut LOG_BUFFER: [u8; 1024] = [0; 1024];
|
||||
logger_artiq::BufferLogger::new(&mut LOG_BUFFER[..]).register(startup);
|
||||
0
|
||||
}
|
||||
|
|
|
@ -46,10 +46,10 @@ SECTIONS
|
|||
_ebss = .;
|
||||
} > main_ram
|
||||
|
||||
.stack ALIGN(0x1000) :
|
||||
.stack :
|
||||
{
|
||||
_estack = .;
|
||||
. += 0x4000;
|
||||
. += 0x1000;
|
||||
_fstack = . - 4;
|
||||
} > main_ram
|
||||
|
||||
|
|
Loading…
Reference in New Issue