1
mirror of https://github.com/rvdbreemen/OTGW-firmware synced 2024-11-16 04:33:49 +01:00

fix the 0bytes on update Pic firmware, by downgrading the core to 2.7.4

This commit is contained in:
Robert van den Breemen 2023-03-14 22:26:17 +01:00
parent fa737be11e
commit 2d64148d12
2 changed files with 16 additions and 14 deletions

View File

@ -12,7 +12,9 @@ CFLAGS = $(CFLAGS_DEFAULT)
CLI := arduino-cli CLI := arduino-cli
PLATFORM := esp8266:esp8266 PLATFORM := esp8266:esp8266
CFGFILE := arduino-cli.yaml CFGFILE := arduino-cli.yaml
ESP8266URL := https://github.com/esp8266/Arduino/releases/download/3.0.2/package_esp8266com_index.json # bug in http stream, fallback to 2.7.4
# ESP8266URL := https://github.com/esp8266/Arduino/releases/download/3.0.2/package_esp8266com_index.json
ESP8266URL := https://github.com/esp8266/Arduino/releases/download/2.7.4/package_esp8266com_index.json
LIBRARIES := libraries/WiFiManager libraries/ArduinoJson libraries/PubSubClient libraries/TelnetStream libraries/AceTime libraries/OneWire libraries/DallasTemperature LIBRARIES := libraries/WiFiManager libraries/ArduinoJson libraries/PubSubClient libraries/TelnetStream libraries/AceTime libraries/OneWire libraries/DallasTemperature
BOARDS := arduino/package_esp8266com_index.json BOARDS := arduino/package_esp8266com_index.json
# PORT can be overridden by the environment or on the command line. E.g.: # PORT can be overridden by the environment or on the command line. E.g.:
@ -78,7 +80,7 @@ libraries/PubSubClient:
$(CLI) lib install pubsubclient@2.8.0 $(CLI) lib install pubsubclient@2.8.0
libraries/TelnetStream: libraries/TelnetStream:
$(CLI) lib install TelnetStream@1.2.2 $(CLI) lib install TelnetStream@1.2.4
libraries/AceTime: libraries/AceTime:
$(CLI) lib install Acetime@2.0.1 $(CLI) lib install Acetime@2.0.1

View File

@ -1,16 +1,16 @@
//The version number conforms to semver.org format //The version number conforms to semver.org format
#define _VERSION_MAJOR 0 #define _VERSION_MAJOR 0
#define _VERSION_MINOR 10 #define _VERSION_MINOR 10
#define _VERSION_PATCH 1 #define _VERSION_PATCH 2
#define _VERSION_BUILD 2072 #define _VERSION_BUILD 2087
#define _VERSION_GITHASH "141d6bf" #define _VERSION_GITHASH "fa737be"
//#define _VERSION_PRERELEASE beta //uncomment to define prerelease labels: alpha - beta - rc #define _VERSION_PRERELEASE beta
#define _VERSION_DATE "26-02-2023" #define _VERSION_DATE "14-03-2023"
#define _VERSION_TIME "21:02:42" #define _VERSION_TIME "22:07:39"
#define _SEMVER_CORE "0.10.1" #define _SEMVER_CORE "0.10.2"
#define _SEMVER_BUILD "0.10.1+2072" #define _SEMVER_BUILD "0.10.2+2087"
#define _SEMVER_GITHASH "0.10.1+141d6bf" #define _SEMVER_GITHASH "0.10.2+fa737be"
#define _SEMVER_FULL "0.10.1+141d6bf" #define _SEMVER_FULL "0.10.2-beta+fa737be"
#define _SEMVER_NOBUILD "0.10.1 (26-02-2023)" #define _SEMVER_NOBUILD "0.10.2-beta (14-03-2023)"
#define _VERSION "0.10.1+141d6bf (26-02-2023)" #define _VERSION "0.10.2-beta+fa737be (14-03-2023)"
//The version information is created automatically, more information here: https://github.com/rvdbreemen/autoinc-semver //The version information is created automatically, more information here: https://github.com/rvdbreemen/autoinc-semver