Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 2 additions & 5 deletions drivers/Kconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
# SPDX-FileCopyrightText: 2020 HAW Hamburg
# SPDX-License-Identifier: LGPL-2.1-only

menu "Drivers"

Expand Down
7 changes: 2 additions & 5 deletions drivers/Kconfig.net
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
# SPDX-FileCopyrightText: 2020 HAW Hamburg
# SPDX-License-Identifier: LGPL-2.1-only

menu "Network Device Drivers"

Expand Down
7 changes: 2 additions & 5 deletions drivers/abp2/abp2.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2024 CNRS, France
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2024 CNRS, France
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/abp2/abp2_saul.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2024 CNRS, France
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2024 CNRS, France
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/abp2/include/abp2_params.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2024 CNRS, France
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2024 CNRS, France
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/ad7746/ad7746.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2019 HAW Hamburg
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/ad7746/ad7746_saul.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2019 HAW Hamburg
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/ad7746/include/ad7746_internal.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2019 HAW Hamburg
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/ad7746/include/ad7746_params.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2019 HAW Hamburg
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/adcxx1c/adcxx1c.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 OTA keys S.A.
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/adcxx1c/adcxx1c_saul.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 OTA keys S.A.
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/adcxx1c/include/adcxx1c_params.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 OTA keys S.A.
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/adcxx1c/include/adcxx1c_regs.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 OTA keys S.A.
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
8 changes: 2 additions & 6 deletions drivers/ads101x/Kconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Copyright (c) 2020 Freie Universitaet Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
# SPDX-FileCopyrightText: 2020 Freie Universitaet Berlin
# SPDX-License-Identifier: LGPL-2.1-only

menu "ADS101X driver"
depends on USEMODULE_ADS101X
Expand Down
9 changes: 3 additions & 6 deletions drivers/ads101x/ads101x.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* Copyright (C) 2017 OTA keys S.A.
* 2018 Acutam Automation, LLC
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 OTA keys S.A.
* SPDX-FileCopyrightText: 2018 Acutam Automation, LLC
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
9 changes: 3 additions & 6 deletions drivers/ads101x/ads101x_saul.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* Copyright (C) 2017 OTA keys S.A.
* 2018 Acutam Automation, LLC
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 OTA keys S.A.
* SPDX-FileCopyrightText: 2018 Acutam Automation, LLC
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
9 changes: 3 additions & 6 deletions drivers/ads101x/include/ads101x_params.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* Copyright (C) 2017 OTA keys S.A.
* 2018 Acutam Automation, LLC
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 OTA keys S.A.
* SPDX-FileCopyrightText: 2018 Acutam Automation, LLC
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
9 changes: 3 additions & 6 deletions drivers/ads101x/include/ads101x_regs.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* Copyright (C) 2017 OTA keys S.A.
* 2018 Acutam Automation, LLC
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 OTA keys S.A.
* SPDX-FileCopyrightText: 2018 Acutam Automation, LLC
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
8 changes: 2 additions & 6 deletions drivers/adt7310/adt7310.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/*
* Copyright (C) 2015 Eistec AB
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
* SPDX-FileCopyrightText: 2015 Eistec AB
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/adxl345/adxl345.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017-2018 Mesotic SAS
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017-2018 Mesotic SAS
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down Expand Up @@ -46,7 +43,7 @@
dev->params = *params;

/* get scale_factor from full_res and range parameters */
dev->scale_factor = (dev->params.full_res ? ADXL345_PARAM_SCALE_FACTOR : (4 << dev->params.range));

Check warning on line 46 in drivers/adxl345/adxl345.c

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters

/* Acquire exclusive access */
i2c_acquire(ADXL345_BUS);
Expand Down
7 changes: 2 additions & 5 deletions drivers/adxl345/adxl345_saul.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 Mesotic SAS
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 Mesotic SAS
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/adxl345/include/adxl345_params.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 Mesotic SAS
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 Mesotic SAS
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/adxl345/include/adxl345_regs.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 Mesotic SAS
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 Mesotic SAS
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down Expand Up @@ -37,7 +34,7 @@
#define ADXL345_THRESH_ACT (0x24) /**< Activity threshold */
#define ADXL345_THRESH_INACT (0x25) /**< Inactivity threshold */
#define ADXL345_TIME_INACT (0x26) /**< Inactivity time */
#define ADXL345_ACT_INACT_CTL (0x27) /**< Axis enable control for activity and inactivity detection */

Check warning on line 37 in drivers/adxl345/include/adxl345_regs.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
#define ADXL345_THRESH_FF (0x28) /**< Free-fall threshold */
#define ADXL345_TIME_FF (0x29) /**< Free-fall time */
#define ADXL345_TAP_AXES (0x2A) /**< Axis control for single tap/double tap */
Expand Down
7 changes: 2 additions & 5 deletions drivers/aip31068/aip31068.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2020 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2020 Freie Universität Berlin
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/aip31068/include/aip31068_internal.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2020 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2020 Freie Universität Berlin
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/aip31068/include/aip31068_params.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2020 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2020 Freie Universität Berlin
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/aip31068/include/aip31068_regs.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2020 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2020 Freie Universität Berlin
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/apa102/apa102.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 Freie Universität Berlin
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/apa102/include/apa102_params.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2017 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2017 Freie Universität Berlin
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
7 changes: 2 additions & 5 deletions drivers/apds99xx/apds99xx.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2018 Gunar Schorcht
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/apds99xx/apds99xx_saul.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2018 Gunar Schorcht
* SPDX-License-Identifier: LGPL-2.1-only
*/

/**
Expand Down
7 changes: 2 additions & 5 deletions drivers/apds99xx/include/apds99xx_params.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* Copyright (C) 2018 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2018 Gunar Schorcht
* SPDX-License-Identifier: LGPL-2.1-only
*/

#pragma once
Expand Down
Loading