Giter Club home page Giter Club logo

Comments (8)

bozimmerman avatar bozimmerman commented on June 30, 2024

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.

bw21p25 avatar bw21p25 commented on June 30, 2024

Yes I tried the version you referenced. I also tried some the newer version that was mentioned should work and the current.

from zimodem.

bw21p25 avatar bw21p25 commented on June 30, 2024

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.

bozimmerman avatar bozimmerman commented on June 30, 2024

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.

bw21p25 avatar bw21p25 commented on June 30, 2024

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.

bozimmerman avatar bozimmerman commented on June 30, 2024

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.

bozimmerman avatar bozimmerman commented on June 30, 2024

... Well, it compiled ok ... but its crashing at boot time now. :/

from zimodem.

bozimmerman avatar bozimmerman commented on June 30, 2024

This is definitely and completely fixed now.

from zimodem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.