Skip to content

Commit bcfd437

Browse files
authored
Merge pull request #97 from chrisjoyce911/0.2.2
0.2.2
2 parents cb627b7 + b2a4b69 commit bcfd437

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

.github/workflows/platformio.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
mkdir -p tests/test_https
4545
cp examples/HTTP/HTTP.ino tests/test_http/main.cpp
4646
cp examples/HTTP/HTTPS.ino tests/test_https/main.cpp
47+
# globally install the esp32FOTA library from local folder, don't update the platformio.ini
48+
pio lib install --no-save file://$(realpath ./)
4749
pio run
4850
4951
lint:

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esp32FOTA",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"keywords": "firmware, OTA, Over The Air Updates, ArduinoOTA",
55
"description": "Allows for firmware to be updated from a webserver, the device can check for updates at any time. Uses a simple JSON file to outline if a new firmware is avaiable.",
66
"examples": "examples/*/*.ino",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=esp32FOTA
2-
version=0.2.1
2+
version=0.2.2
33
author=Chris Joyce
44
maintainer=Chris Joyce <chris@joyce.id.au>
55
sentence=A simple library for firmware OTA updates

platformio.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[platformio]
77
src_dir = ./tests/
8-
lib_dir = ./
8+
;lib_dir = ./
99

1010
[env]
1111
framework = arduino
@@ -16,6 +16,7 @@ build_flags =
1616
-D CORE_DEBUG_LEVEL=0
1717
lib_deps =
1818
bblanchon/ArduinoJson @ ^6
19+
esp32FOTA
1920

2021
[esp32_common]
2122
platform = espressif32

src/esp32fota.cpp renamed to src/esp32FOTA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
3131
*/
3232

33-
#include "esp32fota.h"
33+
#include "esp32FOTA.hpp"
3434

3535
#include "mbedtls/pk.h"
3636
#include "mbedtls/md.h"

src/esp32FOTA.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
#pragma once
3333

34-
//#ifndef esp32fota_h
3534
#define esp32fota_h
3635

3736
extern "C" {
@@ -238,6 +237,3 @@ class esp32FOTA
238237
const char* root_ca_pem_default_path = "/root_ca.pem";
239238

240239
};
241-
242-
//#endif
243-

0 commit comments

Comments
 (0)