Dependencies:   mbed

Revision:
1:0872c208795f
Parent:
0:15536fa79743
Child:
2:9e3ee0c6536b
--- a/LPC.h	Tue Sep 27 15:44:55 2011 +0000
+++ b/LPC.h	Thu Sep 29 11:32:52 2011 +0000
@@ -16,7 +16,7 @@
     void TargetSendString(char string[]);                   //Sends a string to the board
     void TargetSendStringAndCR(char string[]);              //Sends a string to the board followed by a carriage return character
     int CheckTargetPresent(void);                           //Starts the handshaking and then verifies the type of chip from a returned ID code
-    int ProgramFile(char *fname);                           //Programs the UUEncoded data onto the RAM and the copies into the flash
+    int ProgramFile(void);                           //Programs the UUEncoded data onto the RAM and the copies into the flash
     int UUEncode(void);                                     //Encodes the file into UU-encoded format
     int Encode3(void);                                      //Sub-function to UUEncode which encodes the 3 raw bytes into 4 UU-encoded bytes
     int FirstEncode(void);                                  //Encodes the first UUEncoded line which needs the first checksum added to it as the 8th DWORD
@@ -44,6 +44,7 @@
     bool firstencode;                                       //True if no encoding of the file has been done
     int maxsector;                                          //Number of sectors required in order to accommodate the program, based on filesize
     long int filesize;                                      //Filesize is the...file...size (number of bytes in the file to load to the chip)
+    int RAM;
     
     //Serial Buffered
     void handleInterrupt();