mattogodoy / open-rally-computer

An Open Source tripmaster for navigation rallies
GNU General Public License v3.0
64 stars 11 forks source link

httpclient compile issue #4

Closed iulianb0n closed 1 year ago

iulianb0n commented 1 year ago

Hi,

I just built the hardware for the open rally computer, wanted to program it, followed instructions and ended up with the issue that is further on. What could be the problem do you think? Thank you!

Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html PLATFORM: Espressif 32 (6.0.1) > Espressif ESP32 Dev Module HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:

mattogodoy commented 1 year ago

Hello!

It seems like the HTTPClient library is complaining. My guess is that because this project is now 2 years old, that library must have been updated, and this code is no longer compatible.

Sadly I don't have the time to take a look into it, but it should not be a difficult fix to make. The HTTPClient library is used to check if a new version of the firmware is online, but since I'm not pushing new versions since 2 years ago it's not useful right now. You could even comment out the parts of the code that use it (in https://github.com/mattogodoy/open-rally-computer/blob/master/src/ota.cpp).

If you decide to fix it instead of commenting out your code, I'd appreciate a Pull Request to merge the fix into this project. Thanks a good luck!

iulianb0n commented 1 year ago

Thank you for the response and temporary fix, will have a go at doing a full fix, once I understand what needs to be done(almost complete noob at this).

mattogodoy commented 1 year ago

No problem! Have fun :)