File tree Expand file tree Collapse file tree 2 files changed +34
-3
lines changed
Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 1010 - name : Check out repository
1111 uses : actions/checkout@v2
1212
13- - uses : arduino/compile-sketches@v1
13+ - name : Compile sketch
14+ uses : arduino/compile-sketches@v1
1415 with :
1516 fqbn : " esp32:esp32:esp32s2"
1617 platforms : |
2526 - name: esp32-waveshare-epd
2627 source-path: ./esp32-waveshare-epd
2728 sketch-paths : |
28- - .
29+ - .
30+ build-path : build
31+
32+ - name : Create FIRMWARE.BIN
33+ shell : bash
34+ run : |
35+ set -euo pipefail
36+
37+ # Find the main ESP32 firmware .bin produced by Arduino build
38+ BIN="$(find build -type f -name '*.bin' \
39+ ! -name '*bootloader*' \
40+ ! -name '*partitions*' \
41+ ! -name '*ota_data_initial*' \
42+ | head -n 1)"
43+
44+ if [[ -z "${BIN:-}" ]]; then
45+ echo "No firmware .bin found under build/"
46+ echo "Files under build/:"
47+ find build -maxdepth 5 -type f -print
48+ exit 1
49+ fi
50+
51+ echo "Found firmware bin: $BIN"
52+ cp "$BIN" FIRMWARE.BIN
53+
54+ - name : Upload firmware artifact
55+ uses : actions/upload-artifact@v4
56+ with :
57+ name : firmware
58+ path : |
59+ FIRMWARE.BIN
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ void loadCredentials() {
317317
318318float getTempOffset () {
319319 if (!BatteryMode) {
320- if (useWiFi) return 12.2 ;
320+ if (useWiFi) return 11.0 ;
321321 return 4.4 ;
322322 } else {
323323 return 0.0 ; // was with periodic measurment 0.8
You can’t perform that action at this time.
0 commit comments