From d14e40d3781d4852630932e2a5051db6b7e075ca Mon Sep 17 00:00:00 2001 From: Radoslaw Wicik Date: Wed, 9 Dec 2020 14:35:34 +0100 Subject: [PATCH] [EGD-4831] Add license headers to c, h and sql files Add license headers to `h`, `c` and `sql` files as this files haven't been checked previously, script now to automatically updates current year in existing licenses. --- .gitignore | 4 ++ config/format-config.sh | 45 ++++++++++++----- config/license_header_check.sh | 50 +++++++++++++++---- image/user/db/alarms_001.sql | 3 ++ image/user/db/alarms_002.sql | 3 ++ image/user/db/calllog_001.sql | 3 ++ image/user/db/calllog_002.sql | 3 ++ image/user/db/contacts_001.sql | 3 ++ image/user/db/contacts_002.sql | 3 ++ image/user/db/contacts_003.sql | 3 ++ image/user/db/notes_001.sql | 3 ++ image/user/db/notes_002.sql | 3 ++ image/user/db/notifications_001.sql | 3 ++ image/user/db/notifications_002.sql | 3 ++ image/user/db/settings_001.sql | 3 ++ image/user/db/settings_v2_001.sql | 3 ++ image/user/db/settings_v2_002.sql | 3 ++ image/user/db/sms_001.sql | 3 ++ image/user/db/sms_002.sql | 3 ++ image/user/db/sms_003.sql | 3 ++ module-audio/Audio/decoder/xing_header.c | 10 +--- module-audio/Audio/decoder/xing_header.h | 10 +--- module-bsp/board/linux/board.h | 3 ++ module-bsp/board/linux/eink/ED028TC1.c | 7 ++- module-bsp/board/linux/eink/ED028TC1.h | 7 ++- module-bsp/board/linux/eink/fsl_edma.h | 11 ++-- module-bsp/board/linux/lpm/LinuxLPM.h | 5 +- module-bsp/board/rt1051/bsp/audio/qfilter.c | 3 ++ module-bsp/board/rt1051/bsp/audio/qfilter.h | 3 ++ module-bsp/board/rt1051/bsp/eink/ED028TC1.h | 3 ++ module-bsp/board/rt1051/bsp/eink/bsp_eink.h | 10 +--- .../rt1051/bsp/eink/eink_binarization_luts.c | 3 ++ .../rt1051/bsp/eink/eink_binarization_luts.h | 3 ++ .../board/rt1051/bsp/keyboard/TCA8418.h | 7 ++- module-bsp/board/rt1051/common/dma_config.h | 11 ++-- module-bsp/board/rt1051/common/macros.h | 3 ++ module-bsp/board/rt1051/common/pin_names.h | 8 ++- module-cellular/Modem/TS0710/DLC_channel.h | 3 ++ module-cellular/Modem/TS0710/TS0710.h | 5 +- module-cellular/Modem/TS0710/TS0710_CLOSE.h | 3 ++ module-cellular/Modem/TS0710/TS0710_CONTROL.h | 3 ++ module-cellular/Modem/TS0710/TS0710_DATA.h | 3 ++ .../Modem/TS0710/TS0710_DLC_ESTABL.h | 7 ++- .../Modem/TS0710/TS0710_DLC_RELEASE.h | 3 ++ module-cellular/Modem/TS0710/TS0710_FLOW.h | 7 ++- module-cellular/Modem/TS0710/TS0710_Frame.h | 3 ++ module-cellular/Modem/TS0710/TS0710_PARNEG.h | 3 ++ module-cellular/Modem/TS0710/TS0710_PORTNEG.h | 3 ++ module-cellular/Modem/TS0710/TS0710_SERVNEG.h | 7 ++- module-cellular/Modem/TS0710/TS0710_SLEEP.h | 6 ++- module-cellular/Modem/TS0710/TS0710_START.h | 7 ++- module-cellular/Modem/TS0710/TS0710_TEST.h | 7 ++- module-cellular/Modem/TS0710/TS0710_WAKEUP.h | 3 ++ module-cellular/Modem/TS0710/TS0710_types.h | 3 ++ .../agents/file_indexer/file_indexer.sql | 3 ++ .../service-db/agents/settings/settings.sql | 3 ++ module-utils/test/test_log2.h | 3 ++ source/config.h | 3 ++ 58 files changed, 236 insertions(+), 109 deletions(-) diff --git a/.gitignore b/.gitignore index 5f006cc9430d513b9a0e25c5f40a5daba686d914..0985edc7be5f2d723130589c93660474130ffaf2 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,7 @@ tags .ycm_extra_conf.py update/ + +# build in docker files +.ccache/ +.bash_history diff --git a/config/format-config.sh b/config/format-config.sh index bfdb8e1d8f8c4bb0c7320836b1be58387567832c..c53ca385f16695fbf08c9bfc0b83a3371e28fb59 100644 --- a/config/format-config.sh +++ b/config/format-config.sh @@ -14,25 +14,44 @@ VERBOSE=1 # ignore_paths for formatter - these are regex matched with filenames to be formated # if you don't wish to format i.e one file - just pass whole path to this file from git root directory declare ignore_paths=( - './module-os/' + './.*/catch.hpp' + './.*/lib/' './board/' - './module-bsp/bsp/' - './module-bsp/board/rt1051/common/fsl_drivers/' + './build' + './host-tools/littlefs-fuse/lfsfuse/' + './module-audio/Audio/decoder/dr_flac.h' + './module-bluetooth/Bluetooth/btstack_config.h' + './module-bluetooth/Bluetooth/glucode/bluetooth_init_cc2564C_1.0.c' + './module-bluetooth/Bluetooth/glucode/btstack_uart_block_rt1051.h' + './module-bluetooth/Bluetooth/glucode/hal_time_ms.c' + './module-bluetooth/lib/btstack/' + './module-bsp/board/rt1051/bsp/eMMC/' + './module-bsp/board/rt1051/bsp/pwr/' './module-bsp/board/rt1051/common/board.cpp' - './module-vfs/board/cross/freeRTOS_FAT/' - './module-db/[Dd]atabase/sqlite3.h' + './module-bsp/board/rt1051/common/board.h' + './module-bsp/board/rt1051/common/clock_config.h' + './module-bsp/board/rt1051/common/cmsis/' + './module-bsp/board/rt1051/common/fsl_drivers/' + './module-bsp/board/rt1051/common/pin_mux.h' + './module-bsp/board/rt1051/common/pin_mux.c' + './module-bsp/board/rt1051/common/system_MIMXRT1051.c' + './module-bsp/board/rt1051/common/system_MIMXRT1051.h' + './module-bsp/bsp/' + './module-db/[Dd]atabase/config.h' './module-db/[Dd]atabase/sqlite3.c' + './module-db/[Dd]atabase/sqlite3.h' './module-db/[Dd]atabase/sqlite3ext.h' - './module-db/[Dd]atabase/config.h' - './module-bluetooth/lib/btstack/' + './module-lwip/includes/arch/cc.h' + './module-lwip/includes/lwipopts.h' './module-lwip/lib/lwip/' - './module-utils/tinyfsm/' - './module-utils/microtar/' + './module-os/' './module-utils/json/' + './module-utils/microtar/' './module-utils/segger/log/' './module-utils/segger/systemview/' - './build' - './.*/lib/' - './.*/catch.hpp' - + './module-utils/tinyfsm/' + './module-vfs/board/cross/freeRTOS_FAT/' + './module-vfs/board/free_rtos_custom/include/FreeRTOSFATConfig.h' + './module-vfs/drivers/include/thirdparty/fatfs/ffconf.h' + './module-vfs/thirdparty/*' ) diff --git a/config/license_header_check.sh b/config/license_header_check.sh index 182f1aa8176ee77e9ccbd56d179618b24b419b19..07e75a91c10dca857535360afeaaa25a2da4ebbe 100755 --- a/config/license_header_check.sh +++ b/config/license_header_check.sh @@ -1,8 +1,9 @@ #!/bin/bash -# Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. # For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md +#time update doesn't work below SCRIPT=$(readlink -f $0) SCRIPT_DIR="$(dirname ${SCRIPT})" REPO_ROOT="${SCRIPT_DIR%/*}" @@ -17,7 +18,11 @@ REPO_ROOT="${SCRIPT_DIR%/*}" pushd ${REPO_ROOT} >> /dev/null -LICENSE1="Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved." +CURRENT_YEAR=$(date "+%Y") + +LICENSE_CHEK="\(.*\)\(Copyright (c) 2017-\)\(.*\)\(, Mudita Sp. z.o.o. All rights reserved.\).*" +LICENSE_CHEK_BASH_RE="(.*)(Copyright \(c\) 2017-)(.*)(, Mudita Sp. z.o.o. All rights reserved.)" +LICENSE1="Copyright (c) 2017-${CURRENT_YEAR}, Mudita Sp. z.o.o. All rights reserved." LICENSE2="For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md" CHECK_ONLY="false" @@ -25,10 +30,13 @@ EXIT_CODE=0 #file extension; comment;checker/replacer function declare -A FileTypes=( + ["c_header"]="h;cppChecker;" + ["c_source"]="c;cppChecker;" ["header"]="hpp;cppChecker;" ["source"]="cpp;cppChecker;" ["python"]="py;pythonChecker;" ["shell"]="sh;bashChecker;" + ["sqlite"]="sql;sqlChecker;" ) declare -a paths_to_ignore @@ -40,13 +48,19 @@ function addEmptyLine() { fi } +function updateYear() { + if [[ ${CHECK_LICENSE} =~ ${LICENSE_CHEK_BASH_RE} ]]; then + sed -i "1,5s|${LICENSE_CHEK}|\1\2${CURRENT_YEAR}\4|g" ${FILE} + echo -e "${YELLOW}Updated\e[0m" + else + echo -e "${OK}" + fi +} + -function cppChecker(){ - FILE=$1 - LICENSE_LINE1="// ${LICENSE1}" - LICENSE_LINE2="// ${LICENSE2}" - CHECK_LICENSE=$(head -n5 ${FILE} | grep "${LICENSE1}") +function codeChecker(){ + CHECK_LICENSE=$(head -n5 ${FILE} | grep "${LICENSE_CHEK}") if [[ -z ${CHECK_LICENSE} ]]; then if [[ ${CHECK_ONLY} == "true" ]]; then echo -e "${ERROR}" @@ -58,12 +72,26 @@ function cppChecker(){ echo -e "${FIXED}" fi else - echo -e "${OK}" + updateYear fi } +function cppChecker() { + FILE=$1 + LICENSE_LINE1="// ${LICENSE1}" + LICENSE_LINE2="// ${LICENSE2}" + codeChecker +} + +function sqlChecker() { + FILE=$1 + LICENSE_LINE1="-- ${LICENSE1}" + LICENSE_LINE2="-- ${LICENSE2}" + codeChecker +} + function scriptChecker(){ - CHECK_LICENSE=$( head -n5 ${FILE} | grep "${LICENSE1}") + CHECK_LICENSE=$( head -n5 ${FILE} | grep "${LICENSE_CHEK}") if [[ -z ${CHECK_LICENSE} ]]; then if [[ ${CHECK_ONLY} == "true" ]]; then echo -e "${ERROR}" @@ -82,7 +110,7 @@ function scriptChecker(){ echo -e "${FIXED}" fi else - echo -e "${OK}" + updateYear fi } @@ -236,7 +264,7 @@ function parseArgs() { CHECK_ONLY=true ;; "--hook") - GET_FILES_CMD="git diff --cached --name-only --diff-filter=A -z ${against:-HEAD}" + GET_FILES_CMD="git diff --cached --name-only --diff-filter=AM -z ${against:-HEAD}" shift hookMain $@ ;; diff --git a/image/user/db/alarms_001.sql b/image/user/db/alarms_001.sql index 669d0537586393179ae0d4579b78d51aa0f2b5eb..8885d8d64f3a9e7ff860d2970ff39615a2cb0259 100644 --- a/image/user/db/alarms_001.sql +++ b/image/user/db/alarms_001.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + CREATE TABLE IF NOT EXISTS alarms( _id INTEGER PRIMARY KEY, time DATETIME, diff --git a/image/user/db/alarms_002.sql b/image/user/db/alarms_002.sql index d5488a4ed27efacec74daf8731e71ff2dac878b3..a088c6af3df77ed6e707ce0836a939662ba017be 100644 --- a/image/user/db/alarms_002.sql +++ b/image/user/db/alarms_002.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + INSERT or IGNORE INTO alarmStatuses (_id, name) VALUES (1, 'Off'); INSERT or IGNORE INTO alarmStatuses (_id, name) VALUES (2, 'On'); INSERT or IGNORE INTO alarmStatuses (_id, name) VALUES (3, 'FirstSnooze'); diff --git a/image/user/db/calllog_001.sql b/image/user/db/calllog_001.sql index 649e9257a18ff4c65407be6994197cc93e613d07..e647143c67c85ba295075a3a500ee97d0eec5c17 100644 --- a/image/user/db/calllog_001.sql +++ b/image/user/db/calllog_001.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + CREATE TABLE IF NOT EXISTS calls( _id INTEGER PRIMARY KEY, number TEXT DEFAULT '', diff --git a/image/user/db/calllog_002.sql b/image/user/db/calllog_002.sql index e761f8a754803b79524e8e0bab435d3575c20ea9..3db69f3b80520691e3cd194be808a4521a43e9f5 100644 --- a/image/user/db/calllog_002.sql +++ b/image/user/db/calllog_002.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + BEGIN TRANSACTION; INSERT OR REPLACE INTO calls ("_id","number","e164number","presentation","date","duration","type","name","contactId","isRead") VALUES (1,'500466048','+48500466048',1,'2020-09-14 11:21:02',0,1,'alek',4,1); COMMIT; diff --git a/image/user/db/contacts_001.sql b/image/user/db/contacts_001.sql index ee75af6256425d91015cfdbb8c22126a0afdee2f..0d7648cffdbb0b6027e0500daf985f47237b4b92 100644 --- a/image/user/db/contacts_001.sql +++ b/image/user/db/contacts_001.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + CREATE TABLE IF NOT EXISTS contacts ( _id INTEGER PRIMARY KEY, diff --git a/image/user/db/contacts_002.sql b/image/user/db/contacts_002.sql index 383efa188efef16bd71640c0f2f75b95975060aa..a48fc67054307d4bdef236f0a13865550afb602d 100644 --- a/image/user/db/contacts_002.sql +++ b/image/user/db/contacts_002.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + INSERT OR REPLACE INTO contact_group_protected (_id, group_id) VALUES (1, 1), diff --git a/image/user/db/contacts_003.sql b/image/user/db/contacts_003.sql index 44624716ff85b4b04812232801805a7e4e4fe5fa..9a15ba8fad0f3d469b29851d0ef5213df6b23f09 100644 --- a/image/user/db/contacts_003.sql +++ b/image/user/db/contacts_003.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + BEGIN; INSERT OR REPLACE INTO contacts (_id,name_id,numbers_id,ring_id,address_id,speeddial) VALUES (1,1,'1',1,1,1); INSERT OR REPLACE INTO contacts (_id,name_id,numbers_id,ring_id,address_id,speeddial) VALUES (2,2,'2',2,2,2); diff --git a/image/user/db/notes_001.sql b/image/user/db/notes_001.sql index 1f6affaa960e2d7ff50c1950fa66466e5ade30d1..56c860ffd3e774b86e096e2a79559cc4e93251bc 100644 --- a/image/user/db/notes_001.sql +++ b/image/user/db/notes_001.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + CREATE TABLE IF NOT EXISTS notes( _id INTEGER PRIMARY KEY, date INTEGER, diff --git a/image/user/db/notes_002.sql b/image/user/db/notes_002.sql index 55485114c81de8981945bbf052dc97bcd623e091..e2d7084815b62f78288f5803f86a6213c87e569f 100644 --- a/image/user/db/notes_002.sql +++ b/image/user/db/notes_002.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + BEGIN; INSERT OR IGNORE INTO notes ("_id","date","snippet") VALUES (1,1565586181,'snippet 1'); INSERT OR IGNORE INTO notes ("_id","date","snippet") VALUES (2,1565586381,'snippet 2 diff --git a/image/user/db/notifications_001.sql b/image/user/db/notifications_001.sql index 589293ecb0f8acd7842718aa5fb3771f002417a0..34d13fa792118432ef3bfa86a0e021bcba93c416 100644 --- a/image/user/db/notifications_001.sql +++ b/image/user/db/notifications_001.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + CREATE TABLE IF NOT EXISTS notifications( _id INTEGER PRIMARY KEY, key INTEGER UNIQUE DEFAULT 0, diff --git a/image/user/db/notifications_002.sql b/image/user/db/notifications_002.sql index c7b687c0dcc5d3ee4f823838e836a3e10c352498..cc3650ebf2fa67932db94de14871dd373b78b44e 100644 --- a/image/user/db/notifications_002.sql +++ b/image/user/db/notifications_002.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + INSERT OR IGNORE INTO notifications (key, value) VALUES ('1', '0'), ('2', '0'); diff --git a/image/user/db/settings_001.sql b/image/user/db/settings_001.sql index b41ba8c797107e3c5e7d3d986f7a3876f507fac3..d126cc777be8061ddbc082b743e785b027f8f965 100644 --- a/image/user/db/settings_001.sql +++ b/image/user/db/settings_001.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + INSERT OR REPLACE INTO settings_tab (path, value) VALUES ('timeFormat12', '0'), ('timeDateFormat', '1'), diff --git a/image/user/db/settings_v2_001.sql b/image/user/db/settings_v2_001.sql index 9761e5309349ef351588c891b3b0d68b5ecc6dd0..c9a2f71651661100ab2b3672b25025f24b36fb17 100644 --- a/image/user/db/settings_v2_001.sql +++ b/image/user/db/settings_v2_001.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + -- -- Main settings table, for string application persistent data -- diff --git a/image/user/db/settings_v2_002.sql b/image/user/db/settings_v2_002.sql index e7f30059a0f24147d5d095a0f6563341dbdadb8d..b9ef5a7bf114026873b4bfccb6919c207327fdae 100644 --- a/image/user/db/settings_v2_002.sql +++ b/image/user/db/settings_v2_002.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + -- ----------- insert default values ---------------------- INSERT OR REPLACE INTO dictionary_tab (path, value) VALUES ('system/phone_mode', 'online'), diff --git a/image/user/db/sms_001.sql b/image/user/db/sms_001.sql index b9e9e5de4910533f681e5c584c082bc8370f5814..9de1a1c491b1e69ff7b92783f4cbce0eadb68c5b 100644 --- a/image/user/db/sms_001.sql +++ b/image/user/db/sms_001.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + CREATE TABLE IF NOT EXISTS sms ( _id INTEGER PRIMARY KEY, diff --git a/image/user/db/sms_002.sql b/image/user/db/sms_002.sql index 3352d630d452f20e9bbda20779aedddd934e0fc7..d2be58960ce32571d36cf8abc0b43c980ab2e51b 100644 --- a/image/user/db/sms_002.sql +++ b/image/user/db/sms_002.sql @@ -1 +1,4 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + INSERT OR IGNORE INTO threads_count ( _id, count ) VALUES (1,0); diff --git a/image/user/db/sms_003.sql b/image/user/db/sms_003.sql index 292ac438f2ef2b030f968c0a8cd69af152a679d9..0337e6d11b7f55b682ef14da8e1c6e96feec90bd 100644 --- a/image/user/db/sms_003.sql +++ b/image/user/db/sms_003.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + BEGIN TRANSACTION; INSERT OR REPLACE INTO "sms" ("_id","thread_id","contact_id","date","date_send","error_code","body","type") VALUES (1,1,1,1547465101,1,1,'najstarsze odb fsjdklafjskldjf',4); INSERT OR REPLACE INTO "sms" ("_id","thread_id","contact_id","date","date_send","error_code","body","type") VALUES (2,1,1,1547468701,2,2,'wys',8); diff --git a/module-audio/Audio/decoder/xing_header.c b/module-audio/Audio/decoder/xing_header.c index f8113ec405e4cbc0f28253eaa6e37a0a7a1331e3..3b21b4911fdae85a17dd650133483ecfe8763bfa 100644 --- a/module-audio/Audio/decoder/xing_header.c +++ b/module-audio/Audio/decoder/xing_header.c @@ -1,11 +1,5 @@ -/* - * @file xing_header.c - * @author Mateusz Piesta (mateusz.piesta@mudita.com) - * @date 22 mar 2018 - * @brief - * @copyright Copyright (C) 2018 mudita.com - * @details - */ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "xing_header.h" #include diff --git a/module-audio/Audio/decoder/xing_header.h b/module-audio/Audio/decoder/xing_header.h index c7405ed9809eac7a6afbc6ab6e16db81993fb58e..1ec9084943e12d92faa3ccc37c5926c494eefb0e 100644 --- a/module-audio/Audio/decoder/xing_header.h +++ b/module-audio/Audio/decoder/xing_header.h @@ -1,11 +1,5 @@ -/* - * @file xing_header.h - * @author Mateusz Piesta (mateusz.piesta@mudita.com) - * @date 22 mar 2018 - * @brief - * @copyright Copyright (C) 2018 mudita.com - * @details - */ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once diff --git a/module-bsp/board/linux/board.h b/module-bsp/board/linux/board.h index 9b7f5573dfae83f834ddfdcf082444a41094468f..dc633afd72e8c13a853883006a8b68bba662d03f 100644 --- a/module-bsp/board/linux/board.h +++ b/module-bsp/board/linux/board.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #ifndef _BOARD_H_ #define _BOARD_H_ diff --git a/module-bsp/board/linux/eink/ED028TC1.c b/module-bsp/board/linux/eink/ED028TC1.c index 4d7323bf024283929fcb807b160485a0cbdceee7..951caa0577ee2a40b6b040965d5e7811639438eb 100644 --- a/module-bsp/board/linux/eink/ED028TC1.c +++ b/module-bsp/board/linux/eink/ED028TC1.c @@ -1,9 +1,8 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** - * @file ED028TC1.c - * @author Lukasz Skrzypczak (l.skrzypczak@mudita.com) - * @date Sep 6, 2017 * @brief EInk ED028TC1 electronic paper display driver - * @copyright Copyright (C) 2017 mudita.com. * @details This is hardware specific electronic paper display ED028TC1 driver. * * @note All the commands implemented in here are based on the datasheets: diff --git a/module-bsp/board/linux/eink/ED028TC1.h b/module-bsp/board/linux/eink/ED028TC1.h index ac54129d468e4f649d60e777ce1b25ec0426355f..2ce7c6ba04f12a2631969c345a99dc4c4a82277e 100644 --- a/module-bsp/board/linux/eink/ED028TC1.h +++ b/module-bsp/board/linux/eink/ED028TC1.h @@ -1,9 +1,8 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** - * @file ED028TC1.h - * @author Lukasz Skrzypczak (l.skrzypczak@mudita.com) - * @date Sep 6, 2017 * @brief Header for EInk ED028TC1 electronic paper display driver - * @copyright Copyright (C) 2017 mudita.com. * @details This is hardware specific electronic paper display ED028TC1 driver. */ diff --git a/module-bsp/board/linux/eink/fsl_edma.h b/module-bsp/board/linux/eink/fsl_edma.h index 4db34a4caf6a28ef40b6917924ec5b37e2097325..b0d81333f0a5c894c74c0d35e5a595c8b48fefe6 100644 --- a/module-bsp/board/linux/eink/fsl_edma.h +++ b/module-bsp/board/linux/eink/fsl_edma.h @@ -1,11 +1,6 @@ -/* - * @file fsl_edma.h - * @author Robert Borzecki (robert.borzecki@mudita.com) - * @date 29 maj 2019 - * @brief - * @copyright Copyright (C) 2019 mudita.com - * @details - */ +// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #ifndef MODULE_BSP_BOARD_LINUX_FSL_DRIVERS_FSL_EDMA_H_ #define MODULE_BSP_BOARD_LINUX_FSL_DRIVERS_FSL_EDMA_H_ diff --git a/module-bsp/board/linux/lpm/LinuxLPM.h b/module-bsp/board/linux/lpm/LinuxLPM.h index f3b6d4dad6d4a5558510c928ed2a872655128e24..7bf8f6aae392f11be1606ef47f446136f80e6bd4 100644 --- a/module-bsp/board/linux/lpm/LinuxLPM.h +++ b/module-bsp/board/linux/lpm/LinuxLPM.h @@ -1,6 +1,5 @@ -// -// Created by mati on 09.09.2019. -// +// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #ifndef PUREPHONE_LINUXLPM_H #define PUREPHONE_LINUXLPM_H diff --git a/module-bsp/board/rt1051/bsp/audio/qfilter.c b/module-bsp/board/rt1051/bsp/audio/qfilter.c index 76565f32c258c65c347c2a34083678626deb50ed..742f03cbf9b38e81c02979150932e45c7d0ebe41 100644 --- a/module-bsp/board/rt1051/bsp/audio/qfilter.c +++ b/module-bsp/board/rt1051/bsp/audio/qfilter.c @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #include "qfilter.h" #include diff --git a/module-bsp/board/rt1051/bsp/audio/qfilter.h b/module-bsp/board/rt1051/bsp/audio/qfilter.h index a3ce8c51e433d6ce3ee3c5bd54f541b796a79915..ac677498a00f5e979b87a2e2dd5ac2c1d7c84923 100644 --- a/module-bsp/board/rt1051/bsp/audio/qfilter.h +++ b/module-bsp/board/rt1051/bsp/audio/qfilter.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #pragma once #ifdef __cplusplus diff --git a/module-bsp/board/rt1051/bsp/eink/ED028TC1.h b/module-bsp/board/rt1051/bsp/eink/ED028TC1.h index 81f9d9448b8f0fa51fbd72bdcc9bf2c8f51ec983..b8243f3171872b323563df052958dd8bb05649cf 100644 --- a/module-bsp/board/rt1051/bsp/eink/ED028TC1.h +++ b/module-bsp/board/rt1051/bsp/eink/ED028TC1.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * @file ED028TC1.h * @author Lukasz Skrzypczak (l.skrzypczak@mudita.com) diff --git a/module-bsp/board/rt1051/bsp/eink/bsp_eink.h b/module-bsp/board/rt1051/bsp/eink/bsp_eink.h index 2f0a6deb0515f8a5efb74bd61cd8a2a70b85f0ad..62f3d2b147ebe1bebdf153b4bb3fac4f84ffcfbb 100644 --- a/module-bsp/board/rt1051/bsp/eink/bsp_eink.h +++ b/module-bsp/board/rt1051/bsp/eink/bsp_eink.h @@ -1,11 +1,5 @@ -/* - * @file bsp_eink.h - * @author Mateusz Piesta (mateusz.piesta@mudita.com) - * @date 7 sie 2018 - * @brief - * @copyright Copyright (C) 2018 mudita.com - * @details - */ +// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #ifndef EINK_BSP_EINK_H_ #define EINK_BSP_EINK_H_ diff --git a/module-bsp/board/rt1051/bsp/eink/eink_binarization_luts.c b/module-bsp/board/rt1051/bsp/eink/eink_binarization_luts.c index 536a1bba755309ca268370c1048eb7b1a33793e6..0f6869e3dc9d0c9e6ed0be131123f7ae59daf030 100644 --- a/module-bsp/board/rt1051/bsp/eink/eink_binarization_luts.c +++ b/module-bsp/board/rt1051/bsp/eink/eink_binarization_luts.c @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #include const uint8_t einkBinarizationLUT_2bpp[256] = { diff --git a/module-bsp/board/rt1051/bsp/eink/eink_binarization_luts.h b/module-bsp/board/rt1051/bsp/eink/eink_binarization_luts.h index 220704f50660b004a2de096cea01ecf45bd46777..4d4d19610c6633415d47c47c7fa74c89cead41e9 100644 --- a/module-bsp/board/rt1051/bsp/eink/eink_binarization_luts.h +++ b/module-bsp/board/rt1051/bsp/eink/eink_binarization_luts.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #include extern const uint8_t einkBinarizationLUT_2bpp[256]; diff --git a/module-bsp/board/rt1051/bsp/keyboard/TCA8418.h b/module-bsp/board/rt1051/bsp/keyboard/TCA8418.h index ff9892ae87bc5c413e6282c26628e6c2e06452db..fb2101e695b2faaf7b72d4b427b7b9fe87caf56b 100644 --- a/module-bsp/board/rt1051/bsp/keyboard/TCA8418.h +++ b/module-bsp/board/rt1051/bsp/keyboard/TCA8418.h @@ -1,10 +1,9 @@ +// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * @file TCA8418.h - * @author Lukasz Skrzypczak (lukasz.skrypczak@mudita.com) - * @date 29 aug 2018 * @brief Basic IO driver for TCA8418 keyboard controller - * @copyright Copyright (C) 2018 mudita.com. - * @details */ #ifndef INCLUDE_TCA8418_H_ diff --git a/module-bsp/board/rt1051/common/dma_config.h b/module-bsp/board/rt1051/common/dma_config.h index 76e78adfc14da058a3522d910cf113109cea31b8..a87171a6b4c3a7acd140c97cbd4c07ff68c9abe5 100644 --- a/module-bsp/board/rt1051/common/dma_config.h +++ b/module-bsp/board/rt1051/common/dma_config.h @@ -1,11 +1,6 @@ -/* - * @file dma_config.h - * @author Robert Borzecki (robert.borzecki@mudita.com) - * @date 24 maj 2019 - * @brief - * @copyright Copyright (C) 2019 mudita.com - * @details - */ +// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #ifndef MODULE_BSP_BOARD_RT1051_EINK_DMA_CONFIG_H_ #define MODULE_BSP_BOARD_RT1051_EINK_DMA_CONFIG_H_ diff --git a/module-bsp/board/rt1051/common/macros.h b/module-bsp/board/rt1051/common/macros.h index 085bc1bcf63952e0cc963d3adf9715a892ded1b1..5a17eb4851c61755baf348ac84590579745d1bf8 100644 --- a/module-bsp/board/rt1051/common/macros.h +++ b/module-bsp/board/rt1051/common/macros.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #pragma once #include "MIMXRT1051.h" diff --git a/module-bsp/board/rt1051/common/pin_names.h b/module-bsp/board/rt1051/common/pin_names.h index 6f98ebc7348dcf979c77d3a9fdd719d5daf5a8e8..65d7e8a4949994a093b2b3c5b7dd0597bdaa963c 100644 --- a/module-bsp/board/rt1051/common/pin_names.h +++ b/module-bsp/board/rt1051/common/pin_names.h @@ -1,10 +1,8 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /* - * @file pin_names.h - * @author Lukasz Skrzypczak (lukasz.skrzypczak@mudita.com) - * @date Oct 3, 2018 * @brief Insert brief information about this file purpose. - * @copyright Copyright (C) 2018 mudita.com. - * @details More detailed information related to this code. */ #ifndef BSP_BOARD_PIN_NAMES_H_ diff --git a/module-cellular/Modem/TS0710/DLC_channel.h b/module-cellular/Modem/TS0710/DLC_channel.h index 9a31c212374a4a29d6e21b935f35f04425ae973e..41dc3f01feae66e1b09cdbe7c18d0a6e36a67b45 100644 --- a/module-cellular/Modem/TS0710/DLC_channel.h +++ b/module-cellular/Modem/TS0710/DLC_channel.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * Project Untitled */ diff --git a/module-cellular/Modem/TS0710/TS0710.h b/module-cellular/Modem/TS0710/TS0710.h index fad51e732ad644c6a0986afc8318984254802576..f2e57c5e4dc05c64f3d88f2091e2c240e02e7d8c 100644 --- a/module-cellular/Modem/TS0710/TS0710.h +++ b/module-cellular/Modem/TS0710/TS0710.h @@ -1,6 +1,5 @@ -/** - * Project Untitled - */ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #ifndef _TS0710_H #define _TS0710_H diff --git a/module-cellular/Modem/TS0710/TS0710_CLOSE.h b/module-cellular/Modem/TS0710/TS0710_CLOSE.h index a74d7e6d42504dcf9c152ac7351405fd3e8cd1d0..43ad8c89ac1821ae35c500e45e3f1fea61d848dd 100644 --- a/module-cellular/Modem/TS0710/TS0710_CLOSE.h +++ b/module-cellular/Modem/TS0710/TS0710_CLOSE.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * Project Untitled * @brief When the request primitive is passed to the TS 0710 layer of the transmitting device close down of the diff --git a/module-cellular/Modem/TS0710/TS0710_CONTROL.h b/module-cellular/Modem/TS0710/TS0710_CONTROL.h index e0fc9e8dee37728436cf443d18c93c2545241df9..16fc58143e11e0a41ecff3c1c5e508a3e5791ddf 100644 --- a/module-cellular/Modem/TS0710/TS0710_CONTROL.h +++ b/module-cellular/Modem/TS0710/TS0710_CONTROL.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * Project Untitled * @brief The request primitive is used to convey control information to the remote port. The indication is sent to diff --git a/module-cellular/Modem/TS0710/TS0710_DATA.h b/module-cellular/Modem/TS0710/TS0710_DATA.h index e1c4690b58841ddadf3ab1a663b8caf720a04e96..67f7e867cdc9eede5ef950ab2b9e09ab2da1265c 100644 --- a/module-cellular/Modem/TS0710/TS0710_DATA.h +++ b/module-cellular/Modem/TS0710/TS0710_DATA.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * Project Untitled * @brief The transmitting unit initiates transmission of data using the frame type specified for the chosen DLCI by diff --git a/module-cellular/Modem/TS0710/TS0710_DLC_ESTABL.h b/module-cellular/Modem/TS0710/TS0710_DLC_ESTABL.h index 64776c7a31a30cfc3007ae2ea800713c6ec0a83f..e5dd65ef88a2e1d4efd26cc42d4b26ad9899016c 100644 --- a/module-cellular/Modem/TS0710/TS0710_DLC_ESTABL.h +++ b/module-cellular/Modem/TS0710/TS0710_DLC_ESTABL.h @@ -1,6 +1,5 @@ -/** - * Project Untitled - */ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #ifndef _TS0710_DLC_ESTABL_H #define _TS0710_DLC_ESTABL_H @@ -75,4 +74,4 @@ class TS0710_DLC_ESTABL bool confirm(DLCI_t DLCI, DLC_ESTABL_SystemParameters_t system_parameters); }; -#endif //_TS0710_DLC_ESTABL_H \ No newline at end of file +#endif //_TS0710_DLC_ESTABL_H diff --git a/module-cellular/Modem/TS0710/TS0710_DLC_RELEASE.h b/module-cellular/Modem/TS0710/TS0710_DLC_RELEASE.h index f5152be7a06645a2aac591233649055923087972..1e8c60a01aa506771a4b3df47129b141b32d3c4e 100644 --- a/module-cellular/Modem/TS0710/TS0710_DLC_RELEASE.h +++ b/module-cellular/Modem/TS0710/TS0710_DLC_RELEASE.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * Project Untitled * @brief The request primitive is used by the upper layer in the transmitting device to initiate close down of the diff --git a/module-cellular/Modem/TS0710/TS0710_FLOW.h b/module-cellular/Modem/TS0710/TS0710_FLOW.h index 8422f9bd0fc4e77caa4b58d3333421522f532688..b61560331d324d1d2de05dd6786974403f8765f8 100644 --- a/module-cellular/Modem/TS0710/TS0710_FLOW.h +++ b/module-cellular/Modem/TS0710/TS0710_FLOW.h @@ -1,6 +1,5 @@ -/** - * Project Untitled - */ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #ifndef _TS0710_FLOW_H #define _TS0710_FLOW_H @@ -36,4 +35,4 @@ class TS0710_FLOW void indication(DLCI_t DLCI, State_e State); }; -#endif //_TS0710_FLOW_H \ No newline at end of file +#endif //_TS0710_FLOW_H diff --git a/module-cellular/Modem/TS0710/TS0710_Frame.h b/module-cellular/Modem/TS0710/TS0710_Frame.h index a85045f53a5bc3567ec4670b1af75b87474d57fe..e631b9d61d01ec5526402cb016cbac93a9cb6064 100644 --- a/module-cellular/Modem/TS0710/TS0710_Frame.h +++ b/module-cellular/Modem/TS0710/TS0710_Frame.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #ifndef _TS0710_FRAME_H #define _TS0710_FRAME_H diff --git a/module-cellular/Modem/TS0710/TS0710_PARNEG.h b/module-cellular/Modem/TS0710/TS0710_PARNEG.h index 2964e1529c3a0986ee2768d4f2702591b9a70f11..138a3b1c015f8cbfbd320fc78284f654e03213e8 100644 --- a/module-cellular/Modem/TS0710/TS0710_PARNEG.h +++ b/module-cellular/Modem/TS0710/TS0710_PARNEG.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * Project Untitled * @brief The request primitive is used to request that the remote 07.10 entity changes a specific DLC connection diff --git a/module-cellular/Modem/TS0710/TS0710_PORTNEG.h b/module-cellular/Modem/TS0710/TS0710_PORTNEG.h index 0e4970d7aa98ecd65344d7c306d8b273b728d578..69963f9c4a8f055b215fb8196c9af4749536f057 100644 --- a/module-cellular/Modem/TS0710/TS0710_PORTNEG.h +++ b/module-cellular/Modem/TS0710/TS0710_PORTNEG.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * Project Untitled * @brief The request primitive is used to request that the remote port changes its parameters. The indication is sent diff --git a/module-cellular/Modem/TS0710/TS0710_SERVNEG.h b/module-cellular/Modem/TS0710/TS0710_SERVNEG.h index e57dba2a24c46cd58c9fe760e894bed1ebf5aa57..02ce6dfeb5e8c9bfb132eb94a8e798d6b9786384 100644 --- a/module-cellular/Modem/TS0710/TS0710_SERVNEG.h +++ b/module-cellular/Modem/TS0710/TS0710_SERVNEG.h @@ -1,6 +1,5 @@ -/** - * Project Untitled - */ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #ifndef _TS0710_SERVNEG_H #define _TS0710_SERVNEG_H @@ -67,4 +66,4 @@ class TS0710_SERVNEG void confirm(DLCI_t DLC, ServiceParameters_t Service_parameters, bool accept); }; -#endif //_TS0710_SERVNEG_H \ No newline at end of file +#endif //_TS0710_SERVNEG_H diff --git a/module-cellular/Modem/TS0710/TS0710_SLEEP.h b/module-cellular/Modem/TS0710/TS0710_SLEEP.h index a425a674c1713487c0a33d6e017966b0f8dba43b..25d03614bbe57f70babb25de0f397dd206b93aca 100644 --- a/module-cellular/Modem/TS0710/TS0710_SLEEP.h +++ b/module-cellular/Modem/TS0710/TS0710_SLEEP.h @@ -1,5 +1,7 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** - * Project Untitled * @brief The request primitive is used to advice the receiving device that the transmitter wishes to enter a low * power state. The TS 0710 layer of the receiving unit sends an indication primitive to the upper layer in order to * inform that the transmitting unit has entered the power saving state. The TS 0710 layer will automatically transmit @@ -28,4 +30,4 @@ class TS0710_SLEEP void confirm(); }; -#endif //_TS0710_SLEEP_H \ No newline at end of file +#endif //_TS0710_SLEEP_H diff --git a/module-cellular/Modem/TS0710/TS0710_START.h b/module-cellular/Modem/TS0710/TS0710_START.h index 693f3c69bc21c6a72776cb8047067a0917222b6f..6b29c9a17c81e73b328d8fa0257f3a8480273b52 100644 --- a/module-cellular/Modem/TS0710/TS0710_START.h +++ b/module-cellular/Modem/TS0710/TS0710_START.h @@ -1,6 +1,5 @@ -/** - * Project Untitled - */ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #ifndef _TS0710_START_H #define _TS0710_START_H @@ -93,4 +92,4 @@ class TS0710_START } }; -#endif //_TS0710_START_H \ No newline at end of file +#endif //_TS0710_START_H diff --git a/module-cellular/Modem/TS0710/TS0710_TEST.h b/module-cellular/Modem/TS0710/TS0710_TEST.h index 3acfbf8afbc4699fa0d8bf01d97055c76e56283a..50a6bf520f069c8331288bb99a7ee6b8cd7f7d91 100644 --- a/module-cellular/Modem/TS0710/TS0710_TEST.h +++ b/module-cellular/Modem/TS0710/TS0710_TEST.h @@ -1,6 +1,5 @@ -/** - * Project Untitled - */ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #ifndef _TS0710_TEST_H #define _TS0710_TEST_H @@ -29,4 +28,4 @@ class TS0710_TEST void confirm(std::vector TestData); }; -#endif //_TS0710_TEST_H \ No newline at end of file +#endif //_TS0710_TEST_H diff --git a/module-cellular/Modem/TS0710/TS0710_WAKEUP.h b/module-cellular/Modem/TS0710/TS0710_WAKEUP.h index af067cec03f6d8e54caca7d3d68544744df60b87..c43621fdea80d82393cc495da7efff13befbb1b5 100644 --- a/module-cellular/Modem/TS0710/TS0710_WAKEUP.h +++ b/module-cellular/Modem/TS0710/TS0710_WAKEUP.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /** * Project Untitled * @brief The indication primitive is sent to the upper layer when the TS 0710 layer of the receiving unit receives a diff --git a/module-cellular/Modem/TS0710/TS0710_types.h b/module-cellular/Modem/TS0710/TS0710_types.h index 124903e7275464ecfef4161a6b226ef113824852..782fe8e67fc9b056def045206bcce25bc8c05590 100644 --- a/module-cellular/Modem/TS0710/TS0710_types.h +++ b/module-cellular/Modem/TS0710/TS0710_types.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #ifndef _TS0710_TYPES_H #define _TS0710_TYPES_H diff --git a/module-services/service-db/agents/file_indexer/file_indexer.sql b/module-services/service-db/agents/file_indexer/file_indexer.sql index 55e427b99fd60ab5d838e7e9f33876ecbf2059f0..86a6cbd0ca6eae534e2952a0d9021cbf97c0b16c 100644 --- a/module-services/service-db/agents/file_indexer/file_indexer.sql +++ b/module-services/service-db/agents/file_indexer/file_indexer.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + R"dbInitStr( /* Create File indexer tables */ diff --git a/module-services/service-db/agents/settings/settings.sql b/module-services/service-db/agents/settings/settings.sql index dd77f3a0520f310e30b6314c9fa5aa8a16c8451b..d03876194a32e7eaf1c974cae85cae2578c3e53e 100644 --- a/module-services/service-db/agents/settings/settings.sql +++ b/module-services/service-db/agents/settings/settings.sql @@ -1,3 +1,6 @@ +-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. +-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + --x, R"dbInitStr( /* * Create Settings tables diff --git a/module-utils/test/test_log2.h b/module-utils/test/test_log2.h index c4129f40aaa47fe4137fd697983c3aa9d3383f88..c3d08b3176d864f61f793c1c25d6895cd476fdd6 100644 --- a/module-utils/test/test_log2.h +++ b/module-utils/test/test_log2.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + /* * unittest2_log.h * diff --git a/source/config.h b/source/config.h index d678af4dc8af490cf1cde2cdf4090ad1c643e032..96fc83f33d457fd12a96b0bcd0fee3144e954d9e 100644 --- a/source/config.h +++ b/source/config.h @@ -1,3 +1,6 @@ +// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md + #pragma once #if defined(TARGET_Linux) && not defined(SERIAL_PORT)