mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
Add documentation for compressed OTA, fix bug (#6924)
* Add documentation for compressed OTA, fix bug Fixes #6923 Documents the user steps needed to do a compressed upload, and notes the 2-step process needed for deploying compressed uploads to the field for the first time. Fixes a bug in serial output formatting discovered by @AdrianEddy. Adds additional contributors for uzlib, per @pfalcon. * Update README for esptool.py, too
This commit is contained in:
committed by
GitHub
parent
622baa1659
commit
9985a32914
@ -27,14 +27,14 @@ int print_version(const uint32_t flash_addr)
|
||||
if (SPIRead(flash_addr + APP_START_OFFSET + sizeof(image_header_t) + sizeof(section_header_t), &ver, sizeof(ver))) {
|
||||
return 1;
|
||||
}
|
||||
char fmt[16];
|
||||
char fmt[7];
|
||||
fmt[0] = 'v';
|
||||
fmt[1] = '%';
|
||||
fmt[2] = '0';
|
||||
fmt[3] = '8';
|
||||
fmt[4] = 'x';
|
||||
fmt[5] = '\n';
|
||||
fmt[6] = '0';
|
||||
fmt[6] = 0;
|
||||
ets_printf((const char*) fmt, ver);
|
||||
return 0;
|
||||
}
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user