The branch, master has been updated
via 23d7ac2beac7a4f903c25fd662c3ea59dca1898b (commit)
from 49a41e911a08ce04ad742222e265786a73a71e40 (commit)
- Log -----------------------------------------------------------------
commit 23d7ac2beac7a4f903c25fd662c3ea59dca1898b
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri May 20 08:33:15 2016 +0200
ftdi_eeprom: Improve usability of flash_raw mode
-----------------------------------------------------------------------
Summary of changes:
ftdi_eeprom/main.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ftdi_eeprom/main.c b/ftdi_eeprom/main.c
index 7c6920b..d1c4794 100644
--- a/ftdi_eeprom/main.c
+++ b/ftdi_eeprom/main.c
@@ -611,7 +611,15 @@ int main(int argc, char *argv[])
exit (-1);
}
+ printf("Flashing raw eeprom from file %s (%d bytes)\n",
+ filename, my_eeprom_size);
+
ftdi_set_eeprom_buf(ftdi, eeprom_buf, my_eeprom_size);
+ } else
+ {
+ printf ("ERROR: flash_raw mode enabled, but no eeprom filename
"
+ "given in config file.\n");
+ exit (-1);
}
}
printf ("FTDI write eeprom: %d\n", ftdi_write_eeprom(ftdi));
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|