diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a06bae..421cffa 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 34e4d2f..749c905 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 78e9f71..3dd2e32 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 2a919fc..336eab9 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 354c747..7408684 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 5be7ba3..0b088c4 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 870d27f..2ec6614 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 0859e47..08ff42a 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 7ad8f4b..888dc47 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 c763aff..f1dc732 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 1b3b822..d5f6431 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 70d8656..46bba56 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 53dcd6e..08a0187 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 3a5d247..921f25c 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 98a447f..5bc5f9c 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 7f75d28..a6f63ff 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 3482cfb..d116f20 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 cb8e5e4..8e3c112 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 74340f2..d64889f 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 ce372d6..470c6cd 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 9a1639f..d6c1eb8 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 252cad1..a53d9f7 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 4e9360b..b07678e 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 d3cca4e..a047afd 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 ea4cbae..abc0e26 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 94a03b4..c280649 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 a5651b6..3328e91 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 4ea0ab6..1c415b8 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 c70afb5..efc1260 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 3385d29..c596d35 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 a1e3eba..fd62737 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 ac2fee5..c3ea1da 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 416fed7..ea83569 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 4513de1..6271929 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 7d156f9..b754110 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 71ef5b0..b6f8955 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 3b99544..ffa334c 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 c11511d..0dec87d 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 16f3c1d..69fd184 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 9ec74a0..96dd9e3 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 7469600..dc0fb3d 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 818c168..b2fe1d7 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 d97783c..6ec3992 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 b472f6e..5a2ebd2 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 46043c0..f56ed25 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 13b2fdb..68a6f72 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 758ddbb..45f18c2 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 063ed4e..fe613f1 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 c2b5e98..57e65b7 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 4f6d191..18718d9 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 432fc9d..f0a8997 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 b1c5754..48834a8 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 adedadf..1ebc093 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 c903056..878127b 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 2ad7ccc..a532f6b 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 a2c79fe..612b4b5 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 dd4eb7d..192c92a 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 c2033ce..d67398e 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 eceedac..d38099a 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 318906f..597e5cc 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 8d4c6a7..c7e5012 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 9e9ac66..0244673 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 23e62ba..9e2f0fe 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 cda68b7..4a1e63c 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 fe5a45d..7750f7e 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 aa171a2..e613b78 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 317afb9..bd2e7f2 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 74a0c32..bc8c197 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 6a38833..6066587 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 d959c85..4ae732b 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 3cf731e..d9d38c6 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 7fb7e62..a59fd8f 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 fc76e8d..ae7a282 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 a84672c..2cf7d63 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 eb754b0..e7a29a0 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 f6e6fe3..f9980d3 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 648c58e..3047347 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 a3e4a8e..3951cbd 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 3ae0379..eb19ff0 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 bb997b8..13d37e2 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 cae7986..5a908ad 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 90b2486..cb44d27 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 2374932..5c3e794 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 dbe63a4..198edc8 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 5a033de..69ee86c 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 f1aee6f..4aa2d05 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 e6afada..9720637 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 35e6fa3..272d343 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 71aeb26..c5de07d 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 1555629..e1a1dfd 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 e76f7b3..8388542 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 bd35cd7..0774490 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 dd7a52f..99eb8eb 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 c70afb5..efc1260 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 6e717db..94a4491 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 d4bc101..bb4ab1f 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 76829ed..204cbd3 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 c426f9e..c42fa84 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 1493325..e6e51f1 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 ffe8288..2d19f7c 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 b191f35..02b641f 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 aedf798..70b78db 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 e571696..16bd7b5 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 56aad1e..b6455ef 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 461b5c7..80a7a69 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 dced0d7..ac810d6 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 e855716..d9b4712 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 2edf529..8912541 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 23e109f..05f07cc 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 bf4de06..6001f46 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 1426bf6..48c6cb2 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 e386f6f..717dc52 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 92de3bd..44f01d4 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 29ff22e..31db5b3 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 5f7cfed..d18b287 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 b58567f..35cd2ea 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 a257e18..6cd922a 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 36dc9e7..b5404a1 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 32c1060..4ab9ad0 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 e764e5a..0f3c41b 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 2e5721b..0a8953f 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 5f0d824..7e3d3a3 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 a765a51..6466cdc 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 53d4fcf..920af60 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 83b267f..f0feda4 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 8082a19..9983a93 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 a6b1bf7..d1f9ce6 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 888c1ff..d224c9b 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 a7bacf6..dbe57f5 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 2e167f7..e2b3b7d 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 0fd0a7a..4b46c7a 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 9f4f777..aded39c 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 b893200..4bdc24e 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 615223e..17f893f 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 154b771..c76b9ab 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 f68c15f..5c82ccc 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 69c43f4..4ca72bf 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 3fd7a0a..d24ddd2 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 b8f5248..688e231 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 663d6ea..7a9bd1e 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 d54b854..102550f 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 20f1592..88c0ab2 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 4866917..729b581 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 474fda0..e45dfed 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 3684a9e..0cef3cd 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 19feb11..7a25edc 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 04dc76a..83eabb3 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 cd6b1c1..d17fa88 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 da7cc14..30ae1d4 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 d76a6da..050a90e 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 c1960c5..2d1b160 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 2bb88c7..6b114dd 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 c70afb5..efc1260 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 12dbb14..db84239 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 01a0d0e..2e019f0 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 c976657..df6b32d 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 e408c73..fa0153e 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 03afca2..f9b80dc 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 c70afb5..efc1260 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 2b93f1c..cba6c5f 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 e42d71e..93424d7 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 216521b..6d78747 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 614cb40..1f3585d 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 b23b532..f351bfa 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 0aa019d..90cd3a8 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 b29e483..b39c3b8 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 c15f066..239b312 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 0565837..4ce15ef 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 a787f1f..324b3b7 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 6b20dee..82b4e36 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 c70afb5..efc1260 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()