mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
Improve OTA error message
This commit is contained in:
parent
8c73558165
commit
1fa4a2d256
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ def check_error(data, expect):
|
||||||
"choose the correct 'board' option (esp01_1m always works) and try again.")
|
"choose the correct 'board' option (esp01_1m always works) and try again.")
|
||||||
if dat == RESPONSE_ERROR_ESP8266_NOT_ENOUGH_SPACE:
|
if dat == RESPONSE_ERROR_ESP8266_NOT_ENOUGH_SPACE:
|
||||||
raise OTAError("Error: ESP does not have enough space to store OTA file. Please try "
|
raise OTAError("Error: ESP does not have enough space to store OTA file. Please try "
|
||||||
"flashing a minimal firmware (see FAQ)")
|
"flashing a minimal firmware (remove everything except ota)")
|
||||||
if dat == RESPONSE_ERROR_ESP32_NOT_ENOUGH_SPACE:
|
if dat == RESPONSE_ERROR_ESP32_NOT_ENOUGH_SPACE:
|
||||||
raise OTAError("Error: The OTA partition on the ESP is too small. ESPHome needs to resize "
|
raise OTAError("Error: The OTA partition on the ESP is too small. ESPHome needs to resize "
|
||||||
"this partition, please flash over USB.")
|
"this partition, please flash over USB.")
|
||||||
|
|
Loading…
Reference in a new issue