mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-15 18:06:39 +02:00
0.7.27
* added compile option for ethernet #886 * fix ePaper configuration, missing `Busy`-Pin #1075
This commit is contained in:
parent
502cf81774
commit
6156145bd6
7 changed files with 30 additions and 22 deletions
2
.github/workflows/compile_development.yml
vendored
2
.github/workflows/compile_development.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
run: python convert.py
|
run: python convert.py
|
||||||
|
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: pio run -d src --environment esp8266-release --environment esp8266-release-prometheus --environment esp8285-release --environment esp32-wroom32-release --environment esp32-wroom32-release-prometheus --environment opendtufusionv1-release
|
run: pio run -d src --environment esp8266-release --environment esp8266-release-prometheus --environment esp8285-release --environment esp32-wroom32-release --environment esp32-wroom32-release-prometheus --environment esp32-wroom32-ethernet-release --environment opendtufusionv1-release
|
||||||
|
|
||||||
- name: Copy boot_app0.bin
|
- name: Copy boot_app0.bin
|
||||||
run: cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin src/.pio/build/opendtufusionv1-release/ota.bin
|
run: cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin src/.pio/build/opendtufusionv1-release/ota.bin
|
||||||
|
|
|
@ -79,6 +79,11 @@ def readVersion(path, infile):
|
||||||
dst = path + "firmware/" + versionout
|
dst = path + "firmware/" + versionout
|
||||||
os.rename(src, dst)
|
os.rename(src, dst)
|
||||||
|
|
||||||
|
versionout = version[:-1] + "_" + sha + "esp32_ethernet.bin"
|
||||||
|
src = path + ".pio/build/esp32-wroom32-ethernet-release/firmware.bin"
|
||||||
|
dst = path + "firmware/" + versionout
|
||||||
|
os.rename(src, dst)
|
||||||
|
|
||||||
versionout = version[:-1] + "_" + sha + "_esp32s3.bin"
|
versionout = version[:-1] + "_" + sha + "_esp32s3.bin"
|
||||||
src = path + ".pio/build/opendtufusionv1-release/firmware.bin"
|
src = path + ".pio/build/opendtufusionv1-release/firmware.bin"
|
||||||
dst = path + "firmware/s3/" + versionout
|
dst = path + "firmware/s3/" + versionout
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
Changelog v0.7.26
|
# Development Changes
|
||||||
|
|
||||||
* fix MqTT `last_success`
|
## 0.7.27 - 2023-08-08
|
||||||
|
* added compile option for ethernet #886
|
||||||
|
* fix ePaper configuration, missing `Busy`-Pin #1075
|
||||||
|
|
||||||
|
## 0.7.26
|
||||||
|
* last Release
|
||||||
|
|
|
@ -24,13 +24,13 @@
|
||||||
#include "utils/crc.h"
|
#include "utils/crc.h"
|
||||||
#include "utils/dbg.h"
|
#include "utils/dbg.h"
|
||||||
#include "utils/scheduler.h"
|
#include "utils/scheduler.h"
|
||||||
//#include "utils/improv.h"
|
|
||||||
#include "web/RestApi.h"
|
#include "web/RestApi.h"
|
||||||
#include "web/web.h"
|
#include "web/web.h"
|
||||||
#if defined(ETHERNET)
|
#if defined(ETHERNET)
|
||||||
#include "eth/ahoyeth.h"
|
#include "eth/ahoyeth.h"
|
||||||
#else /* defined(ETHERNET) */
|
#else /* defined(ETHERNET) */
|
||||||
#include "wifi/ahoywifi.h"
|
#include "wifi/ahoywifi.h"
|
||||||
|
#include "utils/improv.h"
|
||||||
#endif /* defined(ETHERNET) */
|
#endif /* defined(ETHERNET) */
|
||||||
|
|
||||||
#include <RF24.h> // position is relevant since version 1.4.7 of this library
|
#include <RF24.h> // position is relevant since version 1.4.7 of this library
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 7
|
#define VERSION_MINOR 7
|
||||||
#define VERSION_PATCH 26
|
#define VERSION_PATCH 27
|
||||||
|
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -155,23 +155,21 @@ board = esp32dev
|
||||||
lib_deps =
|
lib_deps =
|
||||||
khoih-prog/AsyncWebServer_ESP32_W5500
|
khoih-prog/AsyncWebServer_ESP32_W5500
|
||||||
khoih-prog/AsyncUDP_ESP32_W5500
|
khoih-prog/AsyncUDP_ESP32_W5500
|
||||||
nrf24/RF24 @ ^1.4.5
|
nrf24/RF24 @ ^1.4.7
|
||||||
paulstoffregen/Time @ ^1.6.1
|
paulstoffregen/Time @ ^1.6.1
|
||||||
https://github.com/bertmelis/espMqttClient#v1.4.2
|
https://github.com/bertmelis/espMqttClient#v1.4.4
|
||||||
bblanchon/ArduinoJson @ ^6.21.2
|
bblanchon/ArduinoJson @ ^6.21.3
|
||||||
https://github.com/JChristensen/Timezone @ ^1.2.4
|
https://github.com/JChristensen/Timezone @ ^1.2.4
|
||||||
olikraus/U8g2 @ ^2.34.17
|
olikraus/U8g2 @ ^2.34.17
|
||||||
zinggjm/GxEPD2 @ ^1.5.0
|
zinggjm/GxEPD2 @ ^1.5.2
|
||||||
build_flags = -D ETHERNET
|
build_flags =
|
||||||
|
-D ETHERNET
|
||||||
-DRELEASE
|
-DRELEASE
|
||||||
-DLOG_LOCAL_LEVEL=ESP_LOG_INFO
|
-DLOG_LOCAL_LEVEL=ESP_LOG_INFO
|
||||||
-DDEBUG_LEVEL=DBG_INFO
|
-DDEBUG_LEVEL=DBG_INFO
|
||||||
-std=gnu++17
|
-std=gnu++17
|
||||||
build_unflags = -std=gnu++11
|
build_unflags = -std=gnu++11
|
||||||
monitor_filters =
|
monitor_filters =
|
||||||
;default ; Remove typical terminal control codes from input
|
|
||||||
;time ; Add timestamp with milliseconds for each new line
|
|
||||||
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory
|
|
||||||
esp32_exception_decoder
|
esp32_exception_decoder
|
||||||
|
|
||||||
[env:opendtufusionv1-release]
|
[env:opendtufusionv1-release]
|
||||||
|
|
|
@ -870,13 +870,13 @@
|
||||||
// It depends on fix pin array (see var pins)
|
// It depends on fix pin array (see var pins)
|
||||||
// var pins = [['clock', 'disp_clk'], ['data', 'disp_data'], ['cs', 'disp_cs'], ['dc', 'disp_dc'], ['reset', 'disp_rst']];
|
// var pins = [['clock', 'disp_clk'], ['data', 'disp_data'], ['cs', 'disp_cs'], ['dc', 'disp_dc'], ['reset', 'disp_rst']];
|
||||||
const pinMap = new Map([
|
const pinMap = new Map([
|
||||||
[0, [0,0,0,0,0]], //none
|
[0, [0,0,0,0,0,0]], //none
|
||||||
[1, [1,1,0,0,0]], //SSD1306_128X64
|
[1, [1,1,0,0,0,0]], //SSD1306_128X64
|
||||||
[2, [1,1,0,0,0]], //SH1106_128X64
|
[2, [1,1,0,0,0,0]], //SH1106_128X64
|
||||||
[3, [1,1,1,1,0]], //PCD8544_84X48 /nokia5110
|
[3, [1,1,1,1,0,0]], //PCD8544_84X48 /nokia5110
|
||||||
[4, [1,1,0,0,0]], //SSD1306_128X32
|
[4, [1,1,0,0,0,0]], //SSD1306_128X32
|
||||||
[5, [1,1,0,0,0]], //SSD1306_64X48
|
[5, [1,1,0,0,0,0]], //SSD1306_64X48
|
||||||
[10, [1,1,1,1,1]] //ePaper
|
[10, [1,1,1,1,1,1]] //ePaper
|
||||||
])
|
])
|
||||||
for(var i = 0; i < pins.length; i++) {
|
for(var i = 0; i < pins.length; i++) {
|
||||||
var cl = document.getElementById("row_" + pins[i][1]).classList;
|
var cl = document.getElementById("row_" + pins[i][1]).classList;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue