From ab2175e9ee1184ab6b94e6ffd278ad9c2ac1ea10 Mon Sep 17 00:00:00 2001 From: Kirk Benell Date: Wed, 13 Nov 2024 15:19:08 -0700 Subject: [PATCH] Moved to a MIT license for the repo --- CMakeLists.txt | 5 ++++ LICENSE.md | 24 ++++++++++++++-- README.md | 13 ++++----- .../Example-01_Hello/Example-01_Hello.ino | 15 +++++----- .../Example-02_Params/Example-02_Params.ino | 16 +++++------ .../Example-04_Logger/Example-04_Logger.ino | 28 ++++++------------- .../Example-06_SimpleEvent.ino | 19 ++++++------- .../Example-07_Button_Event_Logger.ino | 17 ++++++----- .../t_NAU7802_Logger/t_NAU7802_Logger.ino | 10 ++----- examples/test/t_array/t_array.ino | 12 +++----- examples/test/t_array/test_device.cpp | 10 ++----- examples/test/t_array/test_device.h | 10 ++----- examples/test/t_datalogger/sfeDataLogger.cpp | 12 +++----- examples/test/t_datalogger/sfeDataLogger.h | 10 ++----- examples/test/t_datalogger/t_datalogger.ino | 10 ++----- examples/test/t_editfield/t_editfield.ino | 10 ++----- .../test/t_openlogesp32/t_openlogesp32.ino | 20 ++++++------- examples/test/t_params/t_params.ino | 10 ++----- examples/test/t_props/t_props.ino | 10 ++----- examples/test/t_saverestore/t_saverestore.ino | 10 ++----- examples/test/t_settings/t_settings.ino | 10 ++----- external/flux_sdk_import.cmake | 5 ++++ flux_sdk_init.cmake | 5 ++++ flux_sdk_version.cmake | 5 ++++ install-libs.bat | 5 ++++ install-libs.sh | 5 ++++ library.properties | 2 +- src/CMakeLists.txt | 5 ++++ src/core/CMakeLists.txt | 5 ++++ src/core/flux_base/CMakeLists.txt | 5 ++++ src/core/flux_base/Flux.h | 11 +++----- src/core/flux_base/flxBusI2C.cpp | 10 ++----- src/core/flux_base/flxBusI2C.h | 10 ++----- src/core/flux_base/flxBusSPI.cpp | 10 ++----- src/core/flux_base/flxBusSPI.h | 10 ++----- src/core/flux_base/flxCore.cpp | 10 ++----- src/core/flux_base/flxCore.h | 10 ++----- src/core/flux_base/flxCoreDevice.cpp | 10 ++----- src/core/flux_base/flxCoreDevice.h | 10 ++----- src/core/flux_base/flxCoreEvent.cpp | 10 ++----- src/core/flux_base/flxCoreEvent.h | 12 +++----- src/core/flux_base/flxCoreEventID.h | 10 ++----- src/core/flux_base/flxCoreInterface.h | 8 ++---- src/core/flux_base/flxCoreJobs.cpp | 8 ++---- src/core/flux_base/flxCoreJobs.h | 8 ++---- src/core/flux_base/flxCoreLog.cpp | 8 ++---- src/core/flux_base/flxCoreLog.h | 8 ++---- src/core/flux_base/flxCoreMsg.cpp | 8 ++---- src/core/flux_base/flxCoreMsg.h | 8 ++---- src/core/flux_base/flxCoreParam.h | 8 ++---- src/core/flux_base/flxCoreProps.h | 8 ++---- src/core/flux_base/flxCoreTypes.h | 8 ++---- src/core/flux_base/flxDevice.h | 8 ++---- src/core/flux_base/flxDeviceValueTypes.h | 8 ++---- src/core/flux_base/flxFlux.h | 8 ++---- src/core/flux_base/flxSerial.cpp | 8 ++---- src/core/flux_base/flxSerial.h | 8 ++---- src/core/flux_base/flxTimer.h | 8 ++---- src/core/flux_base/flxUtils.cpp | 8 ++---- src/core/flux_base/flxUtils.h | 8 ++---- src/core/flux_base/spSpark.cpp | 8 ++---- src/core/flux_clock/CMakeLists.txt | 8 ++++-- src/core/flux_clock/flxClock.cpp | 8 ++---- src/core/flux_clock/flxClock.h | 8 ++---- src/core/flux_file/CMakeLists.txt | 5 ++++ src/core/flux_file/flxFS.h | 8 ++---- src/core/flux_file/flxFileRotate.cpp | 8 ++---- src/core/flux_file/flxFileRotate.h | 8 ++---- src/core/flux_firmware/CMakeLists.txt | 8 ++++-- src/core/flux_firmware/flxSysFirmware.cpp | 8 ++---- src/core/flux_firmware/flxSysFirmware.h | 12 ++++---- src/core/flux_logging/CMakeLists.txt | 5 ++++ src/core/flux_logging/flxFmtCSV.h | 8 ++---- src/core/flux_logging/flxFmtJSON.h | 8 ++---- src/core/flux_logging/flxLogger.cpp | 8 ++---- src/core/flux_logging/flxLogger.h | 8 ++---- src/core/flux_logging/flxOutput.h | 18 ++++++------ src/core/flux_prefs/CMakeLists.txt | 5 ++++ src/core/flux_prefs/flxSettings.cpp | 8 ++---- src/core/flux_prefs/flxSettings.h | 10 ++----- src/core/flux_prefs/flxStorage.cpp | 8 ++---- src/core/flux_prefs/flxStorage.h | 10 +++---- src/core/flux_prefs_json/CMakeLists.txt | 8 ++++-- .../flux_prefs_json/flxStorageJSONPref.cpp | 8 ++---- src/core/flux_prefs_json/flxStorageJSONPref.h | 8 ++---- src/core/flux_prefs_serial/CMakeLists.txt | 9 ++++-- src/core/flux_prefs_serial/flxSerialField.cpp | 8 ++---- src/core/flux_prefs_serial/flxSerialField.h | 8 ++---- .../flux_prefs_serial/flxSettingsSerial.cpp | 8 ++---- .../flux_prefs_serial/flxSettingsSerial.h | 8 ++---- src/core/flux_sdcard/CMakeLists.txt | 5 ++++ src/core/flux_sdcard/flxFSSDMMCard.cpp | 8 ++---- src/core/flux_sdcard/flxFSSDMMCard.h | 10 +++---- src/device/CMakeLists.txt | 5 ++++ src/device/device_acs37800/flxDevACS37800.cpp | 8 ++---- src/device/device_acs37800/flxDevACS37800.h | 8 ++---- src/device/device_ads1015/CMakeLists.txt | 5 ++++ src/device/device_ads1015/flxDevADS1015.cpp | 12 ++++---- src/device/device_ads1015/flxDevADS1015.h | 8 ++---- src/device/device_ads122c04/CMakeLists.txt | 5 ++++ .../device_ads122c04/flxDevADS122C04.cpp | 8 ++---- src/device/device_ads122c04/flxDevADS122C04.h | 8 ++---- src/device/device_aht20/CMakeLists.txt | 5 ++++ src/device/device_aht20/flxDevAHT20.cpp | 8 ++---- src/device/device_aht20/flxDevAHT20.h | 8 ++---- src/device/device_amg8833/CMakeLists.txt | 5 ++++ src/device/device_amg8833/flxDevAMG8833.cpp | 8 ++---- src/device/device_amg8833/flxDevAMG8833.h | 8 ++---- src/device/device_as7265x/CMakeLists.txt | 5 ++++ src/device/device_as7265x/flxDevAS7265x.cpp | 8 ++---- src/device/device_as7265x/flxDevAS7265x.h | 8 ++---- src/device/device_biohub/CMakeLists.txt | 5 ++++ src/device/device_biohub/flxDevBioHub.cpp | 8 ++---- src/device/device_biohub/flxDevBioHub.h | 8 ++---- src/device/device_bme280/CMakeLists.txt | 5 ++++ src/device/device_bme280/flxDevBME280.cpp | 8 ++---- src/device/device_bme280/flxDevBME280.h | 8 ++---- src/device/device_bme68x/CMakeLists.txt | 5 ++++ src/device/device_bme68x/flxDevBME68x.cpp | 8 ++---- src/device/device_bme68x/flxDevBME68x.h | 8 ++---- src/device/device_bmp384/CMakeLists.txt | 5 ++++ src/device/device_bmp384/flxDevBMP384.cpp | 8 ++---- src/device/device_bmp384/flxDevBMP384.h | 8 ++---- src/device/device_bmp581/CMakeLists.txt | 5 ++++ src/device/device_bmp581/flxDevBMP581.cpp | 8 ++---- src/device/device_bmp581/flxDevBMP581.h | 8 ++---- src/device/device_button/CMakeLists.txt | 5 ++++ src/device/device_button/flxDevButton.cpp | 8 ++---- src/device/device_button/flxDevButton.h | 8 ++---- src/device/device_ccs811/CMakeLists.txt | 5 ++++ src/device/device_ccs811/flxDevCCS811.cpp | 8 ++---- src/device/device_ccs811/flxDevCCS811.h | 8 ++---- src/device/device_ens160/CMakeLists.txt | 5 ++++ src/device/device_ens160/flxDevENS160.cpp | 8 ++---- src/device/device_ens160/flxDevENS160.h | 8 ++---- src/device/device_fs3000/CMakeLists.txt | 5 ++++ src/device/device_fs3000/flxDevFS3000.cpp | 8 ++---- src/device/device_fs3000/flxDevFS3000.h | 8 ++---- src/device/device_gnss/CMakeLists.txt | 5 ++++ src/device/device_gnss/flxDevGNSS.cpp | 8 ++---- src/device/device_gnss/flxDevGNSS.h | 8 ++---- src/device/device_ism330/CMakeLists.txt | 5 ++++ src/device/device_ism330/flxDevISM330.cpp | 8 ++---- src/device/device_ism330/flxDevISM330.h | 12 ++++---- src/device/device_lps25hb/CMakeLists.txt | 5 ++++ src/device/device_lps25hb/flxDevLPS25HB.cpp | 8 ++---- src/device/device_lps25hb/flxDevLPS25HB.h | 8 ++---- src/device/device_max17048/CMakeLists.txt | 5 ++++ src/device/device_max17048/flxDevMAX17048.cpp | 8 ++---- src/device/device_max17048/flxDevMAX17048.h | 8 ++---- src/device/device_mcp9600/CMakeLists.txt | 5 ++++ src/device/device_mcp9600/flxDevMCP9600.cpp | 8 ++---- src/device/device_mcp9600/flxDevMCP9600.h | 8 ++---- .../device_micropressure/CMakeLists.txt | 5 ++++ .../flxDevMicroPressure.cpp | 8 ++---- .../flxDevMicroPressure.h | 8 ++---- src/device/device_mmc5983/CMakeLists.txt | 5 ++++ src/device/device_mmc5983/flxDevMMC5983.cpp | 8 ++---- src/device/device_mmc5983/flxDevMMC5983.h | 8 ++---- src/device/device_ms5637/CMakeLists.txt | 5 ++++ src/device/device_ms5637/flxDevMS5637.cpp | 8 ++---- src/device/device_ms5637/flxDevMS5637.h | 8 ++---- src/device/device_ms8607/CMakeLists.txt | 5 ++++ src/device/device_ms8607/flxDevMS8607.cpp | 8 ++---- src/device/device_ms8607/flxDevMS8607.h | 8 ++---- src/device/device_nau7802/CMakeLists.txt | 5 ++++ src/device/device_nau7802/flxDevNAU7802.cpp | 8 ++---- src/device/device_nau7802/flxDevNAU7802.h | 8 ++---- src/device/device_opt4048/CMakeLists.txt | 5 ++++ src/device/device_opt4048/flxDevOPT4048.cpp | 8 ++---- src/device/device_opt4048/flxDevOPT4048.h | 8 ++---- src/device/device_pasco2v01/CMakeLists.txt | 5 ++++ .../device_pasco2v01/flxDevPASCO2V01.cpp | 8 ++---- src/device/device_pasco2v01/flxDevPASCO2V01.h | 8 ++---- src/device/device_rv8803/CMakeLists.txt | 5 ++++ src/device/device_rv8803/flxDevRV8803.cpp | 8 ++---- src/device/device_rv8803/flxDevRV8803.h | 8 ++---- src/device/device_scd30/CMakeLists.txt | 5 ++++ src/device/device_scd30/flxDevSCD30.cpp | 8 ++---- src/device/device_scd30/flxDevSCD30.h | 8 ++---- src/device/device_scd40/CMakeLists.txt | 5 ++++ src/device/device_scd40/flxDevSCD40.cpp | 8 ++---- src/device/device_scd40/flxDevSCD40.h | 8 ++---- src/device/device_sdp3x/CMakeLists.txt | 5 ++++ src/device/device_sdp3x/flxDevSDP3X.cpp | 8 ++---- src/device/device_sdp3x/flxDevSDP3X.h | 8 ++---- src/device/device_sen54/CMakeLists.txt | 5 ++++ src/device/device_sen54/flxDevSEN54.cpp | 8 ++---- src/device/device_sen54/flxDevSEN54.h | 8 ++---- src/device/device_sgp30/CMakeLists.txt | 5 ++++ src/device/device_sgp30/flxDevSGP30.cpp | 8 ++---- src/device/device_sgp30/flxDevSGP30.h | 8 ++---- src/device/device_sgp40/CMakeLists.txt | 5 ++++ src/device/device_sgp40/flxDevSGP40.cpp | 8 ++---- src/device/device_sgp40/flxDevSGP40.h | 8 ++---- src/device/device_shtc3/CMakeLists.txt | 5 ++++ src/device/device_shtc3/flxDevSHTC3.cpp | 8 ++---- src/device/device_shtc3/flxDevSHTC3.h | 8 ++---- src/device/device_st25dv/CMakeLists.txt | 5 ++++ src/device/device_st25dv/flxDevST25DV.cpp | 8 ++---- src/device/device_st25dv/flxDevST25DV.h | 8 ++---- src/device/device_stc31/CMakeLists.txt | 5 ++++ src/device/device_stc31/flxDevSTC31.cpp | 8 ++---- src/device/device_stc31/flxDevSTC31.h | 8 ++---- src/device/device_sths34pf80/CMakeLists.txt | 8 ++++-- .../device_sths34pf80/flxDevSTHS34PF80.cpp | 8 ++---- .../device_sths34pf80/flxDevSTHS34PF80.h | 8 ++---- src/device/device_tmf882x/CMakeLists.txt | 5 ++++ src/device/device_tmf882x/flxDevTMF882X.cpp | 8 ++---- src/device/device_tmf882x/flxDevTMF882X.h | 8 ++---- src/device/device_tmp117/CMakeLists.txt | 5 ++++ src/device/device_tmp117/flxDevTMP117.cpp | 8 ++---- src/device/device_tmp117/flxDevTMP117.h | 8 ++---- src/device/device_twist/CMakeLists.txt | 5 ++++ src/device/device_twist/flxDevTwist.cpp | 8 ++---- src/device/device_twist/flxDevTwist.h | 8 ++---- src/device/device_vcnl4040/CMakeLists.txt | 5 ++++ src/device/device_vcnl4040/flxDevVCNL4040.cpp | 8 ++---- src/device/device_vcnl4040/flxDevVCNL4040.h | 8 ++---- src/device/device_veml6075/CMakeLists.txt | 5 ++++ src/device/device_veml6075/flxDevVEML6075.cpp | 8 ++---- src/device/device_veml6075/flxDevVEML6075.h | 8 ++---- src/device/device_veml7700/CMakeLists.txt | 5 ++++ src/device/device_veml7700/flxDevVEML7700.cpp | 8 ++---- src/device/device_veml7700/flxDevVEML7700.h | 8 ++---- src/device/device_vl53l1x/CMakeLists.txt | 5 ++++ src/device/device_vl53l1x/flxDevVL53L1X.cpp | 8 ++---- src/device/device_vl53l1x/flxDevVL53L1X.h | 8 ++---- src/device/device_vl53l5/CMakeLists.txt | 5 ++++ src/device/device_vl53l5/flxDevVL53L5.cpp | 8 ++---- src/device/device_vl53l5/flxDevVL53L5.h | 8 ++---- src/iot/CMakeLists.txt | 5 ++++ src/iot/iot_arduino/CMakeLists.txt | 5 ++++ src/iot/iot_arduino/flxIoTArduino.cpp | 8 ++---- src/iot/iot_arduino/flxIoTArduino.h | 8 ++---- src/iot/iot_aws/CMakeLists.txt | 5 ++++ src/iot/iot_aws/flxIoTAWS.h | 8 ++---- src/iot/iot_azure/CMakeLists.txt | 5 ++++ src/iot/iot_azure/flxIoTAzure.cpp | 10 +++---- src/iot/iot_azure/flxIoTAzure.h | 8 ++---- src/iot/iot_http/CMakeLists.txt | 5 ++++ src/iot/iot_http/flxIoTHTTP.h | 8 ++---- src/iot/iot_machinechat/CMakeLists.txt | 5 ++++ src/iot/iot_machinechat/flxIoTMachineChat.h | 8 ++---- src/iot/iot_mqtt/CMakeLists.txt | 8 ++++-- src/iot/iot_thingspeak/CMakeLists.txt | 5 ++++ src/iot/iot_thingspeak/flxIoTThingSpeak.h | 8 ++---- src/net/CMakeLists.txt | 5 ++++ src/net/flux_network/CMakeLists.txt | 5 ++++ src/net/flux_network/flxNetwork.h | 8 ++---- src/net/flux_wifi/CMakeLists.txt | 5 ++++ src/net/flux_wifi/flxWiFi.h | 8 ++---- src/platform/CMakeLists.txt | 5 ++++ src/platform/platform_esp32/CMakeLists.txt | 5 ++++ .../platform_esp32/flux_ntp/CMakeLists.txt | 5 ++++ .../platform_esp32/flux_ntp/flxNTPESP32.cpp | 8 ++---- .../platform_esp32/flux_ntp/flxNTPESP32.h | 8 ++---- .../platform_esp32/flux_prefs/CMakeLists.txt | 5 ++++ .../flux_prefs/flxStorageESP32Pref.cpp | 8 ++---- .../flux_prefs/flxStorageESP32Pref.h | 8 ++---- .../platform_esp32/flux_wifi/CMakeLists.txt | 5 ++++ .../platform_esp32/flux_wifi/flxWiFiESP32.cpp | 8 ++---- .../platform_esp32/flux_wifi/flxWiFiESP32.h | 8 ++---- .../platform_esp32/iot_mqtt/CMakeLists.txt | 5 ++++ .../platform_esp32/iot_mqtt/flxMQTTESP32.h | 8 ++---- src/platform/platform_rpi/CMakeLists.txt | 5 ++++ 266 files changed, 1035 insertions(+), 1036 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a06bae1..421cffa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # $id$ FLUX_SDK_PATH/CMakeLists.txt # diff --git a/LICENSE.md b/LICENSE.md index 34e4d2f8..749c9057 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -3,5 +3,25 @@ SparkFun Flux License Information Code -------- -Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. This software includes information which is proprietary to and a trade secret of SparkFun Electronics Inc. It is not to be disclosed to anyone outside of this organization. Reproduction by any means whatsoever is prohibited without express written permission. - + +MIT License + +Copyright (c) 2022-24 SparkFun Electronics + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 78e9f71c..3dd2e325 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,18 @@ SDK and Framework to simplify the development of embedded applications -## Status - In Development +## Status ## Using Flux SDK -The flux-sdk is a development framework/SDK intended for use as a component within other Firmware applications. As such, it's incorporated into other projects as an Arduino library. +The flux-sdk is a development framework/SDK intended for use as a component within other Firmware applications. As such, it's incorporated into other projects as an Arduino library. To build firmware using Flux, see [Building with Flux](docs/build_with_flux.md) - -## Framework Development +## Framework Development Adding new capabilities to the Flux Framework -* Implementing a [Device Class](docs/device_writing.md) -* Implementing [Properties](docs/properties.md) -* Implementing [Parameters](docs/parameters.md) +* Implementing a [Device Class](docs/device_writing.md) +* Implementing [Properties](docs/properties.md) +* Implementing [Parameters](docs/parameters.md) diff --git a/examples/Example-01_Hello/Example-01_Hello.ino b/examples/Example-01_Hello/Example-01_Hello.ino index 2a919fcf..336eab93 100644 --- a/examples/Example-01_Hello/Example-01_Hello.ino +++ b/examples/Example-01_Hello/Example-01_Hello.ino @@ -1,17 +1,16 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* - * Spark Framework demo - simple output + * Flux Framework demo - simple output + * + * Note: This demo requires the generation of a SparkFun_Flux Arduino library - that is then installed + * into the Arduino libraries folder, or via the --library option in the Arduino CLI. * */ diff --git a/examples/Example-02_Params/Example-02_Params.ino b/examples/Example-02_Params/Example-02_Params.ino index 354c747d..7408684f 100644 --- a/examples/Example-02_Params/Example-02_Params.ino +++ b/examples/Example-02_Params/Example-02_Params.ino @@ -1,17 +1,17 @@ + /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* - * Spark Framework demo - simple output + * Flux Framework demo - use of output parameters + * + * Note: This demo requires the generation of a SparkFun_Flux Arduino library - that is then installed + * into the Arduino libraries folder, or via the --library option in the Arduino CLI. * */ diff --git a/examples/Example-04_Logger/Example-04_Logger.ino b/examples/Example-04_Logger/Example-04_Logger.ino index 5be7ba36..0b088c4c 100644 --- a/examples/Example-04_Logger/Example-04_Logger.ino +++ b/examples/Example-04_Logger/Example-04_Logger.ino @@ -1,21 +1,20 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* - * Spark Framework demo - logging + * Flux Framework demo - simple logging output on a ESP32 device + * + * Note: This demo requires the generation of a SparkFun_Flux Arduino library - that is then installed + * into the Arduino libraries folder, or via the --library option in the Arduino CLI. * */ -// Spark framework +// Flux framework #include #include #include @@ -41,12 +40,6 @@ // NTP #include -//#define OPENLOG_ESP32 -#ifdef OPENLOG_ESP32 -#define EN_3V3_SW 32 -#define LED_BUILTIN 25 -#endif - //------------------------------------------ // Default log interval in milli secs #define kDefaultLogInterval 6000 @@ -102,11 +95,6 @@ void setup() ; Serial.println("\n---- Startup ----"); -#ifdef OPENLOG_ESP32 - pinMode(EN_3V3_SW, OUTPUT); // Enable Qwiic power and I2C - digitalWrite(EN_3V3_SW, HIGH); -#endif - // If not using settings, can use the following lines to test WiFi manually // Try WiFi // wifiConnection.SSID = ""; diff --git a/examples/Example-06_SimpleEvent/Example-06_SimpleEvent.ino b/examples/Example-06_SimpleEvent/Example-06_SimpleEvent.ino index 870d27fb..2ec66147 100644 --- a/examples/Example-06_SimpleEvent/Example-06_SimpleEvent.ino +++ b/examples/Example-06_SimpleEvent/Example-06_SimpleEvent.ino @@ -1,17 +1,16 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* - * Spark Framework demo - Simple Events + * Flux Framework demo - simple events + * + * Note: This demo requires the generation of a SparkFun_Flux Arduino library - that is then installed + * into the Arduino libraries folder, or via the --library option in the Arduino CLI. * */ @@ -22,9 +21,9 @@ #include ///////////////////////////////////////////////////////////////////////// -// Spark Framework +// Flux Framework ///////////////////////////////////////////////////////////////////////// -// Spark Structure and Object Definition +// Flux Structure and Object Definition // // This app implements a "logger", which grabs data from // connected devices and writes it to the Serial Console diff --git a/examples/Example-07_Button_Event_Logger/Example-07_Button_Event_Logger.ino b/examples/Example-07_Button_Event_Logger/Example-07_Button_Event_Logger.ino index 0859e475..08ff42ac 100644 --- a/examples/Example-07_Button_Event_Logger/Example-07_Button_Event_Logger.ino +++ b/examples/Example-07_Button_Event_Logger/Example-07_Button_Event_Logger.ino @@ -1,21 +1,20 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* - * Spark Framework demo - event logging + * Flux Framework demo - event logging + * + * Note: This demo requires the generation of a SparkFun_Flux Arduino library - that is then installed + * into the Arduino libraries folder, or via the --library option in the Arduino CLI. * */ -// Spark framework +// Flux framework #include #include #include diff --git a/examples/test/t_NAU7802_Logger/t_NAU7802_Logger.ino b/examples/test/t_NAU7802_Logger/t_NAU7802_Logger.ino index 7ad8f4b6..888dc479 100644 --- a/examples/test/t_NAU7802_Logger/t_NAU7802_Logger.ino +++ b/examples/test/t_NAU7802_Logger/t_NAU7802_Logger.ino @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/examples/test/t_array/t_array.ino b/examples/test/t_array/t_array.ino index c763aff4..f1dc7322 100644 --- a/examples/test/t_array/t_array.ino +++ b/examples/test/t_array/t_array.ino @@ -1,17 +1,13 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* - * Spark Framework demo - logging + * Flux Framework demo - logging * */ diff --git a/examples/test/t_array/test_device.cpp b/examples/test/t_array/test_device.cpp index 1b3b8227..d5f64313 100644 --- a/examples/test/t_array/test_device.cpp +++ b/examples/test/t_array/test_device.cpp @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/examples/test/t_array/test_device.h b/examples/test/t_array/test_device.h index 70d8656d..46bba569 100644 --- a/examples/test/t_array/test_device.h +++ b/examples/test/t_array/test_device.h @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/examples/test/t_datalogger/sfeDataLogger.cpp b/examples/test/t_datalogger/sfeDataLogger.cpp index 53dcd6ee..08a01877 100644 --- a/examples/test/t_datalogger/sfeDataLogger.cpp +++ b/examples/test/t_datalogger/sfeDataLogger.cpp @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* @@ -19,7 +15,7 @@ #include "esp_sleep.h" // TESTING -//#include +// #include RTC_DATA_ATTR int boot_count = 0; diff --git a/examples/test/t_datalogger/sfeDataLogger.h b/examples/test/t_datalogger/sfeDataLogger.h index 3a5d2473..921f25ca 100644 --- a/examples/test/t_datalogger/sfeDataLogger.h +++ b/examples/test/t_datalogger/sfeDataLogger.h @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/examples/test/t_datalogger/t_datalogger.ino b/examples/test/t_datalogger/t_datalogger.ino index 98a447ff..5bc5f9cc 100644 --- a/examples/test/t_datalogger/t_datalogger.ino +++ b/examples/test/t_datalogger/t_datalogger.ino @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/examples/test/t_editfield/t_editfield.ino b/examples/test/t_editfield/t_editfield.ino index 7f75d283..a6f63ffd 100644 --- a/examples/test/t_editfield/t_editfield.ino +++ b/examples/test/t_editfield/t_editfield.ino @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ #include diff --git a/examples/test/t_openlogesp32/t_openlogesp32.ino b/examples/test/t_openlogesp32/t_openlogesp32.ino index 3482cfb7..d116f20d 100644 --- a/examples/test/t_openlogesp32/t_openlogesp32.ino +++ b/examples/test/t_openlogesp32/t_openlogesp32.ino @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* @@ -59,25 +55,25 @@ static const uint8_t BIO_HUB_RESET = 17; // Use the TXD pin as the bio hub reset static const uint8_t BIO_HUB_MFIO = 16; // Use the RXD pin as the bio hub mfio pin // MQTT -//#define TEST_MQTT +// #define TEST_MQTT #include // AWS IoT // UNCOMMENT TO TEST AWS -//#define TEST_AWS +// #define TEST_AWS #include // ThingSpeak outpout // Uncomment to test Thingspeak mqtt -//#define TEST_THINGSPEAK +// #define TEST_THINGSPEAK #include // Azure IoT -//#define TEST_AZURE_IOT +// #define TEST_AZURE_IOT #include // HTTP output (call a URL with a JSON Payload) -//#define TEST_HTTP_IOT +// #define TEST_HTTP_IOT #include #define OPENLOG_ESP32 diff --git a/examples/test/t_params/t_params.ino b/examples/test/t_params/t_params.ino index cb8e5e49..8e3c112c 100644 --- a/examples/test/t_params/t_params.ino +++ b/examples/test/t_params/t_params.ino @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/examples/test/t_props/t_props.ino b/examples/test/t_props/t_props.ino index 74340f26..d64889fb 100644 --- a/examples/test/t_props/t_props.ino +++ b/examples/test/t_props/t_props.ino @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/examples/test/t_saverestore/t_saverestore.ino b/examples/test/t_saverestore/t_saverestore.ino index ce372d6b..470c6cd2 100644 --- a/examples/test/t_saverestore/t_saverestore.ino +++ b/examples/test/t_saverestore/t_saverestore.ino @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/examples/test/t_settings/t_settings.ino b/examples/test/t_settings/t_settings.ino index 9a1639f4..d6c1eb82 100644 --- a/examples/test/t_settings/t_settings.ino +++ b/examples/test/t_settings/t_settings.ino @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/external/flux_sdk_import.cmake b/external/flux_sdk_import.cmake index 252cad18..a53d9f7c 100644 --- a/external/flux_sdk_import.cmake +++ b/external/flux_sdk_import.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # ################################################################################################## # include/import file for the flux-sdk cmake system # ################################################################################################## diff --git a/flux_sdk_init.cmake b/flux_sdk_init.cmake index 4e9360b5..b07678e6 100644 --- a/flux_sdk_init.cmake +++ b/flux_sdk_init.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # @file: flux_sdk_init.cmake # ################################################################################################## diff --git a/flux_sdk_version.cmake b/flux_sdk_version.cmake index d3cca4e3..a047afd1 100644 --- a/flux_sdk_version.cmake +++ b/flux_sdk_version.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # define a version for the SDK set(FLUX_SDK_VERSION_MAJOR 1) diff --git a/install-libs.bat b/install-libs.bat index ea4cbae0..abc0e268 100644 --- a/install-libs.bat +++ b/install-libs.bat @@ -1,4 +1,9 @@ @echo off +:: +:: Copyright (c) 2022-2024, SparkFun Electronics Inc. +:: +:: SPDX-License-Identifier: MIT +:: :: Batch file to load the needed arduino libraries on windows :: Note: this should be run in the root directory of flux - it's a fragile script :: Note: Arduino-cli needs to be installed diff --git a/install-libs.sh b/install-libs.sh index 94a03b43..c2806492 100755 --- a/install-libs.sh +++ b/install-libs.sh @@ -1,5 +1,10 @@ #!/usr/bin/env bash +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) #echo $SCRIPT_DIR eval "arduino-cli lib install ""$(sed 's/"/\\"/g' $SCRIPT_DIR/library-list.txt | xargs )" diff --git a/library.properties b/library.properties index a5651b6b..3328e91f 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SparkFun Flux Library -version=0.0.1 +version=0.5.1 author=SparkFun Electronics maintainer=SparkFun Electronics sentence=Library to develop applications usgin the SparkFun Flux Framework. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4ea0ab69..1c415b88 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # just add our subdirectories -- recurse down the tree add_subdirectory(core) add_subdirectory(device) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index c70afb5e..efc1260d 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Process all sub-modules flux_sdk_process_subdirectories() diff --git a/src/core/flux_base/CMakeLists.txt b/src/core/flux_base/CMakeLists.txt index 3385d296..c596d350 100644 --- a/src/core/flux_base/CMakeLists.txt +++ b/src/core/flux_base/CMakeLists.txt @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files( flxBusI2C.cpp diff --git a/src/core/flux_base/Flux.h b/src/core/flux_base/Flux.h index a1e3ebac..fd627374 100644 --- a/src/core/flux_base/Flux.h +++ b/src/core/flux_base/Flux.h @@ -1,13 +1,10 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT + * * - *--------------------------------------------------------------------------------- * Flux.h * * Main Flux include file - for projects outside of the framework. diff --git a/src/core/flux_base/flxBusI2C.cpp b/src/core/flux_base/flxBusI2C.cpp index ac2fee5f..c3ea1da0 100644 --- a/src/core/flux_base/flxBusI2C.cpp +++ b/src/core/flux_base/flxBusI2C.cpp @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ #include "flxBusI2C.h" diff --git a/src/core/flux_base/flxBusI2C.h b/src/core/flux_base/flxBusI2C.h index 416fed70..ea835695 100644 --- a/src/core/flux_base/flxBusI2C.h +++ b/src/core/flux_base/flxBusI2C.h @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* diff --git a/src/core/flux_base/flxBusSPI.cpp b/src/core/flux_base/flxBusSPI.cpp index 4513de13..62719299 100644 --- a/src/core/flux_base/flxBusSPI.cpp +++ b/src/core/flux_base/flxBusSPI.cpp @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ // SPI bus encapsulation diff --git a/src/core/flux_base/flxBusSPI.h b/src/core/flux_base/flxBusSPI.h index 7d156f9d..b7541103 100644 --- a/src/core/flux_base/flxBusSPI.h +++ b/src/core/flux_base/flxBusSPI.h @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ // SPI bus encapsulation diff --git a/src/core/flux_base/flxCore.cpp b/src/core/flux_base/flxCore.cpp index 71ef5b04..b6f8955a 100644 --- a/src/core/flux_base/flxCore.cpp +++ b/src/core/flux_base/flxCore.cpp @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ #include "flxCore.h" diff --git a/src/core/flux_base/flxCore.h b/src/core/flux_base/flxCore.h index 3b995445..ffa334cb 100644 --- a/src/core/flux_base/flxCore.h +++ b/src/core/flux_base/flxCore.h @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ #pragma once diff --git a/src/core/flux_base/flxCoreDevice.cpp b/src/core/flux_base/flxCoreDevice.cpp index c11511d5..0dec87de 100644 --- a/src/core/flux_base/flxCoreDevice.cpp +++ b/src/core/flux_base/flxCoreDevice.cpp @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* * diff --git a/src/core/flux_base/flxCoreDevice.h b/src/core/flux_base/flxCoreDevice.h index 16f3c1d6..69fd184f 100644 --- a/src/core/flux_base/flxCoreDevice.h +++ b/src/core/flux_base/flxCoreDevice.h @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ /* * diff --git a/src/core/flux_base/flxCoreEvent.cpp b/src/core/flux_base/flxCoreEvent.cpp index 9ec74a03..96dd9e37 100644 --- a/src/core/flux_base/flxCoreEvent.cpp +++ b/src/core/flux_base/flxCoreEvent.cpp @@ -1,14 +1,10 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ #include "flxCoreEvent.h" diff --git a/src/core/flux_base/flxCoreEvent.h b/src/core/flux_base/flxCoreEvent.h index 74696003..dc0fb3dc 100644 --- a/src/core/flux_base/flxCoreEvent.h +++ b/src/core/flux_base/flxCoreEvent.h @@ -1,13 +1,9 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ #pragma once @@ -236,7 +232,7 @@ class _flxEventHub } private: - _flxEventHub(){}; + _flxEventHub() {}; // map event ID to event signal std::map _eventSignals; diff --git a/src/core/flux_base/flxCoreEventID.h b/src/core/flux_base/flxCoreEventID.h index 818c168f..b2fe1d70 100644 --- a/src/core/flux_base/flxCoreEventID.h +++ b/src/core/flux_base/flxCoreEventID.h @@ -1,14 +1,10 @@ /* - *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * - *--------------------------------------------------------------------------------- */ #pragma once diff --git a/src/core/flux_base/flxCoreInterface.h b/src/core/flux_base/flxCoreInterface.h index d97783cf..6ec39924 100644 --- a/src/core/flux_base/flxCoreInterface.h +++ b/src/core/flux_base/flxCoreInterface.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreJobs.cpp b/src/core/flux_base/flxCoreJobs.cpp index b472f6ef..5a2ebd29 100644 --- a/src/core/flux_base/flxCoreJobs.cpp +++ b/src/core/flux_base/flxCoreJobs.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreJobs.h b/src/core/flux_base/flxCoreJobs.h index 46043c05..f56ed251 100644 --- a/src/core/flux_base/flxCoreJobs.h +++ b/src/core/flux_base/flxCoreJobs.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreLog.cpp b/src/core/flux_base/flxCoreLog.cpp index 13b2fdb5..68a6f72b 100644 --- a/src/core/flux_base/flxCoreLog.cpp +++ b/src/core/flux_base/flxCoreLog.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreLog.h b/src/core/flux_base/flxCoreLog.h index 758ddbb7..45f18c29 100644 --- a/src/core/flux_base/flxCoreLog.h +++ b/src/core/flux_base/flxCoreLog.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreMsg.cpp b/src/core/flux_base/flxCoreMsg.cpp index 063ed4ea..fe613f14 100644 --- a/src/core/flux_base/flxCoreMsg.cpp +++ b/src/core/flux_base/flxCoreMsg.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreMsg.h b/src/core/flux_base/flxCoreMsg.h index c2b5e98c..57e65b7e 100644 --- a/src/core/flux_base/flxCoreMsg.h +++ b/src/core/flux_base/flxCoreMsg.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreParam.h b/src/core/flux_base/flxCoreParam.h index 4f6d191d..18718d9e 100644 --- a/src/core/flux_base/flxCoreParam.h +++ b/src/core/flux_base/flxCoreParam.h @@ -2,11 +2,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreProps.h b/src/core/flux_base/flxCoreProps.h index 432fc9d6..f0a89974 100644 --- a/src/core/flux_base/flxCoreProps.h +++ b/src/core/flux_base/flxCoreProps.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxCoreTypes.h b/src/core/flux_base/flxCoreTypes.h index b1c57546..48834a80 100644 --- a/src/core/flux_base/flxCoreTypes.h +++ b/src/core/flux_base/flxCoreTypes.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxDevice.h b/src/core/flux_base/flxDevice.h index adedadf5..1ebc0933 100644 --- a/src/core/flux_base/flxDevice.h +++ b/src/core/flux_base/flxDevice.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxDeviceValueTypes.h b/src/core/flux_base/flxDeviceValueTypes.h index c9030561..878127b8 100644 --- a/src/core/flux_base/flxDeviceValueTypes.h +++ b/src/core/flux_base/flxDeviceValueTypes.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxFlux.h b/src/core/flux_base/flxFlux.h index 2ad7ccc6..a532f6b7 100644 --- a/src/core/flux_base/flxFlux.h +++ b/src/core/flux_base/flxFlux.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxSerial.cpp b/src/core/flux_base/flxSerial.cpp index a2c79fe9..612b4b56 100644 --- a/src/core/flux_base/flxSerial.cpp +++ b/src/core/flux_base/flxSerial.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxSerial.h b/src/core/flux_base/flxSerial.h index dd4eb7d2..192c92aa 100644 --- a/src/core/flux_base/flxSerial.h +++ b/src/core/flux_base/flxSerial.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxTimer.h b/src/core/flux_base/flxTimer.h index c2033cea..d67398e3 100644 --- a/src/core/flux_base/flxTimer.h +++ b/src/core/flux_base/flxTimer.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxUtils.cpp b/src/core/flux_base/flxUtils.cpp index eceedace..d38099af 100644 --- a/src/core/flux_base/flxUtils.cpp +++ b/src/core/flux_base/flxUtils.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/flxUtils.h b/src/core/flux_base/flxUtils.h index 318906f2..597e5cc2 100644 --- a/src/core/flux_base/flxUtils.h +++ b/src/core/flux_base/flxUtils.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_base/spSpark.cpp b/src/core/flux_base/spSpark.cpp index 8d4c6a76..c7e50122 100644 --- a/src/core/flux_base/spSpark.cpp +++ b/src/core/flux_base/spSpark.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_clock/CMakeLists.txt b/src/core/flux_clock/CMakeLists.txt index 9e9ac668..02446730 100644 --- a/src/core/flux_clock/CMakeLists.txt +++ b/src/core/flux_clock/CMakeLists.txt @@ -1,3 +1,7 @@ - +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory -flux_sdk_add_source_files(flxClock.h flxClock.cpp) +flux_sdk_add_source_files(flxClock.h flxClock.cpp) diff --git a/src/core/flux_clock/flxClock.cpp b/src/core/flux_clock/flxClock.cpp index 23e62bad..9e2f0fee 100644 --- a/src/core/flux_clock/flxClock.cpp +++ b/src/core/flux_clock/flxClock.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_clock/flxClock.h b/src/core/flux_clock/flxClock.h index cda68b73..4a1e63c0 100644 --- a/src/core/flux_clock/flxClock.h +++ b/src/core/flux_clock/flxClock.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_file/CMakeLists.txt b/src/core/flux_file/CMakeLists.txt index fe5a45d6..7750f7e7 100644 --- a/src/core/flux_file/CMakeLists.txt +++ b/src/core/flux_file/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxFileRotate.h flxFileRotate.cpp flxFS.h) diff --git a/src/core/flux_file/flxFS.h b/src/core/flux_file/flxFS.h index aa171a2d..e613b781 100644 --- a/src/core/flux_file/flxFS.h +++ b/src/core/flux_file/flxFS.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_file/flxFileRotate.cpp b/src/core/flux_file/flxFileRotate.cpp index 317afb99..bd2e7f26 100644 --- a/src/core/flux_file/flxFileRotate.cpp +++ b/src/core/flux_file/flxFileRotate.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_file/flxFileRotate.h b/src/core/flux_file/flxFileRotate.h index 74a0c32c..bc8c1975 100644 --- a/src/core/flux_file/flxFileRotate.h +++ b/src/core/flux_file/flxFileRotate.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_firmware/CMakeLists.txt b/src/core/flux_firmware/CMakeLists.txt index 6a38833b..6066587b 100644 --- a/src/core/flux_firmware/CMakeLists.txt +++ b/src/core/flux_firmware/CMakeLists.txt @@ -1,3 +1,7 @@ - +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory -flux_sdk_add_source_files(flxSysFirmware.h flxSysFirmware.cpp) +flux_sdk_add_source_files(flxSysFirmware.h flxSysFirmware.cpp) diff --git a/src/core/flux_firmware/flxSysFirmware.cpp b/src/core/flux_firmware/flxSysFirmware.cpp index d959c858..4ae732bb 100644 --- a/src/core/flux_firmware/flxSysFirmware.cpp +++ b/src/core/flux_firmware/flxSysFirmware.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_firmware/flxSysFirmware.h b/src/core/flux_firmware/flxSysFirmware.h index 3cf731e6..d9d38c6d 100644 --- a/src/core/flux_firmware/flxSysFirmware.h +++ b/src/core/flux_firmware/flxSysFirmware.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ @@ -60,8 +58,8 @@ class flxSysFirmware : public flxActionType public: flxSysFirmware() - : _pSerialSettings{nullptr}, _fileSystem{nullptr}, _firmwareFilePrefix{""}, - _wifiConnection{nullptr}, _otaURL{nullptr}, _bUpdateOTA{false} + : _pSerialSettings{nullptr}, _fileSystem{nullptr}, _firmwareFilePrefix{""}, _wifiConnection{nullptr}, + _otaURL{nullptr}, _bUpdateOTA{false} { // Set name and description diff --git a/src/core/flux_logging/CMakeLists.txt b/src/core/flux_logging/CMakeLists.txt index 7fb7e629..a59fd8fa 100644 --- a/src/core/flux_logging/CMakeLists.txt +++ b/src/core/flux_logging/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxFmtCSV.h flxFmtJSON.h flxLogger.cpp flxLogger.h flxOutput.h) diff --git a/src/core/flux_logging/flxFmtCSV.h b/src/core/flux_logging/flxFmtCSV.h index fc76e8dc..ae7a2826 100644 --- a/src/core/flux_logging/flxFmtCSV.h +++ b/src/core/flux_logging/flxFmtCSV.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_logging/flxFmtJSON.h b/src/core/flux_logging/flxFmtJSON.h index a84672c9..2cf7d63a 100644 --- a/src/core/flux_logging/flxFmtJSON.h +++ b/src/core/flux_logging/flxFmtJSON.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_logging/flxLogger.cpp b/src/core/flux_logging/flxLogger.cpp index eb754b0d..e7a29a0f 100644 --- a/src/core/flux_logging/flxLogger.cpp +++ b/src/core/flux_logging/flxLogger.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_logging/flxLogger.h b/src/core/flux_logging/flxLogger.h index f6e6fe3d..f9980d3f 100644 --- a/src/core/flux_logging/flxLogger.h +++ b/src/core/flux_logging/flxLogger.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_logging/flxOutput.h b/src/core/flux_logging/flxOutput.h index 648c58e6..30473475 100644 --- a/src/core/flux_logging/flxOutput.h +++ b/src/core/flux_logging/flxOutput.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ @@ -28,7 +26,7 @@ class flxOutputFormat { public: - flxOutputFormat(){}; + flxOutputFormat() {}; // value methods virtual void logValue(const std::string &tag, bool value) = 0; @@ -61,18 +59,18 @@ class flxOutputFormat // structure cycle virtual void beginObservation(const char *szTitle = nullptr) = 0; - virtual void beginSection(const char *szName){}; + virtual void beginSection(const char *szName) {}; virtual void beginSection(const std::string &name) { beginSection(name.c_str()); } - virtual void endSection(void){}; + virtual void endSection(void) {}; virtual void endObservation(void) = 0; virtual void writeObservation(void) = 0; - virtual void clearObservation(void){}; + virtual void clearObservation(void) {}; - virtual void reset(void){}; + virtual void reset(void) {}; void add(flxWriter &newWriter) { diff --git a/src/core/flux_prefs/CMakeLists.txt b/src/core/flux_prefs/CMakeLists.txt index a3e4a8ed..3951cbdf 100644 --- a/src/core/flux_prefs/CMakeLists.txt +++ b/src/core/flux_prefs/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxSettings.h flxSettings.cpp flxStorage.cpp flxStorage.h) diff --git a/src/core/flux_prefs/flxSettings.cpp b/src/core/flux_prefs/flxSettings.cpp index 3ae03792..eb19ff0a 100644 --- a/src/core/flux_prefs/flxSettings.cpp +++ b/src/core/flux_prefs/flxSettings.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_prefs/flxSettings.h b/src/core/flux_prefs/flxSettings.h index bb997b8a..13d37e21 100644 --- a/src/core/flux_prefs/flxSettings.h +++ b/src/core/flux_prefs/flxSettings.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ @@ -145,8 +143,6 @@ class flxSettingsSave : public flxActionType flxRegister(saveFallback, "Save to Fallback", "Save system settings to the fallback storage"); flxRegister(restoreFallback, "Restore from Fallback", "Restore system settings from the fallback storage"); - - } flxStorage *_primaryStorage; diff --git a/src/core/flux_prefs/flxStorage.cpp b/src/core/flux_prefs/flxStorage.cpp index cae79860..5a908ad6 100644 --- a/src/core/flux_prefs/flxStorage.cpp +++ b/src/core/flux_prefs/flxStorage.cpp @@ -3,11 +3,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_prefs/flxStorage.h b/src/core/flux_prefs/flxStorage.h index 90b24867..cb44d278 100644 --- a/src/core/flux_prefs/flxStorage.h +++ b/src/core/flux_prefs/flxStorage.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ @@ -95,7 +93,7 @@ class flxStorage : public flxDescriptor // some devices use an internal buffer - enable this to be set. - virtual void setBufferSize(size_t sz){}; + virtual void setBufferSize(size_t sz) {}; virtual size_t bufferSize(void) { return 0; diff --git a/src/core/flux_prefs_json/CMakeLists.txt b/src/core/flux_prefs_json/CMakeLists.txt index 2374932f..5c3e7943 100644 --- a/src/core/flux_prefs_json/CMakeLists.txt +++ b/src/core/flux_prefs_json/CMakeLists.txt @@ -1,3 +1,7 @@ - +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory -flux_sdk_add_source_files(flxStorageJSONPref.h flxStorageJSONPref.cpp) +flux_sdk_add_source_files(flxStorageJSONPref.h flxStorageJSONPref.cpp) diff --git a/src/core/flux_prefs_json/flxStorageJSONPref.cpp b/src/core/flux_prefs_json/flxStorageJSONPref.cpp index dbe63a41..198edc8b 100644 --- a/src/core/flux_prefs_json/flxStorageJSONPref.cpp +++ b/src/core/flux_prefs_json/flxStorageJSONPref.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_prefs_json/flxStorageJSONPref.h b/src/core/flux_prefs_json/flxStorageJSONPref.h index 5a033dec..69ee86cc 100644 --- a/src/core/flux_prefs_json/flxStorageJSONPref.h +++ b/src/core/flux_prefs_json/flxStorageJSONPref.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_prefs_serial/CMakeLists.txt b/src/core/flux_prefs_serial/CMakeLists.txt index f1aee6ff..4aa2d055 100644 --- a/src/core/flux_prefs_serial/CMakeLists.txt +++ b/src/core/flux_prefs_serial/CMakeLists.txt @@ -1,3 +1,8 @@ - +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory -flux_sdk_add_source_files(flxSerialField.h flxSerialField.cpp flxSettingsSerial.cpp flxSettingsSerial.h) +flux_sdk_add_source_files(flxSerialField.h flxSerialField.cpp flxSettingsSerial.cpp + flxSettingsSerial.h) diff --git a/src/core/flux_prefs_serial/flxSerialField.cpp b/src/core/flux_prefs_serial/flxSerialField.cpp index e6afada5..97206377 100644 --- a/src/core/flux_prefs_serial/flxSerialField.cpp +++ b/src/core/flux_prefs_serial/flxSerialField.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_prefs_serial/flxSerialField.h b/src/core/flux_prefs_serial/flxSerialField.h index 35e6fa35..272d3432 100644 --- a/src/core/flux_prefs_serial/flxSerialField.h +++ b/src/core/flux_prefs_serial/flxSerialField.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_prefs_serial/flxSettingsSerial.cpp b/src/core/flux_prefs_serial/flxSettingsSerial.cpp index 71aeb264..c5de07d4 100644 --- a/src/core/flux_prefs_serial/flxSettingsSerial.cpp +++ b/src/core/flux_prefs_serial/flxSettingsSerial.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_prefs_serial/flxSettingsSerial.h b/src/core/flux_prefs_serial/flxSettingsSerial.h index 15556297..e1a1dfd0 100644 --- a/src/core/flux_prefs_serial/flxSettingsSerial.h +++ b/src/core/flux_prefs_serial/flxSettingsSerial.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_sdcard/CMakeLists.txt b/src/core/flux_sdcard/CMakeLists.txt index e76f7b33..83885423 100644 --- a/src/core/flux_sdcard/CMakeLists.txt +++ b/src/core/flux_sdcard/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxFSSDMMCard.h flxFSSDMMCard.cpp) diff --git a/src/core/flux_sdcard/flxFSSDMMCard.cpp b/src/core/flux_sdcard/flxFSSDMMCard.cpp index bd35cd7f..07744906 100644 --- a/src/core/flux_sdcard/flxFSSDMMCard.cpp +++ b/src/core/flux_sdcard/flxFSSDMMCard.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/core/flux_sdcard/flxFSSDMMCard.h b/src/core/flux_sdcard/flxFSSDMMCard.h index dd7a52f8..99eb8ebe 100644 --- a/src/core/flux_sdcard/flxFSSDMMCard.h +++ b/src/core/flux_sdcard/flxFSSDMMCard.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ @@ -24,7 +22,7 @@ class _flxFSSDMMCard; class flxFSSDMMCFile : public flxIFile { public: - flxFSSDMMCFile(){}; + flxFSSDMMCFile() {}; size_t write(const uint8_t *buf, size_t size); diff --git a/src/device/CMakeLists.txt b/src/device/CMakeLists.txt index c70afb5e..efc1260d 100644 --- a/src/device/CMakeLists.txt +++ b/src/device/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Process all sub-modules flux_sdk_process_subdirectories() diff --git a/src/device/device_acs37800/flxDevACS37800.cpp b/src/device/device_acs37800/flxDevACS37800.cpp index 6e717db1..94a4491b 100644 --- a/src/device/device_acs37800/flxDevACS37800.cpp +++ b/src/device/device_acs37800/flxDevACS37800.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_acs37800/flxDevACS37800.h b/src/device/device_acs37800/flxDevACS37800.h index d4bc1015..bb4ab1f7 100644 --- a/src/device/device_acs37800/flxDevACS37800.h +++ b/src/device/device_acs37800/flxDevACS37800.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ads1015/CMakeLists.txt b/src/device/device_ads1015/CMakeLists.txt index 76829ed7..204cbd30 100644 --- a/src/device/device_ads1015/CMakeLists.txt +++ b/src/device/device_ads1015/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevADS1015.h flxDevADS1015.cpp) diff --git a/src/device/device_ads1015/flxDevADS1015.cpp b/src/device/device_ads1015/flxDevADS1015.cpp index c426f9ea..c42fa84b 100644 --- a/src/device/device_ads1015/flxDevADS1015.cpp +++ b/src/device/device_ads1015/flxDevADS1015.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ @@ -30,8 +28,8 @@ uint8_t flxDevADS1015::defaultDeviceAddress[] = {0x48, 0x49, 0x4A, 0x4B, kSparkD flxRegisterDevice(flxDevADS1015); flxDevADS1015::flxDevADS1015() - : _seType{kADS1015DeviceFloat}, _diffType{kADS1015DeviceFloat}, - _sampleRate{ADS1015_CONFIG_RATE_1600HZ}, _gain{ADS1015_CONFIG_PGA_2} + : _seType{kADS1015DeviceFloat}, _diffType{kADS1015DeviceFloat}, _sampleRate{ADS1015_CONFIG_RATE_1600HZ}, + _gain{ADS1015_CONFIG_PGA_2} { spSetupDeviceIdent(getDeviceName()); diff --git a/src/device/device_ads1015/flxDevADS1015.h b/src/device/device_ads1015/flxDevADS1015.h index 14933259..e6e51f1f 100644 --- a/src/device/device_ads1015/flxDevADS1015.h +++ b/src/device/device_ads1015/flxDevADS1015.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ads122c04/CMakeLists.txt b/src/device/device_ads122c04/CMakeLists.txt index ffe82880..2d19f7c5 100644 --- a/src/device/device_ads122c04/CMakeLists.txt +++ b/src/device/device_ads122c04/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevADS122C04.h flxDevADS122C04.cpp) diff --git a/src/device/device_ads122c04/flxDevADS122C04.cpp b/src/device/device_ads122c04/flxDevADS122C04.cpp index b191f355..02b641f3 100644 --- a/src/device/device_ads122c04/flxDevADS122C04.cpp +++ b/src/device/device_ads122c04/flxDevADS122C04.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ads122c04/flxDevADS122C04.h b/src/device/device_ads122c04/flxDevADS122C04.h index aedf7988..70b78dba 100644 --- a/src/device/device_ads122c04/flxDevADS122C04.h +++ b/src/device/device_ads122c04/flxDevADS122C04.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_aht20/CMakeLists.txt b/src/device/device_aht20/CMakeLists.txt index e571696d..16bd7b50 100644 --- a/src/device/device_aht20/CMakeLists.txt +++ b/src/device/device_aht20/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevAHT20.h flxDevAHT20.cpp) diff --git a/src/device/device_aht20/flxDevAHT20.cpp b/src/device/device_aht20/flxDevAHT20.cpp index 56aad1e6..b6455efb 100644 --- a/src/device/device_aht20/flxDevAHT20.cpp +++ b/src/device/device_aht20/flxDevAHT20.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_aht20/flxDevAHT20.h b/src/device/device_aht20/flxDevAHT20.h index 461b5c79..80a7a698 100644 --- a/src/device/device_aht20/flxDevAHT20.h +++ b/src/device/device_aht20/flxDevAHT20.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_amg8833/CMakeLists.txt b/src/device/device_amg8833/CMakeLists.txt index dced0d79..ac810d6e 100644 --- a/src/device/device_amg8833/CMakeLists.txt +++ b/src/device/device_amg8833/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevAMG8833.h flxDevAMG8833.cpp) diff --git a/src/device/device_amg8833/flxDevAMG8833.cpp b/src/device/device_amg8833/flxDevAMG8833.cpp index e855716a..d9b47129 100644 --- a/src/device/device_amg8833/flxDevAMG8833.cpp +++ b/src/device/device_amg8833/flxDevAMG8833.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_amg8833/flxDevAMG8833.h b/src/device/device_amg8833/flxDevAMG8833.h index 2edf529a..8912541b 100644 --- a/src/device/device_amg8833/flxDevAMG8833.h +++ b/src/device/device_amg8833/flxDevAMG8833.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_as7265x/CMakeLists.txt b/src/device/device_as7265x/CMakeLists.txt index 23e109f4..05f07cc7 100644 --- a/src/device/device_as7265x/CMakeLists.txt +++ b/src/device/device_as7265x/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevAS7265x.h flxDevAS7265x.cpp) diff --git a/src/device/device_as7265x/flxDevAS7265x.cpp b/src/device/device_as7265x/flxDevAS7265x.cpp index bf4de062..6001f463 100644 --- a/src/device/device_as7265x/flxDevAS7265x.cpp +++ b/src/device/device_as7265x/flxDevAS7265x.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_as7265x/flxDevAS7265x.h b/src/device/device_as7265x/flxDevAS7265x.h index 1426bf68..48c6cb2a 100644 --- a/src/device/device_as7265x/flxDevAS7265x.h +++ b/src/device/device_as7265x/flxDevAS7265x.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_biohub/CMakeLists.txt b/src/device/device_biohub/CMakeLists.txt index e386f6fc..717dc526 100644 --- a/src/device/device_biohub/CMakeLists.txt +++ b/src/device/device_biohub/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevBioHub.h flxDevBioHub.cpp) diff --git a/src/device/device_biohub/flxDevBioHub.cpp b/src/device/device_biohub/flxDevBioHub.cpp index 92de3bd7..44f01d44 100644 --- a/src/device/device_biohub/flxDevBioHub.cpp +++ b/src/device/device_biohub/flxDevBioHub.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_biohub/flxDevBioHub.h b/src/device/device_biohub/flxDevBioHub.h index 29ff22e0..31db5b3b 100644 --- a/src/device/device_biohub/flxDevBioHub.h +++ b/src/device/device_biohub/flxDevBioHub.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_bme280/CMakeLists.txt b/src/device/device_bme280/CMakeLists.txt index 5f7cfed2..d18b2876 100644 --- a/src/device/device_bme280/CMakeLists.txt +++ b/src/device/device_bme280/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevBME280.h flxDevBME280.cpp) diff --git a/src/device/device_bme280/flxDevBME280.cpp b/src/device/device_bme280/flxDevBME280.cpp index b58567f2..35cd2ea1 100644 --- a/src/device/device_bme280/flxDevBME280.cpp +++ b/src/device/device_bme280/flxDevBME280.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_bme280/flxDevBME280.h b/src/device/device_bme280/flxDevBME280.h index a257e18b..6cd922a7 100644 --- a/src/device/device_bme280/flxDevBME280.h +++ b/src/device/device_bme280/flxDevBME280.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_bme68x/CMakeLists.txt b/src/device/device_bme68x/CMakeLists.txt index 36dc9e74..b5404a1f 100644 --- a/src/device/device_bme68x/CMakeLists.txt +++ b/src/device/device_bme68x/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevBME68x.h flxDevBME68x.cpp) diff --git a/src/device/device_bme68x/flxDevBME68x.cpp b/src/device/device_bme68x/flxDevBME68x.cpp index 32c10602..4ab9ad0c 100644 --- a/src/device/device_bme68x/flxDevBME68x.cpp +++ b/src/device/device_bme68x/flxDevBME68x.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_bme68x/flxDevBME68x.h b/src/device/device_bme68x/flxDevBME68x.h index e764e5af..0f3c41b7 100644 --- a/src/device/device_bme68x/flxDevBME68x.h +++ b/src/device/device_bme68x/flxDevBME68x.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_bmp384/CMakeLists.txt b/src/device/device_bmp384/CMakeLists.txt index 2e5721b8..0a8953f5 100644 --- a/src/device/device_bmp384/CMakeLists.txt +++ b/src/device/device_bmp384/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevBMP384.h flxDevBMP384.cpp) diff --git a/src/device/device_bmp384/flxDevBMP384.cpp b/src/device/device_bmp384/flxDevBMP384.cpp index 5f0d8249..7e3d3a3e 100644 --- a/src/device/device_bmp384/flxDevBMP384.cpp +++ b/src/device/device_bmp384/flxDevBMP384.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_bmp384/flxDevBMP384.h b/src/device/device_bmp384/flxDevBMP384.h index a765a517..6466cdc6 100644 --- a/src/device/device_bmp384/flxDevBMP384.h +++ b/src/device/device_bmp384/flxDevBMP384.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_bmp581/CMakeLists.txt b/src/device/device_bmp581/CMakeLists.txt index 53d4fcfa..920af609 100644 --- a/src/device/device_bmp581/CMakeLists.txt +++ b/src/device/device_bmp581/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevBMP581.h flxDevBMP581.cpp) diff --git a/src/device/device_bmp581/flxDevBMP581.cpp b/src/device/device_bmp581/flxDevBMP581.cpp index 83b267fc..f0feda43 100644 --- a/src/device/device_bmp581/flxDevBMP581.cpp +++ b/src/device/device_bmp581/flxDevBMP581.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_bmp581/flxDevBMP581.h b/src/device/device_bmp581/flxDevBMP581.h index 8082a194..9983a93f 100644 --- a/src/device/device_bmp581/flxDevBMP581.h +++ b/src/device/device_bmp581/flxDevBMP581.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_button/CMakeLists.txt b/src/device/device_button/CMakeLists.txt index a6b1bf70..d1f9ce62 100644 --- a/src/device/device_button/CMakeLists.txt +++ b/src/device/device_button/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevButton.h flxDevButton.cpp) diff --git a/src/device/device_button/flxDevButton.cpp b/src/device/device_button/flxDevButton.cpp index 888c1ffc..d224c9b1 100644 --- a/src/device/device_button/flxDevButton.cpp +++ b/src/device/device_button/flxDevButton.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_button/flxDevButton.h b/src/device/device_button/flxDevButton.h index a7bacf6d..dbe57f5d 100644 --- a/src/device/device_button/flxDevButton.h +++ b/src/device/device_button/flxDevButton.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ccs811/CMakeLists.txt b/src/device/device_ccs811/CMakeLists.txt index 2e167f73..e2b3b7db 100644 --- a/src/device/device_ccs811/CMakeLists.txt +++ b/src/device/device_ccs811/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevCCS811.h flxDevCCS811.cpp) diff --git a/src/device/device_ccs811/flxDevCCS811.cpp b/src/device/device_ccs811/flxDevCCS811.cpp index 0fd0a7ab..4b46c7a1 100644 --- a/src/device/device_ccs811/flxDevCCS811.cpp +++ b/src/device/device_ccs811/flxDevCCS811.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ccs811/flxDevCCS811.h b/src/device/device_ccs811/flxDevCCS811.h index 9f4f7778..aded39c3 100644 --- a/src/device/device_ccs811/flxDevCCS811.h +++ b/src/device/device_ccs811/flxDevCCS811.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ens160/CMakeLists.txt b/src/device/device_ens160/CMakeLists.txt index b8932005..4bdc24e3 100644 --- a/src/device/device_ens160/CMakeLists.txt +++ b/src/device/device_ens160/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevENS160.h flxDevENS160.cpp) diff --git a/src/device/device_ens160/flxDevENS160.cpp b/src/device/device_ens160/flxDevENS160.cpp index 615223e3..17f893fe 100644 --- a/src/device/device_ens160/flxDevENS160.cpp +++ b/src/device/device_ens160/flxDevENS160.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ens160/flxDevENS160.h b/src/device/device_ens160/flxDevENS160.h index 154b7717..c76b9aba 100644 --- a/src/device/device_ens160/flxDevENS160.h +++ b/src/device/device_ens160/flxDevENS160.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_fs3000/CMakeLists.txt b/src/device/device_fs3000/CMakeLists.txt index f68c15ff..5c82ccce 100644 --- a/src/device/device_fs3000/CMakeLists.txt +++ b/src/device/device_fs3000/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevFS3000.h flxDevFS3000.cpp) diff --git a/src/device/device_fs3000/flxDevFS3000.cpp b/src/device/device_fs3000/flxDevFS3000.cpp index 69c43f42..4ca72bf5 100644 --- a/src/device/device_fs3000/flxDevFS3000.cpp +++ b/src/device/device_fs3000/flxDevFS3000.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_fs3000/flxDevFS3000.h b/src/device/device_fs3000/flxDevFS3000.h index 3fd7a0a3..d24ddd25 100644 --- a/src/device/device_fs3000/flxDevFS3000.h +++ b/src/device/device_fs3000/flxDevFS3000.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_gnss/CMakeLists.txt b/src/device/device_gnss/CMakeLists.txt index b8f52485..688e2313 100644 --- a/src/device/device_gnss/CMakeLists.txt +++ b/src/device/device_gnss/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevGNSS.h flxDevGNSS.cpp) diff --git a/src/device/device_gnss/flxDevGNSS.cpp b/src/device/device_gnss/flxDevGNSS.cpp index 663d6ea0..7a9bd1ec 100644 --- a/src/device/device_gnss/flxDevGNSS.cpp +++ b/src/device/device_gnss/flxDevGNSS.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_gnss/flxDevGNSS.h b/src/device/device_gnss/flxDevGNSS.h index d54b854c..102550fd 100644 --- a/src/device/device_gnss/flxDevGNSS.h +++ b/src/device/device_gnss/flxDevGNSS.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ism330/CMakeLists.txt b/src/device/device_ism330/CMakeLists.txt index 20f15925..88c0ab2a 100644 --- a/src/device/device_ism330/CMakeLists.txt +++ b/src/device/device_ism330/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxDevISM330.h flxDevISM330.cpp) diff --git a/src/device/device_ism330/flxDevISM330.cpp b/src/device/device_ism330/flxDevISM330.cpp index 48669171..729b5819 100644 --- a/src/device/device_ism330/flxDevISM330.cpp +++ b/src/device/device_ism330/flxDevISM330.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/device/device_ism330/flxDevISM330.h b/src/device/device_ism330/flxDevISM330.h index 474fda06..e45dfed6 100644 --- a/src/device/device_ism330/flxDevISM330.h +++ b/src/device/device_ism330/flxDevISM330.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ @@ -188,7 +186,7 @@ class flxDevISM330 : public flxDeviceI2CType { public: - flxDevISM330(){}; + flxDevISM330() {}; // Static Interface - used by the system to determine if this device is // connected before the object is instantiated. @@ -229,7 +227,7 @@ class flxDevISM330_SPI : public flxDeviceSPIType #include -#define INDEFINITE_TIME ((time_t)-1) +#define INDEFINITE_TIME ((time_t) - 1) #define az_span_is_content_equal(x, AZ_SPAN_EMPTY) \ (az_span_size(x) == az_span_size(AZ_SPAN_EMPTY) && az_span_ptr(x) == az_span_ptr(AZ_SPAN_EMPTY)) diff --git a/src/iot/iot_azure/flxIoTAzure.h b/src/iot/iot_azure/flxIoTAzure.h index 3684a9e4..0cef3cd9 100644 --- a/src/iot/iot_azure/flxIoTAzure.h +++ b/src/iot/iot_azure/flxIoTAzure.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/iot/iot_http/CMakeLists.txt b/src/iot/iot_http/CMakeLists.txt index 19feb11c..7a25edcd 100644 --- a/src/iot/iot_http/CMakeLists.txt +++ b/src/iot/iot_http/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxIoTHTTP.h) diff --git a/src/iot/iot_http/flxIoTHTTP.h b/src/iot/iot_http/flxIoTHTTP.h index 04dc76a0..83eabb32 100644 --- a/src/iot/iot_http/flxIoTHTTP.h +++ b/src/iot/iot_http/flxIoTHTTP.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/iot/iot_machinechat/CMakeLists.txt b/src/iot/iot_machinechat/CMakeLists.txt index cd6b1c1d..d17fa881 100644 --- a/src/iot/iot_machinechat/CMakeLists.txt +++ b/src/iot/iot_machinechat/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxIoTMachineChat.h) diff --git a/src/iot/iot_machinechat/flxIoTMachineChat.h b/src/iot/iot_machinechat/flxIoTMachineChat.h index da7cc145..30ae1d4d 100644 --- a/src/iot/iot_machinechat/flxIoTMachineChat.h +++ b/src/iot/iot_machinechat/flxIoTMachineChat.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/iot/iot_mqtt/CMakeLists.txt b/src/iot/iot_mqtt/CMakeLists.txt index d76a6dab..050a90ec 100644 --- a/src/iot/iot_mqtt/CMakeLists.txt +++ b/src/iot/iot_mqtt/CMakeLists.txt @@ -1,2 +1,6 @@ -# Add the source files for this directory -# flux_sdk_add_source_files(flxDrvBME68x.h flxDrvBME68x.cpp) +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# +# Add the source files for this directory flux_sdk_add_source_files(flxDrvBME68x.h flxDrvBME68x.cpp) diff --git a/src/iot/iot_thingspeak/CMakeLists.txt b/src/iot/iot_thingspeak/CMakeLists.txt index c1960c57..2d1b160b 100644 --- a/src/iot/iot_thingspeak/CMakeLists.txt +++ b/src/iot/iot_thingspeak/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxIoTThingSpeak.h) diff --git a/src/iot/iot_thingspeak/flxIoTThingSpeak.h b/src/iot/iot_thingspeak/flxIoTThingSpeak.h index 2bb88c78..6b114ddf 100644 --- a/src/iot/iot_thingspeak/flxIoTThingSpeak.h +++ b/src/iot/iot_thingspeak/flxIoTThingSpeak.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/net/CMakeLists.txt b/src/net/CMakeLists.txt index c70afb5e..efc1260d 100644 --- a/src/net/CMakeLists.txt +++ b/src/net/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Process all sub-modules flux_sdk_process_subdirectories() diff --git a/src/net/flux_network/CMakeLists.txt b/src/net/flux_network/CMakeLists.txt index 12dbb148..db842395 100644 --- a/src/net/flux_network/CMakeLists.txt +++ b/src/net/flux_network/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxNetwork.h) diff --git a/src/net/flux_network/flxNetwork.h b/src/net/flux_network/flxNetwork.h index 01a0d0ea..2e019f0f 100644 --- a/src/net/flux_network/flxNetwork.h +++ b/src/net/flux_network/flxNetwork.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/net/flux_wifi/CMakeLists.txt b/src/net/flux_wifi/CMakeLists.txt index c9766572..df6b32da 100644 --- a/src/net/flux_wifi/CMakeLists.txt +++ b/src/net/flux_wifi/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxWiFi.h) diff --git a/src/net/flux_wifi/flxWiFi.h b/src/net/flux_wifi/flxWiFi.h index e408c731..fa0153e8 100644 --- a/src/net/flux_wifi/flxWiFi.h +++ b/src/net/flux_wifi/flxWiFi.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/platform/CMakeLists.txt b/src/platform/CMakeLists.txt index 03afca25..f9b80dc3 100644 --- a/src/platform/CMakeLists.txt +++ b/src/platform/CMakeLists.txt @@ -1,3 +1,8 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Determine which port we are supporting. There can only one platform if (NOT DEFINED FLUX_SDK_PLATFORM) message( diff --git a/src/platform/platform_esp32/CMakeLists.txt b/src/platform/platform_esp32/CMakeLists.txt index c70afb5e..efc1260d 100644 --- a/src/platform/platform_esp32/CMakeLists.txt +++ b/src/platform/platform_esp32/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Process all sub-modules flux_sdk_process_subdirectories() diff --git a/src/platform/platform_esp32/flux_ntp/CMakeLists.txt b/src/platform/platform_esp32/flux_ntp/CMakeLists.txt index 2b93f1cf..cba6c5f0 100644 --- a/src/platform/platform_esp32/flux_ntp/CMakeLists.txt +++ b/src/platform/platform_esp32/flux_ntp/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxNTPESP32.h flxNTPESP32.cpp) diff --git a/src/platform/platform_esp32/flux_ntp/flxNTPESP32.cpp b/src/platform/platform_esp32/flux_ntp/flxNTPESP32.cpp index e42d71e5..93424d75 100644 --- a/src/platform/platform_esp32/flux_ntp/flxNTPESP32.cpp +++ b/src/platform/platform_esp32/flux_ntp/flxNTPESP32.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/platform/platform_esp32/flux_ntp/flxNTPESP32.h b/src/platform/platform_esp32/flux_ntp/flxNTPESP32.h index 216521bf..6d787471 100644 --- a/src/platform/platform_esp32/flux_ntp/flxNTPESP32.h +++ b/src/platform/platform_esp32/flux_ntp/flxNTPESP32.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/platform/platform_esp32/flux_prefs/CMakeLists.txt b/src/platform/platform_esp32/flux_prefs/CMakeLists.txt index 614cb404..1f3585d4 100644 --- a/src/platform/platform_esp32/flux_prefs/CMakeLists.txt +++ b/src/platform/platform_esp32/flux_prefs/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxStorageESP32Pref.h flxStorageESP32Pref.cpp) diff --git a/src/platform/platform_esp32/flux_prefs/flxStorageESP32Pref.cpp b/src/platform/platform_esp32/flux_prefs/flxStorageESP32Pref.cpp index b23b5325..f351bfa9 100644 --- a/src/platform/platform_esp32/flux_prefs/flxStorageESP32Pref.cpp +++ b/src/platform/platform_esp32/flux_prefs/flxStorageESP32Pref.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/platform/platform_esp32/flux_prefs/flxStorageESP32Pref.h b/src/platform/platform_esp32/flux_prefs/flxStorageESP32Pref.h index 0aa019de..90cd3a87 100644 --- a/src/platform/platform_esp32/flux_prefs/flxStorageESP32Pref.h +++ b/src/platform/platform_esp32/flux_prefs/flxStorageESP32Pref.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/platform/platform_esp32/flux_wifi/CMakeLists.txt b/src/platform/platform_esp32/flux_wifi/CMakeLists.txt index b29e4834..b39c3b80 100644 --- a/src/platform/platform_esp32/flux_wifi/CMakeLists.txt +++ b/src/platform/platform_esp32/flux_wifi/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxWiFiESP32.h flxWiFiESP32.cpp) diff --git a/src/platform/platform_esp32/flux_wifi/flxWiFiESP32.cpp b/src/platform/platform_esp32/flux_wifi/flxWiFiESP32.cpp index c15f066d..239b312e 100644 --- a/src/platform/platform_esp32/flux_wifi/flxWiFiESP32.cpp +++ b/src/platform/platform_esp32/flux_wifi/flxWiFiESP32.cpp @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/platform/platform_esp32/flux_wifi/flxWiFiESP32.h b/src/platform/platform_esp32/flux_wifi/flxWiFiESP32.h index 0565837f..4ce15eff 100644 --- a/src/platform/platform_esp32/flux_wifi/flxWiFiESP32.h +++ b/src/platform/platform_esp32/flux_wifi/flxWiFiESP32.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/platform/platform_esp32/iot_mqtt/CMakeLists.txt b/src/platform/platform_esp32/iot_mqtt/CMakeLists.txt index a787f1f4..324b3b73 100644 --- a/src/platform/platform_esp32/iot_mqtt/CMakeLists.txt +++ b/src/platform/platform_esp32/iot_mqtt/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Add the source files for this directory flux_sdk_add_source_files(flxMQTTESP32.h) diff --git a/src/platform/platform_esp32/iot_mqtt/flxMQTTESP32.h b/src/platform/platform_esp32/iot_mqtt/flxMQTTESP32.h index 6b20dee4..82b4e367 100644 --- a/src/platform/platform_esp32/iot_mqtt/flxMQTTESP32.h +++ b/src/platform/platform_esp32/iot_mqtt/flxMQTTESP32.h @@ -1,11 +1,9 @@ /* *--------------------------------------------------------------------------------- * - * Copyright (c) 2022-2024, SparkFun Electronics Inc. All rights reserved. - * This software includes information which is proprietary to and a - * trade secret of SparkFun Electronics Inc. It is not to be disclosed - * to anyone outside of this organization. Reproduction by any means - * whatsoever is prohibited without express written permission. + * Copyright (c) 2022-2024, SparkFun Electronics Inc. + * + * SPDX-License-Identifier: MIT * *--------------------------------------------------------------------------------- */ diff --git a/src/platform/platform_rpi/CMakeLists.txt b/src/platform/platform_rpi/CMakeLists.txt index c70afb5e..efc1260d 100644 --- a/src/platform/platform_rpi/CMakeLists.txt +++ b/src/platform/platform_rpi/CMakeLists.txt @@ -1,2 +1,7 @@ +# +# Copyright (c) 2022-2024, SparkFun Electronics Inc. +# +# SPDX-License-Identifier: MIT +# # Process all sub-modules flux_sdk_process_subdirectories()