Comments (8)
Thanks for letting me know. Some of this might be the compiler used. Did you download the same version of Arduino that I mention in the README?
Either way, some of this can be done in different/older ways that I wouldn't mind switching to, but some might be due to updates in the ESP32 libraries that I need to look into.
Thanks again -- I'll keep this open until all these issues are addressed, though I might ask you to test the fixes, since I cannot.
from zimodem.
Yes I tried the version you referenced. I also tried some the newer version that was mentioned should work and the current.
from zimodem.
Also, was able to try a ESP8266 module and it does compile using current Arduino IDE 1.8.10 and ESP8266 2.5.2 library. I'm a total amateur, but if I find out anything I will update here.
from zimodem.
So, I checked in a version that replaces all those inttypes.h strings with standard printf strings. You might want to try the esp32 again.
from zimodem.
I tried that version, after figuring out an issue I had injected by not editing the library files properly this is what I'm left with. It still doesn't compile but it looks much closer to doing so. Thanks for your work on this.
`Arduino: 1.8.10 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"
C:\Users\Pete\Downloads\Zimodem-master\zimodem\rt_clock.ino:17:0: warning: "htonl" redefined
#define htonl(x) ( ((x)<<24 & 0xFF000000UL) | \
^
In file included from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/lwip/lwip/ip_addr.h:41:0,
from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/tcpip_adapter/tcpip_adapter.h:45,
from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/esp32/esp_event_legacy.h:23,
from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/esp_event/esp_event.h:26,
from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/esp32/esp_event_loop.h:22,
from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi\src/WiFiGeneric.h:27,
from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi\src/WiFiSTA.h:28,
from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi\src/WiFi.h:32,
from sketch\pet2asc.h:17,
from C:\Users\Pete\Downloads\Zimodem-master\zimodem\zimodem.ino:125:
C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/lwip/lwip/def.h:110:0: note: this is the location of the previous definition
#define htonl(x) lwip_htonl(x)
^
In file included from C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32/Arduino.h:154:0,
from sketch\zimodem.ino.cpp:1:
C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32/HardwareSerial.h:72:9: error: 'size_t HardwareSerial::availableForWrite()' cannot be overloaded
size_t availableForWrite();
^
C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32/HardwareSerial.h:63:9: error: with 'int HardwareSerial::availableForWrite()'
int availableForWrite(void);
^
C:\Users\Pete\Downloads\Zimodem-master\zimodem\proto_ftp.ino: In function 'bool doFTPLS(ZSerial*, const char*, int, const char*, const char*, const char*, bool)':
C:\Users\Pete\Downloads\Zimodem-master\zimodem\proto_ftp.ino:355:31: warning: NULL used in arithmetic [-Wpointer-arith]
if((req != NULL)&& (*req != NULL))
^
C:\Users\Pete\Downloads\Zimodem-master\zimodem\proto_http.ino: In function 'WiFiClient* doWebGetStream(const char*, int, const char*, bool, uint32_t*)':
C:\Users\Pete\Downloads\Zimodem-master\zimodem\proto_http.ino:210:12: warning: converting 'false' to pointer type 'WiFiClient*' [-Wconversion-null]
return false;
^
C:\Users\Pete\Downloads\Zimodem-master\zimodem\proto_zmodem.ino: In function 'int zmodem_send_hex(zmodem_t*, uint8_t)':
C:\Users\Pete\Downloads\Zimodem-master\zimodem\proto_zmodem.ino:363:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char* xdigit="0123456789abcdef";
^
Multiple libraries were found for "Update.h"
Used: C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Update
Multiple libraries were found for "SD.h"
Used: C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SD
Not used: C:\Program
Multiple libraries were found for "SPI.h"
Used: C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPI
Multiple libraries were found for "WiFiClientSecure.h"
Used: C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFiClientSecure
Multiple libraries were found for "WiFi.h"
Used: C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Not used: C:\Program
Multiple libraries were found for "SPIFFS.h"
Used: C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPIFFS
Multiple libraries were found for "FS.h"
Used: C:\Users\Pete\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS
exit status 1
Error compiling for board ESP32 Dev Module.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`
from zimodem.
I downloaded the latest ESP32 library from the url in the readme, as of today (about an hour ago), attached it to my Arduino 1.6.11 IDE, made the changes as listed in the >updated< README, and everything looks good now.
It appears they added their own writesRemaining method, but everything was otherwise OK.
from zimodem.
... Well, it compiled ok ... but its crashing at boot time now. :/
from zimodem.
This is definitely and completely fixed now.
from zimodem.
Related Issues (20)
- 3.7 firmware and bbs host, echo enabled by default? HOT 3
- Can't compile: error: no return statement in function returning non-void [-Werror=return-type] HOT 3
- Feature request: additional user-provided HTTP headers and body for AT&G HOT 1
- Arduino sys/socket.h: No such file or directory HOT 3
- collect2.exe: error: ld returned 1 exit status HOT 2
- brand new compile, undefined reference HOT 5
- Prestel / Viewdata Terminal support HOT 1
- missing terminfo HOT 2
- build error, variables not declared in this scope (DEFAULT_DCD_HIGH) HOT 1
- RI (Ring Indicate) signal transition to quick HOT 1
- RS232_INVERTED confusion HOT 1
- Error during compliation HOT 1
- Help Command broken HOT 2
- Uploading Binary files HOT 2
- SPI input enhancement HOT 1
- does not support SGA HOT 1
- ESP32 - build successful but after reboot does not go beyond Init Complete HOT 1
- ATM needed HOT 2
- Add Phone Book Sorting HOT 1
- Amiga compatibility question HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zimodem.