Heap test passed on k210/qemu, heap size = 3M.

This commit is contained in:
Yifan Wu 2020-12-02 10:32:26 +08:00
parent 4b01ff7cc4
commit 2fd70b0ff4
7 changed files with 81 additions and 11 deletions

View file

@ -3,6 +3,7 @@ pub const KERNEL_STACK_SIZE: usize = 4096 * 2;
pub const MAX_APP_NUM: usize = 4;
pub const APP_BASE_ADDRESS: usize = 0x80100000;
pub const APP_SIZE_LIMIT: usize = 0x20000;
pub const KERNEL_HEAP_SIZE: usize = 0x30_0000;
#[cfg(feature = "board_k210")]
pub const CPU_FREQ: usize = 10000000;