diff --git a/firmware/release-all b/firmware/release-all index 5c46184..76afd1e 100755 --- a/firmware/release-all +++ b/firmware/release-all @@ -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 diff --git a/tools/bootloader/lpcfix.c b/tools/bootloader/lpcfix.c index 3e10ad2..12a585e 100644 --- a/tools/bootloader/lpcfix.c +++ b/tools/bootloader/lpcfix.c @@ -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"