Fix lpcfix -h, also protect firmware
This commit is contained in:
parent
0adf209074
commit
880a1679d8
|
@ -32,7 +32,6 @@ echo "###"
|
|||
echo "### Building initial"
|
||||
echo "###"
|
||||
|
||||
export FINAL=y
|
||||
git checkout filesystem/ffconf.h
|
||||
make clean
|
||||
make APP=initial
|
||||
|
@ -41,10 +40,12 @@ cp firmware.bin $TARG/initial.bin
|
|||
echo "###"
|
||||
echo "### Building final"
|
||||
echo "###"
|
||||
export FINAL=y
|
||||
cp filesystem/ffconf.h-final ffconf.h
|
||||
make clean
|
||||
./l0dable/mktable.pl
|
||||
make APP=final
|
||||
make protect
|
||||
cp firmware.elf $TARG/final.elf
|
||||
cp firmware.bin $TARG/final.bin
|
||||
|
||||
|
|
|
@ -64,8 +64,9 @@ int main(int argc, char *argv[]) {
|
|||
"enables/disables the content read protection flags\n"
|
||||
"\n\n"
|
||||
"-n Do not change CRC information\n"
|
||||
"-c Fix CRC\n"
|
||||
"-v Be verbose (-v -v = even more)\n"
|
||||
"-c mode Enable CRP (Content read protection) mode\n"
|
||||
"-p mode Enable CRP (Content read protection) mode\n"
|
||||
"-h This help\n\n"
|
||||
"CRP modes valid:\n"
|
||||
"0 Disable CRP\n"
|
||||
|
|
Loading…
Reference in New Issue