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
CC=avr-gcc -mmcu=$(EC)
CFLAGS+=-Os -fstack-usage -Wall -Werror -Wl,--gc-sections -Wl,-u,vfprintf -lprintf_flt
OBJ=$(patsubst src/%.c,$(BUILD)/%.o,$(SRC))

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <arch/gpio.h>
bool gpio_get_dir(struct Gpio * gpio) {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <stdio.h>
#include <avr/io.h>
#include <util/twi.h>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
// Based on https://github.com/thegouger/avr-i2c-slave
#include <stdio.h>

View File

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

View File

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

View File

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

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <stdio.h>
#include <avr/io.h>