2023-09-01 12:24 AM
Hi,
I have attached code for .ino .cpp .h has changed to txt file attached here, please verify my code i get error server for erase function failure. and some time not working properly please assist us. please say how to solve this issue. my error was attached with image.
Solved! Go to Solution.
2023-09-04 11:17 AM
2023-09-04 11:17 AM
2023-09-08 02:30 AM
I am using your suggest GitHub code but I get error on -
C:\Users\star\Documents\Arduino\STM\stm32ota.cpp: In function 'String stm32GetId()':
C:\Users\star\Documents\Arduino\STM\stm32ota.cpp:149:1: error: control reaches end of non-void function [-Werror=return-type]
149 | }
| ^
cc1plus.exe: some warnings being treated as errors
exit status 1
Compilation error: control reaches end of non-void function [-Werror=return-type].
and also I get Erase function is failure, I have attached image for I get the error and also i attached Arduino code as txt file, please assist us.
2023-09-08 02:56 AM
Hello @prathap
I'm not understanding the issue.
To give more audience to your question. Please post it in a new post.
Best regards.
II
2023-09-09 02:02 AM
I am using code for you suggest github. I am compile my code i have get an issue for compiler error for - control reaches end of non-void function [-Werror=return-type]. I removed else part in this code, The error is removed but code executed only else part condition and Failure function is not working- failure error. What steps can I take to resolve this problem?