Compilation Instructions for Version 1.4.3I.

This commit is contained in:
GuruSR 2022-05-29 22:24:33 -04:00 committed by GitHub
parent 4330549ca9
commit cbff71c7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,16 @@
Compiling instructions: Compiling instructions:
In order to compile this you need: Arduino Libraries, ArduinoOTA (included in ESP32 2.0.2+), SmallRTC (1.6 or greater, GuruSR), SmallNTP (GuruSR), StableBMA (GuruSR), Olson2POSIX (GuruSR) AND Watchy (1.2.9 or greater) base. In order to compile this you need: Arduino Libraries, ArduinoOTA (included in ESP32 2.0.2, don't use ESP32 2.0.3), SmallRTC (1.6 or greater, GuruSR), SmallNTP (GuruSR), StableBMA (GuruSR), Olson2POSIX (GuruSR) AND Watchy (1.4.1 or greater) base.
**VERSION 1.4.3+ CHANGES** **VERSION 1.4.3+ CHANGES**
Go into the Watchy library folder and move the following files out of it, otherwise it may not compile as these files are out of date: Go into the Watchy library folder and move the following files out of it, otherwise it may not compile as these files are out of date:
Watchy.h, Watchy.cpp, WatchyRTC.h and WatchyRTC.cpp they are not needed at all. Safely ignore any errors from WatchyRTC (it isn't used).
**VERSION 1.4.1 CHANGES** **VERSION 1.4.1 CHANGES**
Requires Watchy base 1.2.9 or greater, as well as the above libraries. When editing the file changes below, DO NOT COPY items that say not to, instead make the changes or copy in the changes to avoid compiler errors. Requires Watchy base 1.4.1 or greater, as well as the above libraries. When editing the file changes below, DO NOT COPY items that say not to, instead make the changes or copy in the changes to avoid compiler errors.
You'll need to edit 2 files: You'll need to edit 2 files:
@ -45,7 +45,7 @@ void GxEPD2_154_D67::setDarkBorder(bool Dark){ // GuruSR: Changed for setDarkB
} // GuruSR: Changed for setDarkBorder } // GuruSR: Changed for setDarkBorder
Change the code in _initdisplay from: Change the code in _InitDisplay from:
void GxEPD2_154_D67::_InitDisplay() void GxEPD2_154_D67::_InitDisplay()
{ {
@ -106,4 +106,4 @@ void setDarkBorder(bool Dark); // GuruSR: Changed for setDarkBorder
Make a backup of these two files if you happen to update a newer version of GxEPD2. Make a backup of these two files if you happen to update a newer version of GxEPD2.
This will allow the compilation on either Arduino or PlatformIO. This will allow the compilation on either Arduino or PlatformIO.