Small fixes in comments and README file
authorNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 10 Mar 2015 20:44:19 +0000 (21:44 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 10 Mar 2015 20:44:19 +0000 (21:44 +0100)
README
lpcprog.c
prog_commands.h

diff --git a/README b/README
index dbe5588..8fb0849 100644 (file)
--- a/README
+++ b/README
@@ -16,7 +16,7 @@ Both programs were originally written by Nathael Pajani
 under non-free licences, did not allow comercial use, or did not
 provide source code.
 
-This program is released under the terms of the GNU GPLv3 licence
+These programs are released under the terms of the GNU GPLv3 licence
 as can be found on the GNU website : <http://www.gnu.org/licenses/>
 or in the included LICENSE file.
 
@@ -26,7 +26,7 @@ TODO :
 
 Allow flashing of parts with flash sectors of different sizes (LPC1764
 has 16 small 4k sectors and two big 32k sectors).
---> Need to change parts definition format.
+--> Need either to change parts definition format or to flash in two times.
 
 Add the definition of all LPC parts ?
 
index 14343a0..bedcbee 100644 (file)
--- a/lpcprog.c
+++ b/lpcprog.c
@@ -158,7 +158,7 @@ int main(int argc, char** argv)
                                crystal_freq = atoi(optarg);
                                break;
 
-                       /* u, user-code */
+                       /* n, user-code */
                        case 'n':
                                calc_user_code = 0;
                                break;
index fcd06f1..6c7b716 100644 (file)
@@ -29,7 +29,7 @@ int dump_to_file(struct part_desc* part, char* filename);
 
 int erase_flash(struct part_desc* part);
 
-int flash_target(struct part_desc* part, char* filename, int check);
+int flash_target(struct part_desc* part, char* filename, int check_user_code);
 
 int get_ids(void);