Closed valkuc closed 8 years ago
Thats not all.
Also in main() need to add binary option to output file:
of=open(argv[4], O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0666);
Fixed in c1d3c14e6e56ca6c860485324feafa866648d2ea . Sorry, I keep forgetting about Windows users whenever I write open() statements. Thanks for reporting!
Hi! In mkupgimg.c need to add O_BINARY option in openFile methdod. Otherwise on windows mkupgimg utility returns "build/app.user1.bin: No error" error and exit. Here is fixed function: