Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.2.2 #97

Merged
merged 3 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
mkdir -p tests/test_https
cp examples/HTTP/HTTP.ino tests/test_http/main.cpp
cp examples/HTTP/HTTPS.ino tests/test_https/main.cpp
# globally install the esp32FOTA library from local folder, don't update the platformio.ini
pio lib install --no-save file://$(realpath ./)
pio run

lint:
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esp32FOTA",
"version": "0.2.1",
"version": "0.2.2",
"keywords": "firmware, OTA, Over The Air Updates, ArduinoOTA",
"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.",
"examples": "examples/*/*.ino",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=esp32FOTA
version=0.2.1
version=0.2.2
author=Chris Joyce
maintainer=Chris Joyce <chris@joyce.id.au>
sentence=A simple library for firmware OTA updates
Expand Down
3 changes: 2 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[platformio]
src_dir = ./tests/
lib_dir = ./
;lib_dir = ./

[env]
framework = arduino
Expand All @@ -16,6 +16,7 @@ build_flags =
-D CORE_DEBUG_LEVEL=0
lib_deps =
bblanchon/ArduinoJson @ ^6
esp32FOTA

[esp32_common]
platform = espressif32
Expand Down
2 changes: 1 addition & 1 deletion src/esp32fota.cpp → src/esp32FOTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

*/

#include "esp32fota.h"
#include "esp32FOTA.hpp"

#include "mbedtls/pk.h"
#include "mbedtls/md.h"
Expand Down
4 changes: 0 additions & 4 deletions src/esp32FOTA.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

#pragma once

//#ifndef esp32fota_h
#define esp32fota_h

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

};

//#endif