diff --git a/firmware/Makefile.inc b/firmware/Makefile.inc index d4cafc1..1983ef8 100644 --- a/firmware/Makefile.inc +++ b/firmware/Makefile.inc @@ -7,7 +7,7 @@ TARGET = LPC13xx FLASH = 32K SRAM = 8K -RAMCODE=1K +RAMCODE=2K # 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/applications/executor.c b/firmware/applications/executor.c index fb9281e..03d9637 100644 --- a/firmware/applications/executor.c +++ b/firmware/applications/executor.c @@ -50,7 +50,7 @@ void execute_file (const char * fname){ UINT readbytes; void (*dst)(void); - dst=(void (*)(void)) 0x10001c00; + dst=(void (*)(void)) 0x10001800; res=f_open(&file, fname, FA_OPEN_EXISTING|FA_READ); put_rc(res); @@ -58,7 +58,7 @@ void execute_file (const char * fname){ return; }; - res = f_read(&file, (char *)dst, 1024, &readbytes); + res = f_read(&file, (char *)dst, 2048, &readbytes); put_rc_y(res,8); if(res){ return; @@ -79,6 +79,7 @@ void execute_file (const char * fname){ void main_executor(void) { + lcdSetPixel(0,0,0); //the spaceinvader module needs this backlightInit(); //disable the JTAG on PIO3_3