2k space for applets
This commit is contained in:
parent
1c2846734c
commit
3319c24c6d
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue