From 99bf92f668d13cae0875c1dfc4b0f3a816cc6cfe Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 10:09:16 -0300 Subject: [PATCH 01/13] feat: update license --- libraries/Update/src/HttpsOTAUpdate.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/Update/src/HttpsOTAUpdate.h b/libraries/Update/src/HttpsOTAUpdate.h index 076e4f7894b..be31730a9bc 100644 --- a/libraries/Update/src/HttpsOTAUpdate.h +++ b/libraries/Update/src/HttpsOTAUpdate.h @@ -1,3 +1,11 @@ +/* + This code is in the Public Domain (or CC0 licensed, at your option.) + + Unless required by applicable law or agreed to in writing, this + software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. +*/ + #ifndef HTTPSOTAUPDATE_H #define HTTPSOTAUPDATE_H #include "esp_http_client.h" From 04abd8948fd30735d32997eadebc0f74bf32f36e Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 10:10:41 -0300 Subject: [PATCH 02/13] feat: update license --- libraries/Update/src/HttpsOTAUpdate.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/Update/src/HttpsOTAUpdate.cpp b/libraries/Update/src/HttpsOTAUpdate.cpp index 07133fd403b..f9ea04d578c 100644 --- a/libraries/Update/src/HttpsOTAUpdate.cpp +++ b/libraries/Update/src/HttpsOTAUpdate.cpp @@ -1,6 +1,5 @@ -/* OTA task - - This example code is in the Public Domain (or CC0 licensed, at your option.) +/* + This code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR From 33d7b6af1a4d0d9524304296d7b6218a55302e72 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 10:11:08 -0300 Subject: [PATCH 03/13] feat: update license --- libraries/Update/src/Update.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/Update/src/Update.h b/libraries/Update/src/Update.h index 0a9680d4520..df04d2b16e3 100644 --- a/libraries/Update/src/Update.h +++ b/libraries/Update/src/Update.h @@ -1,3 +1,11 @@ +/* + This code is in the Public Domain (or CC0 licensed, at your option.) + + Unless required by applicable law or agreed to in writing, this + software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. +*/ + #ifndef ESP32UPDATER_H #define ESP32UPDATER_H From a299d19322d791fc8b4f1b9362bf319801f45e49 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 10:11:31 -0300 Subject: [PATCH 04/13] feat: update license --- libraries/Update/src/Updater.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/Update/src/Updater.cpp b/libraries/Update/src/Updater.cpp index d1a22aec7fb..ea7ac184aaa 100644 --- a/libraries/Update/src/Updater.cpp +++ b/libraries/Update/src/Updater.cpp @@ -1,3 +1,11 @@ +/* + This code is in the Public Domain (or CC0 licensed, at your option.) + + Unless required by applicable law or agreed to in writing, this + software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. +*/ + #include "Update.h" #include "Arduino.h" #include "spi_flash_mmap.h" From f88c03bd4095296a0245760922b07b8cc0171e72 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 10:12:42 -0300 Subject: [PATCH 05/13] feat: license --- libraries/Update/src/Updater.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/libraries/Update/src/Updater.cpp b/libraries/Update/src/Updater.cpp index ea7ac184aaa..e87c24337b1 100644 --- a/libraries/Update/src/Updater.cpp +++ b/libraries/Update/src/Updater.cpp @@ -1,10 +1,8 @@ -/* - This code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ +/* + * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #include "Update.h" #include "Arduino.h" From dfb990efcbe07537b91647f39e059e78b6ffeeaf Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 10:13:05 -0300 Subject: [PATCH 06/13] Update Update.h --- libraries/Update/src/Update.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/libraries/Update/src/Update.h b/libraries/Update/src/Update.h index df04d2b16e3..339bea4a40e 100644 --- a/libraries/Update/src/Update.h +++ b/libraries/Update/src/Update.h @@ -1,10 +1,8 @@ -/* - This code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ +/* + * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef ESP32UPDATER_H #define ESP32UPDATER_H From 14fa234795becc77b03f492c1306b04f85925288 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 10:13:30 -0300 Subject: [PATCH 07/13] Update HttpsOTAUpdate.h --- libraries/Update/src/HttpsOTAUpdate.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/libraries/Update/src/HttpsOTAUpdate.h b/libraries/Update/src/HttpsOTAUpdate.h index be31730a9bc..4aeb9196639 100644 --- a/libraries/Update/src/HttpsOTAUpdate.h +++ b/libraries/Update/src/HttpsOTAUpdate.h @@ -1,10 +1,8 @@ -/* - This code is in the Public Domain (or CC0 licensed, at your option.) - - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ +/* + * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef HTTPSOTAUPDATE_H #define HTTPSOTAUPDATE_H From cb26f48f6f3f15d92f42634c57b3cdf7307a1e68 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 10:13:46 -0300 Subject: [PATCH 08/13] Update HttpsOTAUpdate.cpp --- libraries/Update/src/HttpsOTAUpdate.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libraries/Update/src/HttpsOTAUpdate.cpp b/libraries/Update/src/HttpsOTAUpdate.cpp index f9ea04d578c..a634a3f5137 100644 --- a/libraries/Update/src/HttpsOTAUpdate.cpp +++ b/libraries/Update/src/HttpsOTAUpdate.cpp @@ -1,10 +1,9 @@ -/* - This code is in the Public Domain (or CC0 licensed, at your option.) +/* + * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ - Unless required by applicable law or agreed to in writing, this - software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - CONDITIONS OF ANY KIND, either express or implied. -*/ #include #include From bff302bf8cb25fbcc9f000f15dfcfeea834c11d7 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 12:43:58 -0300 Subject: [PATCH 09/13] Update HttpsOTAUpdate.cpp --- libraries/Update/src/HttpsOTAUpdate.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libraries/Update/src/HttpsOTAUpdate.cpp b/libraries/Update/src/HttpsOTAUpdate.cpp index a634a3f5137..1ee4e8bf1a6 100644 --- a/libraries/Update/src/HttpsOTAUpdate.cpp +++ b/libraries/Update/src/HttpsOTAUpdate.cpp @@ -1,8 +1,10 @@ -/* - * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ +/* OTA task + + This example code is in the Public Domain (or CC0 licensed, at your option.) + Unless required by applicable law or agreed to in writing, this + software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. +*/ #include #include From 660637e25f95e81fcce85b730d8408d12142788e Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 12:44:28 -0300 Subject: [PATCH 10/13] Update HttpsOTAUpdate.cpp --- libraries/Update/src/HttpsOTAUpdate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/Update/src/HttpsOTAUpdate.cpp b/libraries/Update/src/HttpsOTAUpdate.cpp index 1ee4e8bf1a6..98f67ee157f 100644 --- a/libraries/Update/src/HttpsOTAUpdate.cpp +++ b/libraries/Update/src/HttpsOTAUpdate.cpp @@ -1,6 +1,7 @@ /* OTA task This example code is in the Public Domain (or CC0 licensed, at your option.) + Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. From c0aa20e9714b5870d52c19bb2e1e561b611f13f4 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 12:45:00 -0300 Subject: [PATCH 11/13] Update HttpsOTAUpdate.cpp --- libraries/Update/src/HttpsOTAUpdate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Update/src/HttpsOTAUpdate.cpp b/libraries/Update/src/HttpsOTAUpdate.cpp index 98f67ee157f..923e8be7163 100644 --- a/libraries/Update/src/HttpsOTAUpdate.cpp +++ b/libraries/Update/src/HttpsOTAUpdate.cpp @@ -1,7 +1,7 @@ /* OTA task This example code is in the Public Domain (or CC0 licensed, at your option.) - + Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. From 996d6d30570f44adb61abc228ad152604a717b58 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 12:45:31 -0300 Subject: [PATCH 12/13] Update HttpsOTAUpdate.cpp --- libraries/Update/src/HttpsOTAUpdate.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/Update/src/HttpsOTAUpdate.cpp b/libraries/Update/src/HttpsOTAUpdate.cpp index 923e8be7163..07133fd403b 100644 --- a/libraries/Update/src/HttpsOTAUpdate.cpp +++ b/libraries/Update/src/HttpsOTAUpdate.cpp @@ -6,7 +6,6 @@ software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ - #include #include From 4928cc9d455a14398d8bde39414cc3681466df7c Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Tue, 2 Apr 2024 12:45:53 -0300 Subject: [PATCH 13/13] Update HttpsOTAUpdate.h --- libraries/Update/src/HttpsOTAUpdate.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libraries/Update/src/HttpsOTAUpdate.h b/libraries/Update/src/HttpsOTAUpdate.h index 4aeb9196639..74eb81a3fec 100644 --- a/libraries/Update/src/HttpsOTAUpdate.h +++ b/libraries/Update/src/HttpsOTAUpdate.h @@ -1,9 +1,11 @@ -/* - * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD - * - * SPDX-License-Identifier: Apache-2.0 - */ +/* OTA task + This example code is in the Public Domain (or CC0 licensed, at your option.) + + Unless required by applicable law or agreed to in writing, this + software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. +*/ #ifndef HTTPSOTAUPDATE_H #define HTTPSOTAUPDATE_H #include "esp_http_client.h"