From: Nathael Pajani Date: Tue, 10 Mar 2015 20:44:19 +0000 (+0100) Subject: Small fixes in comments and README file X-Git-Tag: v1.07~3 X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=f3c4b8594f7354773d0bf199bf6c652be496fbcf;p=soft%2Ftools%2Flpctools Small fixes in comments and README file --- diff --git a/README b/README index dbe5588..8fb0849 100644 --- 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 : 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 ? diff --git a/lpcprog.c b/lpcprog.c index 14343a0..bedcbee 100644 --- 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; diff --git a/prog_commands.h b/prog_commands.h index fcd06f1..6c7b716 100644 --- a/prog_commands.h +++ b/prog_commands.h @@ -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);