From 44802d4b281a65d242c1cd3b70f5eca27d4ad078 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Wed, 3 Aug 2011 21:59:47 +0200 Subject: [PATCH] More ram size for loadables --- firmware/Makefile.inc | 2 +- firmware/filesystem/execute.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/Makefile.inc b/firmware/Makefile.inc index 855d011..69097c0 100644 --- a/firmware/Makefile.inc +++ b/firmware/Makefile.inc @@ -7,7 +7,7 @@ TARGET = LPC13xx FLASH = 32K SRAM = 8K -RAMCODE=2048 +RAMCODE=2548 # For USB HID support the LPC134x reserves 384 bytes from the sram, # if you don't want to use the USB features, just use 0 here. diff --git a/firmware/filesystem/execute.c b/firmware/filesystem/execute.c index 9b0aa91..3ae2a86 100644 --- a/firmware/filesystem/execute.c +++ b/firmware/filesystem/execute.c @@ -30,7 +30,7 @@ void execute_file (const char * fname, uint8_t checksignature, uint8_t decode){ dst=(void (*)(void)) (sram_top); lcdPrint("T:"); lcdPrintIntHex(dst); lcdNl(); */ - dst=(void (*)(void)) 0x10001800; + dst=(void (*)(void)) 0x1000160C; res=f_open(&file, fname, FA_OPEN_EXISTING|FA_READ);