From 99461d6a6effad07df05bca4fba0b69c926ed901 Mon Sep 17 00:00:00 2001 From: Niklas Cathor Date: Sun, 28 Jan 2024 09:34:20 +0100 Subject: [PATCH] Add SPDX-License-Identifier to JumperlessNano/src/ files --- JumperlessNano/src/ArduinoStuff.cpp | 4 ++-- JumperlessNano/src/ArduinoStuff.h | 1 + JumperlessNano/src/CH446Q.cpp | 3 ++- JumperlessNano/src/CH446Q.h | 3 ++- JumperlessNano/src/FileParsing.cpp | 3 ++- JumperlessNano/src/FileParsing.h | 3 ++- JumperlessNano/src/JumperlessDefinesRP2040.h | 3 ++- JumperlessNano/src/LEDs.cpp | 3 ++- JumperlessNano/src/LEDs.h | 3 ++- JumperlessNano/src/MachineCommands.cpp | 1 + JumperlessNano/src/MachineCommands.h | 1 + JumperlessNano/src/MatrixStateRP2040.cpp | 1 + JumperlessNano/src/MatrixStateRP2040.h | 3 ++- JumperlessNano/src/NetManager.cpp | 3 ++- JumperlessNano/src/NetManager.h | 1 + JumperlessNano/src/NetsToChipConnections.cpp | 3 ++- JumperlessNano/src/NetsToChipConnections.h | 3 ++- JumperlessNano/src/Peripherals.cpp | 1 + JumperlessNano/src/Peripherals.h | 3 ++- JumperlessNano/src/main.cpp | 1 + 20 files changed, 33 insertions(+), 14 deletions(-) diff --git a/JumperlessNano/src/ArduinoStuff.cpp b/JumperlessNano/src/ArduinoStuff.cpp index 6d2a5ae..d754d41 100644 --- a/JumperlessNano/src/ArduinoStuff.cpp +++ b/JumperlessNano/src/ArduinoStuff.cpp @@ -1,4 +1,4 @@ - +// SPDX-License-Identifier: MIT #include "ArduinoStuff.h" #include "MatrixStateRP2040.h" @@ -43,4 +43,4 @@ void arduinoPrint(void) void uploadArduino(void) { -} \ No newline at end of file +} diff --git a/JumperlessNano/src/ArduinoStuff.h b/JumperlessNano/src/ArduinoStuff.h index 05cdd5e..25c6b4b 100644 --- a/JumperlessNano/src/ArduinoStuff.h +++ b/JumperlessNano/src/ArduinoStuff.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef ARDUINOSTUFF_H #define ARDUINOSTUFF_H diff --git a/JumperlessNano/src/CH446Q.cpp b/JumperlessNano/src/CH446Q.cpp index 231415d..290087e 100644 --- a/JumperlessNano/src/CH446Q.cpp +++ b/JumperlessNano/src/CH446Q.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "CH446Q.h" #include "MatrixStateRP2040.h" @@ -276,4 +277,4 @@ void sendPath(int i, int setOrClear) void createXYarray(void) { -} \ No newline at end of file +} diff --git a/JumperlessNano/src/CH446Q.h b/JumperlessNano/src/CH446Q.h index 3db2809..593480c 100644 --- a/JumperlessNano/src/CH446Q.h +++ b/JumperlessNano/src/CH446Q.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef CH446Q_H #define CH446Q_H @@ -18,4 +19,4 @@ void sendPath(int path, int setOrClear = 1); void createXYarray(void); -#endif \ No newline at end of file +#endif diff --git a/JumperlessNano/src/FileParsing.cpp b/JumperlessNano/src/FileParsing.cpp index 0e6b6e7..81e67f0 100644 --- a/JumperlessNano/src/FileParsing.cpp +++ b/JumperlessNano/src/FileParsing.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "FileParsing.h" #include #include "LittleFS.h" @@ -1146,4 +1147,4 @@ void lastCommandWrite(char lastCommand) { EEPROM.write(LASTCOMMANDADDRESS, lastCommand); -} \ No newline at end of file +} diff --git a/JumperlessNano/src/FileParsing.h b/JumperlessNano/src/FileParsing.h index 8427e86..184b5e5 100644 --- a/JumperlessNano/src/FileParsing.h +++ b/JumperlessNano/src/FileParsing.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef FILEPARSING_H #define FILEPARSING_H @@ -48,4 +49,4 @@ int printLen(int); -#endif \ No newline at end of file +#endif diff --git a/JumperlessNano/src/JumperlessDefinesRP2040.h b/JumperlessNano/src/JumperlessDefinesRP2040.h index 7468201..e3252e8 100644 --- a/JumperlessNano/src/JumperlessDefinesRP2040.h +++ b/JumperlessNano/src/JumperlessDefinesRP2040.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef JUMPERLESSDEFINESRP2040_H #define JUMPERLESSDEFINESRP2040_H @@ -210,4 +211,4 @@ -#endif \ No newline at end of file +#endif diff --git a/JumperlessNano/src/LEDs.cpp b/JumperlessNano/src/LEDs.cpp index 6ce4d0d..9fa52ea 100644 --- a/JumperlessNano/src/LEDs.cpp +++ b/JumperlessNano/src/LEDs.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "LEDs.h" #include #include "NetsToChipConnections.h" @@ -1597,4 +1598,4 @@ void clearLEDs(void) // } // showLEDsCore2 = 1; -} \ No newline at end of file +} diff --git a/JumperlessNano/src/LEDs.h b/JumperlessNano/src/LEDs.h index a26d8ae..9685d21 100644 --- a/JumperlessNano/src/LEDs.h +++ b/JumperlessNano/src/LEDs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef LEDS_H #define LEDS_H @@ -134,4 +135,4 @@ void turnOffSkippedNodes(); uint32_t packRgb(uint8_t r, uint8_t g, uint8_t b); void startupColors(void); void rainbowBounce(int wait); -#endif \ No newline at end of file +#endif diff --git a/JumperlessNano/src/MachineCommands.cpp b/JumperlessNano/src/MachineCommands.cpp index c6ca195..abd6de7 100644 --- a/JumperlessNano/src/MachineCommands.cpp +++ b/JumperlessNano/src/MachineCommands.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "FileParsing.h" #include #include "LittleFS.h" diff --git a/JumperlessNano/src/MachineCommands.h b/JumperlessNano/src/MachineCommands.h index f5e41c7..ae04993 100644 --- a/JumperlessNano/src/MachineCommands.h +++ b/JumperlessNano/src/MachineCommands.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef MACHINECOMMANDS_H #define MACHINECOMMANDS_H diff --git a/JumperlessNano/src/MatrixStateRP2040.cpp b/JumperlessNano/src/MatrixStateRP2040.cpp index 2b3d741..3591487 100644 --- a/JumperlessNano/src/MatrixStateRP2040.cpp +++ b/JumperlessNano/src/MatrixStateRP2040.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include #include "JumperlessDefinesRP2040.h" diff --git a/JumperlessNano/src/MatrixStateRP2040.h b/JumperlessNano/src/MatrixStateRP2040.h index 9386bed..7d327db 100644 --- a/JumperlessNano/src/MatrixStateRP2040.h +++ b/JumperlessNano/src/MatrixStateRP2040.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef MATRIXSTATE_H #define MATRIXSTATE_H @@ -280,4 +281,4 @@ maybe copy kicad's schematic format -#endif \ No newline at end of file +#endif diff --git a/JumperlessNano/src/NetManager.cpp b/JumperlessNano/src/NetManager.cpp index 68b27be..c2d09ce 100644 --- a/JumperlessNano/src/NetManager.cpp +++ b/JumperlessNano/src/NetManager.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "NetManager.h" @@ -979,4 +980,4 @@ void copySplitNetIntoNewNet(); //find which nodes and bridges belong in a new ne void deleteNodesAndShift(); //delete the nodes and bridges that were copied from the original net -void leftShiftNodesBridgesNets();*/ \ No newline at end of file +void leftShiftNodesBridgesNets();*/ diff --git a/JumperlessNano/src/NetManager.h b/JumperlessNano/src/NetManager.h index 1582ce6..b2964ca 100644 --- a/JumperlessNano/src/NetManager.h +++ b/JumperlessNano/src/NetManager.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef NETMANAGER_H #define NETMANAGER_H diff --git a/JumperlessNano/src/NetsToChipConnections.cpp b/JumperlessNano/src/NetsToChipConnections.cpp index 4dcc471..996f1b7 100644 --- a/JumperlessNano/src/NetsToChipConnections.cpp +++ b/JumperlessNano/src/NetsToChipConnections.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include @@ -3678,4 +3679,4 @@ struct pathStruct{ }; -*/ \ No newline at end of file +*/ diff --git a/JumperlessNano/src/NetsToChipConnections.h b/JumperlessNano/src/NetsToChipConnections.h index cefafa8..24a0190 100644 --- a/JumperlessNano/src/NetsToChipConnections.h +++ b/JumperlessNano/src/NetsToChipConnections.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef NETTOCHIPCONNECTIONS_H #define NETTOCHIPCONNECTIONS_H @@ -82,4 +83,4 @@ void resolveUncommittedHops2(void); -#endif \ No newline at end of file +#endif diff --git a/JumperlessNano/src/Peripherals.cpp b/JumperlessNano/src/Peripherals.cpp index a819809..ad3cf1c 100644 --- a/JumperlessNano/src/Peripherals.cpp +++ b/JumperlessNano/src/Peripherals.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "Peripherals.h" diff --git a/JumperlessNano/src/Peripherals.h b/JumperlessNano/src/Peripherals.h index 90b3b91..4a4ac61 100644 --- a/JumperlessNano/src/Peripherals.h +++ b/JumperlessNano/src/Peripherals.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef PERIPHERALS_H #define PERIPHERALS_H //#include "Adafruit_MCP4725.h" @@ -190,4 +191,4 @@ const uint16_t DACLookup_FullSine_5Bit[32] = -#endif \ No newline at end of file +#endif diff --git a/JumperlessNano/src/main.cpp b/JumperlessNano/src/main.cpp index 184b01b..6ff9f38 100644 --- a/JumperlessNano/src/main.cpp +++ b/JumperlessNano/src/main.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include