diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4dccb4a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Marek Kraus + +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. \ No newline at end of file diff --git a/include/blisp.h b/include/blisp.h index 60a4e92..eaa8ddd 100644 --- a/include/blisp.h +++ b/include/blisp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef _LIBBLISP_H #define _LIBBLISP_H diff --git a/include/blisp_chip.h b/include/blisp_chip.h index c3d44f1..d3ff789 100644 --- a/include/blisp_chip.h +++ b/include/blisp_chip.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef _BLISP_CHIP_H #define _BLISP_CHIP_H diff --git a/include/blisp_util.h b/include/blisp_util.h index cac10a6..dd7bbcb 100644 --- a/include/blisp_util.h +++ b/include/blisp_util.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef _BLISP_UTIL_H #define _BLISP_UTIL_H diff --git a/lib/blisp.c b/lib/blisp.c index f3d94c6..ef9faa0 100644 --- a/lib/blisp.c +++ b/lib/blisp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include #include #include diff --git a/lib/chip/blisp_chip_bl60x.c b/lib/chip/blisp_chip_bl60x.c index 7b5c59e..f9cc5be 100644 --- a/lib/chip/blisp_chip_bl60x.c +++ b/lib/chip/blisp_chip_bl60x.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "blisp.h" struct blisp_chip blisp_chip_bl60x = { diff --git a/lib/chip/blisp_chip_bl70x.c b/lib/chip/blisp_chip_bl70x.c index 19058d5..805481a 100644 --- a/lib/chip/blisp_chip_bl70x.c +++ b/lib/chip/blisp_chip_bl70x.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "blisp.h" struct blisp_chip blisp_chip_bl70x = { diff --git a/tools/blisp/src/cmd.h b/tools/blisp/src/cmd.h index 9c971d8..20af7b4 100644 --- a/tools/blisp/src/cmd.h +++ b/tools/blisp/src/cmd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #ifndef BLISP_CMD_H #define BLISP_CMD_H diff --git a/tools/blisp/src/cmd/write.c b/tools/blisp/src/cmd/write.c index c940831..5c44453 100644 --- a/tools/blisp/src/cmd/write.c +++ b/tools/blisp/src/cmd/write.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "../cmd.h" #include "argtable3.h" #include diff --git a/tools/blisp/src/main.c b/tools/blisp/src/main.c index dad13f5..87ae4ac 100644 --- a/tools/blisp/src/main.c +++ b/tools/blisp/src/main.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "argtable3.h" #include "cmd.h" #include