Add SPDX license identifiers

Add license information to files. Mostly automated with:

    find src/ -name '*.[c,h]' | xargs sed -i '1s,^,// SPDX-License-Identifier: GPL-3.0-only\n\n,'
    find src/ -name '*.mk' | xargs sed -i '1s,^,# SPDX-License-Identifier: GPL-3.0-only\n\n,'
This commit is contained in:
Tim Crawford
2020-09-17 06:47:11 -06:00
committed by Jeremy Soller
parent def5821b01
commit 5fd9df0ed0
202 changed files with 402 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <common/i2c.h>
int i2c_recv(struct I2C * i2c, uint8_t addr, uint8_t* data, int length) {

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _COMMON_COMMAND_H
#define _COMMON_COMMAND_H

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _COMMON_DEBUG_H
#define _COMMON_DEBUG_H

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _COMMON_I2C_H
#define _COMMON_I2C_H

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _COMMON_KEYMAP_H
#define _COMMON_KEYMAP_H

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _COMMON_MACRO_H
#define _COMMON_MACRO_H

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _COMMON_VERSION_H
#define _COMMON_VERSION_H

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <common/keymap.h>
// Prevent failures to compile on AVR

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <common/macro.h>
// Prevent failures to compile on AVR