aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGurjant Kalsi <me@gurjantkalsi.com>2016-03-09 15:40:02 -0800
committerGurjant Kalsi <me@gurjantkalsi.com>2016-03-09 15:40:02 -0800
commit0597b570e015713049c2fe684a02d583499fc54f (patch)
treec139644cd77e65be0fc1170fcb115e0b60c2a5fd /target
parentff3e1e2d0c83954a9b740b9a3f07abbbd775ce35 (diff)
downloadcommon-0597b570e015713049c2fe684a02d583499fc54f.tar.gz
[dartuino][bootloader] Get the bootloader into the first 64k
Diffstat (limited to 'target')
-rw-r--r--target/dartuinoP0/bootloader/bootloader_stubs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/dartuinoP0/bootloader/bootloader_stubs.c b/target/dartuinoP0/bootloader/bootloader_stubs.c
index e774b78d..7c6f7547 100644
--- a/target/dartuinoP0/bootloader/bootloader_stubs.c
+++ b/target/dartuinoP0/bootloader/bootloader_stubs.c
@@ -30,7 +30,7 @@ static char bootloader_mount_point[] = "/spifs";
#include <app/moot/stubs.h>
#include <stdio.h>
-#define BOOTLOADER_LENGTH_KB (128)
+#define BOOTLOADER_LENGTH_KB (64)
status_t moot_mount_default_fs(char **mount_path, char **device_name)
{
@@ -40,7 +40,7 @@ status_t moot_mount_default_fs(char **mount_path, char **device_name)
}
const moot_sysinfo_t moot_system_info = {
- .sys_base_addr = 0x00220000,
+ .sys_base_addr = 0x00210000,
.btldr_offset = 0x0,
.bootloader_len = 1024 * BOOTLOADER_LENGTH_KB,
.system_offset = 1024 * BOOTLOADER_LENGTH_KB,