mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Update Release.yml
This commit is contained in:
parent
e05522384c
commit
363d27e00d
4 changed files with 7 additions and 8 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
env:
|
||||
ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS: "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json"
|
||||
ARDUINO_CLI_VERSION: "0.x"
|
||||
ARDUINO_ESP32_VERSION: "2.0.10"
|
||||
ARDUINO_ESP32_VERSION: "2.0.14"
|
||||
ARDUINO_JSON_VERSION: "6.21.3"
|
||||
ESPTOOL_VERSION: "4.6"
|
||||
LITTLEFS_VERSION: "v2.5.1"
|
||||
|
|
@ -69,8 +69,6 @@ jobs:
|
|||
asset_name: SomfyController.littlefs.bin
|
||||
asset_path: SomfyController.littlefs.bin
|
||||
overwrite: true
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
|
||||
arduino:
|
||||
permissions: write-all
|
||||
|
|
@ -85,7 +83,8 @@ jobs:
|
|||
- board: esp32
|
||||
addr_bootloader: 0x1000
|
||||
chip: ESP32
|
||||
fqbn: esp32:esp32:esp32wrover
|
||||
fqbn: esp32:esp32:esp32wrover:FlashMode=qio,FlashFreq=80,DebugLevel=none
|
||||
# esp32:esp32:esp32wrover:PartitionScheme=default,FlashMode=qio,FlashFreq=80,UploadSpeed=921600,DebugLevel=none,EraseFlash=none
|
||||
name: ESP32
|
||||
obname: SomfyController.onboard.esp32.bin
|
||||
fwname: SomfyController.ino.esp32.bin
|
||||
|
|
@ -180,7 +179,6 @@ jobs:
|
|||
upload_url: ${{ steps.get_release.outputs.upload_url }}
|
||||
asset_name: ${{ matrix.fwname }}
|
||||
asset_path: build/SomfyController.ino.bin
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: ${{ matrix.name }} Compress Onboard Image
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -406,6 +406,7 @@ int8_t GitUpdater::downloadFile() {
|
|||
if (httpCode == HTTP_CODE_OK || httpCode == HTTP_CODE_MOVED_PERMANENTLY || httpCode == HTTP_CODE_FOUND) {
|
||||
WiFiClient *stream = https.getStreamPtr();
|
||||
if(!Update.begin(len, this->partition)) {
|
||||
Serial.println("Update Error detected!!!!!");
|
||||
Update.printError(Serial);
|
||||
https.end();
|
||||
return -(Update.getError() + UPDATE_ERR_OFFSET);
|
||||
|
|
@ -452,13 +453,13 @@ int8_t GitUpdater::downloadFile() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
Serial.printf("Update %s complete\n", this->currentFile);
|
||||
|
||||
free(buff);
|
||||
}
|
||||
else {
|
||||
// TODO: memory allocation error.
|
||||
Serial.println("Unable to allocate memory for update!!!");
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
var hst = '192.168.1.208';
|
||||
//var hst = '192.168.1.152';
|
||||
//var hst = '192.168.1.208';
|
||||
var hst = '192.168.1.152';
|
||||
|
||||
var errors = [
|
||||
{ code: -10, desc: "Pin setting in use for Transceiver. Output pins cannot be re-used." },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue