Initial commit
This commit is contained in:
13
patches/tock/03-app-memory.patch
Normal file
13
patches/tock/03-app-memory.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/boards/nordic/nrf52840dk/src/main.rs b/boards/nordic/nrf52840dk/src/main.rs
|
||||
index bd71dfbe..e8247905 100644
|
||||
--- a/boards/nordic/nrf52840dk/src/main.rs
|
||||
+++ b/boards/nordic/nrf52840dk/src/main.rs
|
||||
@@ -113,7 +113,7 @@ const FAULT_RESPONSE: kernel::procs::FaultResponse = kernel::procs::FaultRespons
|
||||
const NUM_PROCS: usize = 8;
|
||||
|
||||
#[link_section = ".app_memory"]
|
||||
-static mut APP_MEMORY: [u8; 245760] = [0; 245760];
|
||||
+static mut APP_MEMORY: [u8; 0x3A000] = [0; 0x3A000];
|
||||
|
||||
static mut PROCESSES: [Option<&'static dyn kernel::procs::ProcessType>; NUM_PROCS] =
|
||||
[None, None, None, None, None, None, None, None];
|
||||
Reference in New Issue
Block a user