File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
libraries/ESP_HostedOTA/src Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ dependencies:
109109 rules :
110110 - if : " target in [esp32s3, esp32p4]"
111111 espressif/esp_hosted :
112- version : " ^2.8.0 "
112+ version : " ^2.9.2 "
113113 rules :
114114 - if : " target == esp32p4"
115115 espressif/esp_wifi_remote :
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ bool updateEspHostedSlave() {
7373 NetworkClient *stream = https.getStreamPtr ();
7474
7575 // Step 11: Initialize the ESP-Hosted update process
76+ Serial.println (" Beginning update process..." );
7677 if (!hostedBeginUpdate ()) {
7778 Serial.println (" ERROR: esp-hosted update start failed!" );
7879 https.end ();
@@ -118,21 +119,24 @@ bool updateEspHostedSlave() {
118119
119120 // Step 14: Check if entire firmware has been downloaded
120121 if (len == 0 ) {
122+ Serial.println ();
121123 // Finalize the update process
124+ Serial.println (" Finalizing update process..." );
122125 if (!hostedEndUpdate ()) {
123- Serial.println (" \n ERROR : esp-hosted update end failed!" );
126+ Serial.println (" ERROR : esp-hosted update end failed!" );
124127 break ;
125128 }
126129
127130 // Activate the new firmware
131+ Serial.println (" Activating new firmware..." );
128132 if (!hostedActivateUpdate ()) {
129- Serial.println (" \n ERROR : esp-hosted update activate failed!" );
133+ Serial.println (" ERROR : esp-hosted update activate failed!" );
130134 break ;
131135 }
132136
133137 // Update completed successfully
134138 updateSuccess = true ;
135- Serial.println (" \n SUCCESS : esp-hosted co-processor updated!" );
139+ Serial.println (" SUCCESS : esp-hosted co-processor updated!" );
136140 break ;
137141 }
138142 }
You can’t perform that action at this time.
0 commit comments