From 90ca65430cfcc932cb670618c285e17ad2b0fd57 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Mon, 20 Apr 2020 14:52:13 -0500 Subject: [PATCH] all: update copyright headers --- LICENSE | 2 +- bricks/cityhub/Makefile | 2 +- bricks/cityhub/city_hub.ld | 2 +- bricks/cityhub/mphalport.h | 2 +- bricks/cityhub/pbioconfig.h | 2 +- bricks/cplushub/Makefile | 2 +- bricks/cplushub/cplus_hub.ld | 2 +- bricks/cplushub/mphalport.h | 2 +- bricks/cplushub/pbioconfig.h | 2 +- bricks/debug/Makefile | 2 +- bricks/debug/mpconfigport.h | 2 +- bricks/debug/mphalport.h | 2 +- bricks/debug/pbioconfig.h | 2 +- bricks/ev3dev/modbluetooth.c | 2 +- bricks/ev3dev/modules/pybricks/__init__.py | 2 +- bricks/ev3dev/modules/pybricks/bluetooth.py | 2 +- bricks/ev3dev/modules/pybricks/display.py | 2 +- bricks/ev3dev/modules/pybricks/messaging.py | 2 +- bricks/ev3dev/modules/pybricks/speaker.py | 2 +- bricks/ev3dev/modusignal.c | 2 +- bricks/ev3dev/pb_ev3dev_types.h | 2 +- bricks/ev3dev/pb_type_ev3dev_font.c | 2 +- bricks/ev3dev/pb_type_ev3dev_image.c | 2 +- bricks/ev3dev/pb_type_ev3dev_speaker.c | 2 +- bricks/ev3dev/pbinit.c | 2 +- bricks/ev3dev/pbioconfig.h | 2 +- bricks/movehub/Makefile | 2 +- bricks/movehub/accel.c | 2 +- bricks/movehub/accel.h | 2 +- bricks/movehub/move_hub.ld | 2 +- bricks/movehub/mphalport.h | 2 +- bricks/movehub/pbioconfig.h | 2 +- bricks/nxt/Makefile | 2 +- bricks/nxt/main.c | 2 +- bricks/nxt/mphalport.h | 2 +- bricks/nxt/pbioconfig.h | 2 +- bricks/primehub/Makefile | 2 +- bricks/primehub/mpconfigport.h | 2 +- bricks/primehub/mphalport.h | 2 +- bricks/primehub/pbioconfig.h | 2 +- bricks/primehub/prime_hub.ld | 2 +- bricks/pybricks_config.h | 2 +- bricks/stm32/main.c | 4 ++-- bricks/stm32/pbdevice.c | 2 +- bricks/stm32/stm32.mk | 2 +- bricks/stm32/uart_core.c | 2 +- extmod/moddebug.c | 2 +- extmod/modexperimental.c | 2 +- extmod/modmedia_ev3dev.c | 2 +- extmod/modmotor.c | 2 +- extmod/modparameters.c | 2 +- lib/lego/lego_uart.h | 2 +- lib/pbio/drv/adc/adc_stm32_hal.c | 2 +- lib/pbio/drv/adc/adc_stm32_hal.h | 2 +- lib/pbio/drv/adc/adc_stm32f0.c | 2 +- lib/pbio/drv/battery/battery_adc.c | 2 +- lib/pbio/drv/button/button_adc.c | 2 +- lib/pbio/drv/button/button_gpio.c | 2 +- lib/pbio/drv/button/button_gpio.h | 2 +- lib/pbio/drv/button/button_nxt.c | 2 +- lib/pbio/drv/city_hub/light.c | 2 +- lib/pbio/drv/city_hub/motor.c | 2 +- lib/pbio/drv/counter/counter.h | 2 +- lib/pbio/drv/counter/counter_core.c | 2 +- lib/pbio/drv/counter/counter_ev3dev_stretch_iio.c | 2 +- lib/pbio/drv/counter/counter_ev3dev_stretch_iio.h | 2 +- lib/pbio/drv/counter/counter_nxt.c | 2 +- lib/pbio/drv/counter/counter_nxt.h | 2 +- lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.c | 2 +- lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.h | 2 +- lib/pbio/drv/cplus_hub/bluetooth.c | 2 +- lib/pbio/drv/cplus_hub/light.c | 2 +- lib/pbio/drv/cplus_hub/motor.c | 2 +- lib/pbio/drv/debug/light.c | 2 +- lib/pbio/drv/ioport/ioport_ev3dev_stretch.c | 2 +- lib/pbio/drv/ioport/ioport_ev3dev_stretch.h | 2 +- lib/pbio/drv/ioport/ioport_lpf2.c | 2 +- lib/pbio/drv/ioport/ioport_lpf2.h | 2 +- lib/pbio/drv/move_hub/bluetooth.c | 2 +- lib/pbio/drv/move_hub/light.c | 2 +- lib/pbio/drv/move_hub/motor.c | 2 +- lib/pbio/drv/prime_hub/light.c | 2 +- lib/pbio/drv/prime_hub/motor.c | 2 +- lib/pbio/drv/uart/uart_stm32_hal.c | 2 +- lib/pbio/drv/uart/uart_stm32_hal.h | 2 +- lib/pbio/drv/uart/uart_stm32f0.c | 2 +- lib/pbio/drv/uart/uart_stm32f0.h | 2 +- lib/pbio/include/pbdrv/adc.h | 2 +- lib/pbio/include/pbdrv/battery.h | 2 +- lib/pbio/include/pbdrv/bluetooth.h | 2 +- lib/pbio/include/pbdrv/button.h | 2 +- lib/pbio/include/pbdrv/config.h | 2 +- lib/pbio/include/pbdrv/counter.h | 2 +- lib/pbio/include/pbdrv/gpio.h | 2 +- lib/pbio/include/pbdrv/ioport.h | 2 +- lib/pbio/include/pbdrv/light.h | 2 +- lib/pbio/include/pbdrv/motor.h | 2 +- lib/pbio/include/pbdrv/uart.h | 2 +- lib/pbio/include/pbio/button.h | 2 +- lib/pbio/include/pbio/config.h | 2 +- lib/pbio/include/pbio/error.h | 2 +- lib/pbio/include/pbio/event.h | 2 +- lib/pbio/include/pbio/iodev.h | 12 ++++++------ lib/pbio/include/pbio/light.h | 2 +- lib/pbio/include/pbio/main.h | 2 +- lib/pbio/include/pbio/math.h | 2 +- lib/pbio/include/pbio/port.h | 2 +- lib/pbio/include/pbio/uartdev.h | 2 +- lib/pbio/include/pbio/util.h | 2 +- lib/pbio/include/pbsys/sys.h | 2 +- lib/pbio/platform/city_hub/contiki-conf.h | 2 +- lib/pbio/platform/city_hub/pbdrvconfig.h | 2 +- lib/pbio/platform/city_hub/platform.c | 2 +- lib/pbio/platform/city_hub/sys.c | 2 +- lib/pbio/platform/cplus_hub/contiki-conf.h | 2 +- lib/pbio/platform/cplus_hub/pbdrvconfig.h | 2 +- lib/pbio/platform/cplus_hub/platform.c | 2 +- lib/pbio/platform/cplus_hub/sys.c | 2 +- lib/pbio/platform/debug/contiki-conf.h | 2 +- lib/pbio/platform/debug/pbdrvconfig.h | 2 +- lib/pbio/platform/debug/platform.c | 2 +- lib/pbio/platform/debug/sys.c | 2 +- lib/pbio/platform/ev3dev_stretch/contiki-conf.h | 2 +- lib/pbio/platform/ev3dev_stretch/pbdrvconfig.h | 2 +- lib/pbio/platform/move_hub/bluenrg_conf.h | 2 +- lib/pbio/platform/move_hub/contiki-conf.h | 2 +- lib/pbio/platform/move_hub/pbdrvconfig.h | 2 +- lib/pbio/platform/move_hub/platform.c | 2 +- lib/pbio/platform/move_hub/sys.c | 2 +- lib/pbio/platform/nxt/contiki-conf.h | 2 +- lib/pbio/platform/nxt/pbdrvconfig.h | 2 +- lib/pbio/platform/nxt/platform.c | 2 +- lib/pbio/platform/nxt/sys.c | 2 +- lib/pbio/platform/prime_hub/contiki-conf.h | 2 +- lib/pbio/platform/prime_hub/pbdrvconfig.h | 2 +- lib/pbio/platform/prime_hub/platform.c | 2 +- lib/pbio/platform/prime_hub/sys.c | 2 +- lib/pbio/src/error.c | 2 +- lib/pbio/src/iodev.c | 2 +- lib/pbio/src/light.c | 2 +- lib/pbio/src/main.c | 2 +- lib/pbio/src/math.c | 2 +- lib/pbio/src/processes.h | 2 +- lib/pbio/src/uartdev.c | 2 +- lib/pbio/test/Makefile | 2 +- lib/pbio/test/clock.c | 2 +- lib/pbio/test/contiki-conf.h | 2 +- lib/pbio/test/test-pbio.c | 2 +- py/pberror.c | 2 +- py/pberror.h | 2 +- py/pbobj.c | 4 ++-- py/pbthread.c | 3 +-- tests/ev3dev/Makefile | 2 +- tests/ev3dev/grx-plugin.c | 2 +- 154 files changed, 161 insertions(+), 162 deletions(-) diff --git a/LICENSE b/LICENSE index b12f03d45..9994039ca 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ MIT License +Copyright (c) 2018-2020 The Pybricks Authors Copyright (c) 2018 Laurens Valk -Copyright (c) 2018 David Lechner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/bricks/cityhub/Makefile b/bricks/cityhub/Makefile index 20901f326..c1097b1f3 100644 --- a/bricks/cityhub/Makefile +++ b/bricks/cityhub/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (c) 2019 David Lechner +# Copyright (c) 2019-2020 The Pybricks Authors PBIO_PLATFORM = city_hub PB_MCU_SERIES = F0 diff --git a/bricks/cityhub/city_hub.ld b/bricks/cityhub/city_hub.ld index bff3f1984..939883de0 100644 --- a/bricks/cityhub/city_hub.ld +++ b/bricks/cityhub/city_hub.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT */ /* Copyright (c) 2013, 2014 Damien P. George */ -/* Copyright (c) 2018 David Lechner */ +/* Copyright (c) 2018-2020 The Pybricks Authors */ /* GNU linker script for LEGO Powered Up City Hub diff --git a/bricks/cityhub/mphalport.h b/bricks/cityhub/mphalport.h index fafc4c18c..caf32d106 100644 --- a/bricks/cityhub/mphalport.h +++ b/bricks/cityhub/mphalport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/bricks/cityhub/pbioconfig.h b/bricks/cityhub/pbioconfig.h index 67573d56f..436c3b865 100644 --- a/bricks/cityhub/pbioconfig.h +++ b/bricks/cityhub/pbioconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #define PBIO_CONFIG_IOPORT_LPF2 (1) diff --git a/bricks/cplushub/Makefile b/bricks/cplushub/Makefile index 2e921f7db..7f596b647 100644 --- a/bricks/cplushub/Makefile +++ b/bricks/cplushub/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (c) 2019 David Lechner +# Copyright (c) 2019-2020 The Pybricks Authors PBIO_PLATFORM = cplus_hub PB_MCU_SERIES = L4 diff --git a/bricks/cplushub/cplus_hub.ld b/bricks/cplushub/cplus_hub.ld index 8583d9d2f..d2d8e4e35 100644 --- a/bricks/cplushub/cplus_hub.ld +++ b/bricks/cplushub/cplus_hub.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT */ /* Copyright (c) 2013, 2014 Damien P. George */ -/* Copyright (c) 2019 David Lechner */ +/* Copyright (c) 2019-2020 The Pybricks Authors */ /* GNU linker script for LEGO TECHNIC Control+ Hub diff --git a/bricks/cplushub/mphalport.h b/bricks/cplushub/mphalport.h index fafc4c18c..caf32d106 100644 --- a/bricks/cplushub/mphalport.h +++ b/bricks/cplushub/mphalport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/bricks/cplushub/pbioconfig.h b/bricks/cplushub/pbioconfig.h index 3e9fc28ba..6b2be5001 100644 --- a/bricks/cplushub/pbioconfig.h +++ b/bricks/cplushub/pbioconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #define PBIO_CONFIG_IOPORT_LPF2 (1) diff --git a/bricks/debug/Makefile b/bricks/debug/Makefile index 0a785be53..0861f1acd 100644 --- a/bricks/debug/Makefile +++ b/bricks/debug/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (c) 2019 David Lechner +# Copyright (c) 2019-2020 The Pybricks Authors DEBUG ?= 1 diff --git a/bricks/debug/mpconfigport.h b/bricks/debug/mpconfigport.h index 8e6e296ca..1fa15664d 100644 --- a/bricks/debug/mpconfigport.h +++ b/bricks/debug/mpconfigport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include "stm32f446xx.h" diff --git a/bricks/debug/mphalport.h b/bricks/debug/mphalport.h index fafc4c18c..caf32d106 100644 --- a/bricks/debug/mphalport.h +++ b/bricks/debug/mphalport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/bricks/debug/pbioconfig.h b/bricks/debug/pbioconfig.h index 79f9a26e3..b069f71cf 100644 --- a/bricks/debug/pbioconfig.h +++ b/bricks/debug/pbioconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #define PBIO_CONFIG_UARTDEV (1) #define PBIO_CONFIG_UARTDEV_NUM_DEV (1) diff --git a/bricks/ev3dev/modbluetooth.c b/bricks/ev3dev/modbluetooth.c index 02a896377..527b7945b 100644 --- a/bricks/ev3dev/modbluetooth.c +++ b/bricks/ev3dev/modbluetooth.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2020 David Lechner +// Copyright (c) 2020 The Pybricks Authors #include #include diff --git a/bricks/ev3dev/modules/pybricks/__init__.py b/bricks/ev3dev/modules/pybricks/__init__.py index 0ef6ca8ef..6b4342c36 100644 --- a/bricks/ev3dev/modules/pybricks/__init__.py +++ b/bricks/ev3dev/modules/pybricks/__init__.py @@ -1,3 +1,3 @@ # SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors # Copyright (c) 2018-2019 Laurens Valk -# Copyright (c) 2018-2019 David Lechner diff --git a/bricks/ev3dev/modules/pybricks/bluetooth.py b/bricks/ev3dev/modules/pybricks/bluetooth.py index e3ed5777a..a1c6cc277 100644 --- a/bricks/ev3dev/modules/pybricks/bluetooth.py +++ b/bricks/ev3dev/modules/pybricks/bluetooth.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (C) 2020 David Lechner +# Copyright (C) 2020 The Pybricks Authors """ :class:`RFCOMMServer` can be used to communicate with other Bluetooth RFCOMM diff --git a/bricks/ev3dev/modules/pybricks/display.py b/bricks/ev3dev/modules/pybricks/display.py index 4693db31b..6254e834a 100644 --- a/bricks/ev3dev/modules/pybricks/display.py +++ b/bricks/ev3dev/modules/pybricks/display.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors # Copyright (c) 2018-2019 Laurens Valk -# Copyright (c) 2018-2019 David Lechner # Copyright (c) 2019 LEGO System A/S """Pybricks module for showing text or images on a display (e.g. EV3 screen)""" diff --git a/bricks/ev3dev/modules/pybricks/messaging.py b/bricks/ev3dev/modules/pybricks/messaging.py index b8daafedf..093ba1eb4 100644 --- a/bricks/ev3dev/modules/pybricks/messaging.py +++ b/bricks/ev3dev/modules/pybricks/messaging.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (C) 2020 David Lechner +# Copyright (C) 2020 The Pybricks Authors from _thread import allocate_lock from uerrno import ECONNRESET diff --git a/bricks/ev3dev/modules/pybricks/speaker.py b/bricks/ev3dev/modules/pybricks/speaker.py index 8eb4fa825..9ddbc4632 100644 --- a/bricks/ev3dev/modules/pybricks/speaker.py +++ b/bricks/ev3dev/modules/pybricks/speaker.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT +# Copyright (c) 2018-2020 The Pybricks Authors # Copyright (c) 2018-2019 Laurens Valk -# Copyright (c) 2018-2019 David Lechner # Copyright (c) 2019 LEGO System A/S """Pybricks sound/speaker module for playing sounds (e.g. EV3 speaker, Bluetooth speaker, or IDE speaker)""" diff --git a/bricks/ev3dev/modusignal.c b/bricks/ev3dev/modusignal.c index d9dd45382..85c6b5360 100644 --- a/bricks/ev3dev/modusignal.c +++ b/bricks/ev3dev/modusignal.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2020 David Lechner +// Copyright (c) 2020 The Pybricks Authors // This is a subset of the standard CPython signal module. diff --git a/bricks/ev3dev/pb_ev3dev_types.h b/bricks/ev3dev/pb_ev3dev_types.h index 592b0a3f6..42f699fb2 100644 --- a/bricks/ev3dev/pb_ev3dev_types.h +++ b/bricks/ev3dev/pb_ev3dev_types.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef PYBRICKS_INCLUDED_BRICKS_EV3DEV_TYPES_H #define PYBRICKS_INCLUDED_BRICKS_EV3DEV_TYPES_H diff --git a/bricks/ev3dev/pb_type_ev3dev_font.c b/bricks/ev3dev/pb_type_ev3dev_font.c index 781633f8e..6b2e46060 100644 --- a/bricks/ev3dev/pb_type_ev3dev_font.c +++ b/bricks/ev3dev/pb_type_ev3dev_font.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier -// Copyright (c) 2019 David Lechner // Copyright (c) 2013, 2014 Damien P. George +// Copyright (c) 2019-2020 The Pybricks Authors // class Screen diff --git a/bricks/ev3dev/pb_type_ev3dev_image.c b/bricks/ev3dev/pb_type_ev3dev_image.c index 632ab1009..0b4cc2c97 100644 --- a/bricks/ev3dev/pb_type_ev3dev_image.c +++ b/bricks/ev3dev/pb_type_ev3dev_image.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier -// Copyright (c) 2019 David Lechner // Copyright (c) 2013, 2014 Damien P. George +// Copyright (c) 2019-2020 The Pybricks Authors // class Image // diff --git a/bricks/ev3dev/pb_type_ev3dev_speaker.c b/bricks/ev3dev/pb_type_ev3dev_speaker.c index a0abe8b9f..466b55305 100644 --- a/bricks/ev3dev/pb_type_ev3dev_speaker.c +++ b/bricks/ev3dev/pb_type_ev3dev_speaker.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2018-2019 Laurens Valk -// Copyright (c) 2019 David Lechner // class Speaker // diff --git a/bricks/ev3dev/pbinit.c b/bricks/ev3dev/pbinit.c index 14e147455..1e258d836 100644 --- a/bricks/ev3dev/pbinit.c +++ b/bricks/ev3dev/pbinit.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2018 Laurens Valk -// Copyright (c) 2020 David Lechner #include #include diff --git a/bricks/ev3dev/pbioconfig.h b/bricks/ev3dev/pbioconfig.h index 557f7ace4..65d1bf628 100644 --- a/bricks/ev3dev/pbioconfig.h +++ b/bricks/ev3dev/pbioconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #define PBIO_CONFIG_EV3_INPUT_DEVICE (1) diff --git a/bricks/movehub/Makefile b/bricks/movehub/Makefile index d2917b66a..466cd2596 100644 --- a/bricks/movehub/Makefile +++ b/bricks/movehub/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (c) 2019 David Lechner +# Copyright (c) 2019-2020 The Pybricks Authors PBIO_PLATFORM = move_hub PB_MCU_SERIES = F0 diff --git a/bricks/movehub/accel.c b/bricks/movehub/accel.c index cd61b3297..5caadd658 100644 --- a/bricks/movehub/accel.c +++ b/bricks/movehub/accel.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include #include diff --git a/bricks/movehub/accel.h b/bricks/movehub/accel.h index 8b0fb82d4..54f94e8a5 100644 --- a/bricks/movehub/accel.h +++ b/bricks/movehub/accel.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PYBRICKS_MOVEHUB_ACCEL_H_ #define _PYBRICKS_MOVEHUB_ACCEL_H_ diff --git a/bricks/movehub/move_hub.ld b/bricks/movehub/move_hub.ld index 731deed91..fd65de3ca 100644 --- a/bricks/movehub/move_hub.ld +++ b/bricks/movehub/move_hub.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT */ /* Copyright (c) 2013, 2014 Damien P. George */ -/* Copyright (c) 2018 David Lechner */ +/* Copyright (c) 2018-2020 The Pybricks Authors */ /* GNU linker script for LEGO BOOST Move Hub diff --git a/bricks/movehub/mphalport.h b/bricks/movehub/mphalport.h index fafc4c18c..caf32d106 100644 --- a/bricks/movehub/mphalport.h +++ b/bricks/movehub/mphalport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/bricks/movehub/pbioconfig.h b/bricks/movehub/pbioconfig.h index 67573d56f..436c3b865 100644 --- a/bricks/movehub/pbioconfig.h +++ b/bricks/movehub/pbioconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #define PBIO_CONFIG_IOPORT_LPF2 (1) diff --git a/bricks/nxt/Makefile b/bricks/nxt/Makefile index 81420e3ad..2ecc60582 100644 --- a/bricks/nxt/Makefile +++ b/bricks/nxt/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT # Copyright (c) 2013, 2014 Damien P. George -# Copyright (C) 2019 David Lechner +# Copyright (C) 2019-2020 The Pybricks Authors PBIO_PLATFORM = nxt diff --git a/bricks/nxt/main.c b/bricks/nxt/main.c index 5351bf418..c85f4d2a6 100644 --- a/bricks/nxt/main.c +++ b/bricks/nxt/main.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2019 Laurens Valk #include diff --git a/bricks/nxt/mphalport.h b/bricks/nxt/mphalport.h index fafc4c18c..caf32d106 100644 --- a/bricks/nxt/mphalport.h +++ b/bricks/nxt/mphalport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/bricks/nxt/pbioconfig.h b/bricks/nxt/pbioconfig.h index 94824038f..e8d3227ee 100644 --- a/bricks/nxt/pbioconfig.h +++ b/bricks/nxt/pbioconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #define PBIO_CONFIG_DCMOTOR (1) diff --git a/bricks/primehub/Makefile b/bricks/primehub/Makefile index e66a3214a..9ab0bc7b5 100644 --- a/bricks/primehub/Makefile +++ b/bricks/primehub/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (c) 2019 David Lechner +# Copyright (c) 2019-2020 The Pybricks Authors PBIO_PLATFORM = prime_hub PB_MCU_SERIES = F4 diff --git a/bricks/primehub/mpconfigport.h b/bricks/primehub/mpconfigport.h index daed7e40a..adf025e07 100644 --- a/bricks/primehub/mpconfigport.h +++ b/bricks/primehub/mpconfigport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include "stm32f413xx.h" diff --git a/bricks/primehub/mphalport.h b/bricks/primehub/mphalport.h index ae6a7d8ad..5d4399be3 100644 --- a/bricks/primehub/mphalport.h +++ b/bricks/primehub/mphalport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include "sys/clock.h" diff --git a/bricks/primehub/pbioconfig.h b/bricks/primehub/pbioconfig.h index a26e6255a..9a58d72b1 100644 --- a/bricks/primehub/pbioconfig.h +++ b/bricks/primehub/pbioconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #define PBIO_CONFIG_IOPORT_LPF2 (1) diff --git a/bricks/primehub/prime_hub.ld b/bricks/primehub/prime_hub.ld index a39b4fde9..d8f82f8f1 100644 --- a/bricks/primehub/prime_hub.ld +++ b/bricks/primehub/prime_hub.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT */ /* Copyright (c) 2013, 2014 Damien P. George */ -/* Copyright (c) 2018-2019 David Lechner */ +/* Copyright (c) 2018-2020 The Pybricks Authors */ /* GNU linker script for LEGO SPIKE Prime hub diff --git a/bricks/pybricks_config.h b/bricks/pybricks_config.h index aeb55a9aa..3f0498ddc 100644 --- a/bricks/pybricks_config.h +++ b/bricks/pybricks_config.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // Common config for all Pybricks hubs/bricks diff --git a/bricks/stm32/main.c b/bricks/stm32/main.c index 2b7200396..d601364d2 100644 --- a/bricks/stm32/main.c +++ b/bricks/stm32/main.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2019 Laurens Valk #include @@ -164,7 +164,7 @@ static uint32_t get_user_program(uint8_t **buf, bool *free_reader) { *buf = (uint8_t *)(_mpy_size + 1); return *_mpy_size; } - + // Handle other errors if (err != PBIO_SUCCESS) { *buf = NULL; diff --git a/bricks/stm32/pbdevice.c b/bricks/stm32/pbdevice.c index 1826c75b6..2266d4166 100644 --- a/bricks/stm32/pbdevice.c +++ b/bricks/stm32/pbdevice.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT +// Copyright (c) 2019-2020 The Pybricks Authors // Copyright (c) 2019 Laurens Valk -// Copyright (c) 2019 David Lechner #include diff --git a/bricks/stm32/stm32.mk b/bricks/stm32/stm32.mk index b73c79bdf..c9de69160 100644 --- a/bricks/stm32/stm32.mk +++ b/bricks/stm32/stm32.mk @@ -1,6 +1,6 @@ # SPDX-License-Identifier: MIT # Copyright (c) 2013, 2014 Damien P. George -# Copyright (C) 2019 David Lechner +# Copyright (C) 2019-2020 The Pybricks Authors # This file is shared by all STM32-based Pybricks ports # Other ports should not use this file diff --git a/bricks/stm32/uart_core.c b/bricks/stm32/uart_core.c index 016373e2c..748f26d25 100644 --- a/bricks/stm32/uart_core.c +++ b/bricks/stm32/uart_core.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/extmod/moddebug.c b/extmod/moddebug.c index 08d063f8f..05b1473ff 100644 --- a/extmod/moddebug.c +++ b/extmod/moddebug.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include "py/mpconfig.h" diff --git a/extmod/modexperimental.c b/extmod/modexperimental.c index 8329d9ec0..9efae8757 100644 --- a/extmod/modexperimental.c +++ b/extmod/modexperimental.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2020 David Lechner +// Copyright (c) 2020 The Pybricks Authors // C implementation of Pybricks experimental module. // Also see pybricks/experimental.py. diff --git a/extmod/modmedia_ev3dev.c b/extmod/modmedia_ev3dev.c index 1d8e77b77..e2fc9ec69 100644 --- a/extmod/modmedia_ev3dev.c +++ b/extmod/modmedia_ev3dev.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include "py/mpconfig.h" diff --git a/extmod/modmotor.c b/extmod/modmotor.c index facb41d6a..c456aeb4b 100644 --- a/extmod/modmotor.c +++ b/extmod/modmotor.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2018-2019 Laurens Valk -// Copyright (c) 2019 David Lechner // Copyright (c) 2019 LEGO System A/S #include "py/mpconfig.h" diff --git a/extmod/modparameters.c b/extmod/modparameters.c index afe9f02bb..8fc8922af 100644 --- a/extmod/modparameters.c +++ b/extmod/modparameters.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2018-2019 Laurens Valk -// Copyright (c) 2018-2019 David Lechner // Copyright (c) 2019 LEGO System A/S diff --git a/lib/lego/lego_uart.h b/lib/lego/lego_uart.h index d731994d5..35ade2346 100644 --- a/lib/lego/lego_uart.h +++ b/lib/lego/lego_uart.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // LEGO UART Message Protocol (LUMP) for EV3 and Powered Up I/O devices // diff --git a/lib/pbio/drv/adc/adc_stm32_hal.c b/lib/pbio/drv/adc/adc_stm32_hal.c index fe5632608..6431fa46a 100644 --- a/lib/pbio/drv/adc/adc_stm32_hal.c +++ b/lib/pbio/drv/adc/adc_stm32_hal.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // Platform should override HAL_ADC_MspInit() to configure pin mux and ADC // channel mapping. Example: diff --git a/lib/pbio/drv/adc/adc_stm32_hal.h b/lib/pbio/drv/adc/adc_stm32_hal.h index a71c44059..1b4a39568 100644 --- a/lib/pbio/drv/adc/adc_stm32_hal.h +++ b/lib/pbio/drv/adc/adc_stm32_hal.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PBDRV_ADC_STM32_HAL_H_ #define _PBDRV_ADC_STM32_HAL_H_ diff --git a/lib/pbio/drv/adc/adc_stm32f0.c b/lib/pbio/drv/adc/adc_stm32f0.c index 0150f32df..bb0654116 100644 --- a/lib/pbio/drv/adc/adc_stm32f0.c +++ b/lib/pbio/drv/adc/adc_stm32f0.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/battery/battery_adc.c b/lib/pbio/drv/battery/battery_adc.c index 73e3563c3..0d8c8e434 100644 --- a/lib/pbio/drv/battery/battery_adc.c +++ b/lib/pbio/drv/battery/battery_adc.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors // Battery driver that uses an ADC to read battery voltage and current diff --git a/lib/pbio/drv/button/button_adc.c b/lib/pbio/drv/button/button_adc.c index 95f77356d..d53801bcc 100644 --- a/lib/pbio/drv/button/button_adc.c +++ b/lib/pbio/drv/button/button_adc.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // Button driver using analog inputs. // diff --git a/lib/pbio/drv/button/button_gpio.c b/lib/pbio/drv/button/button_gpio.c index d94e2c2f6..86fac77ae 100644 --- a/lib/pbio/drv/button/button_gpio.c +++ b/lib/pbio/drv/button/button_gpio.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/button/button_gpio.h b/lib/pbio/drv/button/button_gpio.h index 75b06b6fd..8b048ee95 100644 --- a/lib/pbio/drv/button/button_gpio.h +++ b/lib/pbio/drv/button/button_gpio.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _BUTTON_GPIO_H_ #define _BUTTON_GPIO_H_ diff --git a/lib/pbio/drv/button/button_nxt.c b/lib/pbio/drv/button/button_nxt.c index 1427380df..974256e34 100644 --- a/lib/pbio/drv/button/button_nxt.c +++ b/lib/pbio/drv/button/button_nxt.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2018 Laurens Valk -// Copyright (c) 2019 David Lechner #include diff --git a/lib/pbio/drv/city_hub/light.c b/lib/pbio/drv/city_hub/light.c index 1c883bd72..3da08bd8b 100644 --- a/lib/pbio/drv/city_hub/light.c +++ b/lib/pbio/drv/city_hub/light.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/city_hub/motor.c b/lib/pbio/drv/city_hub/motor.c index 82d49dd9b..b90de6856 100644 --- a/lib/pbio/drv/city_hub/motor.c +++ b/lib/pbio/drv/city_hub/motor.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/counter/counter.h b/lib/pbio/drv/counter/counter.h index 28f8fd9fe..feb7706f7 100644 --- a/lib/pbio/drv/counter/counter.h +++ b/lib/pbio/drv/counter/counter.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PBDRV_COUNTER_COUNTER_H_ #define _PBDRV_COUNTER_COUNTER_H_ diff --git a/lib/pbio/drv/counter/counter_core.c b/lib/pbio/drv/counter/counter_core.c index c7752b942..3b7c27517 100644 --- a/lib/pbio/drv/counter/counter_core.c +++ b/lib/pbio/drv/counter/counter_core.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/counter/counter_ev3dev_stretch_iio.c b/lib/pbio/drv/counter/counter_ev3dev_stretch_iio.c index 0b4386a10..d40cb22a3 100644 --- a/lib/pbio/drv/counter/counter_ev3dev_stretch_iio.c +++ b/lib/pbio/drv/counter/counter_ev3dev_stretch_iio.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // ev3dev-stretch PRU/IIO Quadrature Encoder Counter driver // diff --git a/lib/pbio/drv/counter/counter_ev3dev_stretch_iio.h b/lib/pbio/drv/counter/counter_ev3dev_stretch_iio.h index 0039706ef..ac40e3594 100644 --- a/lib/pbio/drv/counter/counter_ev3dev_stretch_iio.h +++ b/lib/pbio/drv/counter/counter_ev3dev_stretch_iio.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PVDRV_COUNTER_EV3DEV_STRETCH_IIO_H_ #define _PVDRV_COUNTER_EV3DEV_STRETCH_IIO_H_ diff --git a/lib/pbio/drv/counter/counter_nxt.c b/lib/pbio/drv/counter/counter_nxt.c index b89bcc55e..cbd954b0a 100644 --- a/lib/pbio/drv/counter/counter_nxt.c +++ b/lib/pbio/drv/counter/counter_nxt.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/counter/counter_nxt.h b/lib/pbio/drv/counter/counter_nxt.h index bab0eef09..02f30777a 100644 --- a/lib/pbio/drv/counter/counter_nxt.h +++ b/lib/pbio/drv/counter/counter_nxt.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PVDRV_COUNTER_NXT_H_ #define _PVDRV_COUNTER_NXT_H_ diff --git a/lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.c b/lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.c index 86a3a2d8a..b1a4e1add 100644 --- a/lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.c +++ b/lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // GPIO Quadrature Encoder Counter driver // diff --git a/lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.h b/lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.h index d65655b1b..93f373b3a 100644 --- a/lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.h +++ b/lib/pbio/drv/counter/counter_stm32f0_gpio_quad_enc.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PVDRV_COUNTER_STM32F0_GPIO_QUAD_ENC_H_ #define _PVDRV_COUNTER_STM32F0_GPIO_QUAD_ENC_H_ diff --git a/lib/pbio/drv/cplus_hub/bluetooth.c b/lib/pbio/drv/cplus_hub/bluetooth.c index a8d9d8d7f..cd89c36b1 100644 --- a/lib/pbio/drv/cplus_hub/bluetooth.c +++ b/lib/pbio/drv/cplus_hub/bluetooth.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors // Bluetooth for STM32 MCU with TI CC2640 diff --git a/lib/pbio/drv/cplus_hub/light.c b/lib/pbio/drv/cplus_hub/light.c index 2ec7e4af4..c65b340a3 100644 --- a/lib/pbio/drv/cplus_hub/light.c +++ b/lib/pbio/drv/cplus_hub/light.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/cplus_hub/motor.c b/lib/pbio/drv/cplus_hub/motor.c index 95361fa64..759e71e1e 100644 --- a/lib/pbio/drv/cplus_hub/motor.c +++ b/lib/pbio/drv/cplus_hub/motor.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/debug/light.c b/lib/pbio/drv/debug/light.c index 41295bfc5..a9dc93c02 100644 --- a/lib/pbio/drv/debug/light.c +++ b/lib/pbio/drv/debug/light.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/ioport/ioport_ev3dev_stretch.c b/lib/pbio/drv/ioport/ioport_ev3dev_stretch.c index 17ff17629..a38d48239 100644 --- a/lib/pbio/drv/ioport/ioport_ev3dev_stretch.c +++ b/lib/pbio/drv/ioport/ioport_ev3dev_stretch.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // ev3dev-stretch I/O port diff --git a/lib/pbio/drv/ioport/ioport_ev3dev_stretch.h b/lib/pbio/drv/ioport/ioport_ev3dev_stretch.h index 34c93a86b..c5f162a57 100644 --- a/lib/pbio/drv/ioport/ioport_ev3dev_stretch.h +++ b/lib/pbio/drv/ioport/ioport_ev3dev_stretch.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // ev3dev-stretch I/O port diff --git a/lib/pbio/drv/ioport/ioport_lpf2.c b/lib/pbio/drv/ioport/ioport_lpf2.c index 8fee25688..f96416a01 100644 --- a/lib/pbio/drv/ioport/ioport_lpf2.c +++ b/lib/pbio/drv/ioport/ioport_lpf2.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors // LEGO Power Functions 2 I/O port diff --git a/lib/pbio/drv/ioport/ioport_lpf2.h b/lib/pbio/drv/ioport/ioport_lpf2.h index 437d7448f..f46feb3ce 100644 --- a/lib/pbio/drv/ioport/ioport_lpf2.h +++ b/lib/pbio/drv/ioport/ioport_lpf2.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _IOPORT_LPF2_H_ #define _IOPORT_LPF2_H_ diff --git a/lib/pbio/drv/move_hub/bluetooth.c b/lib/pbio/drv/move_hub/bluetooth.c index 23b053f09..6eddf3381 100644 --- a/lib/pbio/drv/move_hub/bluetooth.c +++ b/lib/pbio/drv/move_hub/bluetooth.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/move_hub/light.c b/lib/pbio/drv/move_hub/light.c index a34b0e262..05a6b136f 100644 --- a/lib/pbio/drv/move_hub/light.c +++ b/lib/pbio/drv/move_hub/light.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/move_hub/motor.c b/lib/pbio/drv/move_hub/motor.c index ec1a51934..f84f386b1 100644 --- a/lib/pbio/drv/move_hub/motor.c +++ b/lib/pbio/drv/move_hub/motor.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/prime_hub/light.c b/lib/pbio/drv/prime_hub/light.c index 30f42bf2a..81b20853d 100644 --- a/lib/pbio/drv/prime_hub/light.c +++ b/lib/pbio/drv/prime_hub/light.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include #include diff --git a/lib/pbio/drv/prime_hub/motor.c b/lib/pbio/drv/prime_hub/motor.c index 4c19fe072..361b146c8 100644 --- a/lib/pbio/drv/prime_hub/motor.c +++ b/lib/pbio/drv/prime_hub/motor.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/drv/uart/uart_stm32_hal.c b/lib/pbio/drv/uart/uart_stm32_hal.c index c6a2e6fda..bc031836d 100644 --- a/lib/pbio/drv/uart/uart_stm32_hal.c +++ b/lib/pbio/drv/uart/uart_stm32_hal.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include "pbdrv/config.h" diff --git a/lib/pbio/drv/uart/uart_stm32_hal.h b/lib/pbio/drv/uart/uart_stm32_hal.h index d412c442f..33e41f185 100644 --- a/lib/pbio/drv/uart/uart_stm32_hal.h +++ b/lib/pbio/drv/uart/uart_stm32_hal.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _UART_STM32_HAL_H_ #define _UART_STM32_HAL_H_ diff --git a/lib/pbio/drv/uart/uart_stm32f0.c b/lib/pbio/drv/uart/uart_stm32f0.c index c65f2ca2d..1bea28e47 100644 --- a/lib/pbio/drv/uart/uart_stm32f0.c +++ b/lib/pbio/drv/uart/uart_stm32f0.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors // This driver is for UARTs on STM32F0 MCUs. It provides async read and write // functions for sending and receive data and allows changing the baud rate. diff --git a/lib/pbio/drv/uart/uart_stm32f0.h b/lib/pbio/drv/uart/uart_stm32f0.h index e2865c05b..6210860a2 100644 --- a/lib/pbio/drv/uart/uart_stm32f0.h +++ b/lib/pbio/drv/uart/uart_stm32f0.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _UART_STM32F0_H_ #define _UART_STM32F0_H_ diff --git a/lib/pbio/include/pbdrv/adc.h b/lib/pbio/include/pbdrv/adc.h index 94172076d..edc494a02 100644 --- a/lib/pbio/include/pbdrv/adc.h +++ b/lib/pbio/include/pbdrv/adc.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup AnalogDriver Analog/digital converter I/O driver diff --git a/lib/pbio/include/pbdrv/battery.h b/lib/pbio/include/pbdrv/battery.h index cf428cd1f..63f1ca8fe 100644 --- a/lib/pbio/include/pbdrv/battery.h +++ b/lib/pbio/include/pbdrv/battery.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup BatteryDriver Battery I/O driver diff --git a/lib/pbio/include/pbdrv/bluetooth.h b/lib/pbio/include/pbdrv/bluetooth.h index eaa69c09d..3c380dcdc 100644 --- a/lib/pbio/include/pbdrv/bluetooth.h +++ b/lib/pbio/include/pbdrv/bluetooth.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup ButtonDriver Button I/O driver diff --git a/lib/pbio/include/pbdrv/button.h b/lib/pbio/include/pbdrv/button.h index dea4014de..c39fe1751 100644 --- a/lib/pbio/include/pbdrv/button.h +++ b/lib/pbio/include/pbdrv/button.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup ButtonDriver Button I/O driver diff --git a/lib/pbio/include/pbdrv/config.h b/lib/pbio/include/pbdrv/config.h index 6fc61b507..c91944ad1 100644 --- a/lib/pbio/include/pbdrv/config.h +++ b/lib/pbio/include/pbdrv/config.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBDRV_CONFIG_H_ #define _PBDRV_CONFIG_H_ diff --git a/lib/pbio/include/pbdrv/counter.h b/lib/pbio/include/pbdrv/counter.h index 679d08020..ff254a841 100644 --- a/lib/pbio/include/pbdrv/counter.h +++ b/lib/pbio/include/pbdrv/counter.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors /** * \addtogroup CounterDriver Counter driver diff --git a/lib/pbio/include/pbdrv/gpio.h b/lib/pbio/include/pbdrv/gpio.h index a52b818ec..edf71d9e6 100644 --- a/lib/pbio/include/pbdrv/gpio.h +++ b/lib/pbio/include/pbdrv/gpio.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup GPIODriver GPIO driver diff --git a/lib/pbio/include/pbdrv/ioport.h b/lib/pbio/include/pbdrv/ioport.h index b4906d2dd..c8c77dfe7 100644 --- a/lib/pbio/include/pbdrv/ioport.h +++ b/lib/pbio/include/pbdrv/ioport.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup IOPortDriver I/O Port I/O driver diff --git a/lib/pbio/include/pbdrv/light.h b/lib/pbio/include/pbdrv/light.h index 7b2750442..55b74b969 100644 --- a/lib/pbio/include/pbdrv/light.h +++ b/lib/pbio/include/pbdrv/light.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup LightDriver Light I/O driver diff --git a/lib/pbio/include/pbdrv/motor.h b/lib/pbio/include/pbdrv/motor.h index 0bf08ce6e..93c010512 100644 --- a/lib/pbio/include/pbdrv/motor.h +++ b/lib/pbio/include/pbdrv/motor.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup MotorDriver Motor I/O driver diff --git a/lib/pbio/include/pbdrv/uart.h b/lib/pbio/include/pbdrv/uart.h index 8ebc48327..1c5ef01c6 100644 --- a/lib/pbio/include/pbdrv/uart.h +++ b/lib/pbio/include/pbdrv/uart.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup UARTDriver UART I/O driver diff --git a/lib/pbio/include/pbio/button.h b/lib/pbio/include/pbio/button.h index 5d72190b9..0e38121f3 100644 --- a/lib/pbio/include/pbio/button.h +++ b/lib/pbio/include/pbio/button.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup Button Brick and Remote Control Buttons diff --git a/lib/pbio/include/pbio/config.h b/lib/pbio/include/pbio/config.h index 4e4c5673d..a64fe4574 100644 --- a/lib/pbio/include/pbio/config.h +++ b/lib/pbio/include/pbio/config.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PBIO_CONFIG_H_ #define _PBIO_CONFIG_H_ diff --git a/lib/pbio/include/pbio/error.h b/lib/pbio/include/pbio/error.h index 8365aa513..fab22f667 100644 --- a/lib/pbio/include/pbio/error.h +++ b/lib/pbio/include/pbio/error.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup Error Error handling diff --git a/lib/pbio/include/pbio/event.h b/lib/pbio/include/pbio/event.h index 374bd7fb2..de2279459 100644 --- a/lib/pbio/include/pbio/event.h +++ b/lib/pbio/include/pbio/event.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_EVENT_H_ #define _PBIO_EVENT_H_ diff --git a/lib/pbio/include/pbio/iodev.h b/lib/pbio/include/pbio/iodev.h index 4aa18e20f..477994216 100644 --- a/lib/pbio/include/pbio/iodev.h +++ b/lib/pbio/include/pbio/iodev.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_IODEV_H_ #define _PBIO_IODEV_H_ @@ -89,21 +89,21 @@ typedef enum { // SPIKE motors /** SPIKE Medium Motor */ - PBIO_IODEV_TYPE_ID_SPIKE_M_MOTOR = 48, + PBIO_IODEV_TYPE_ID_SPIKE_M_MOTOR = 48, /** SPIKE Large Motor */ - PBIO_IODEV_TYPE_ID_SPIKE_L_MOTOR = 49, + PBIO_IODEV_TYPE_ID_SPIKE_L_MOTOR = 49, // SPIKE sensors /** SPIKE Color Sensor */ - PBIO_IODEV_TYPE_ID_SPIKE_COLOR_SENSOR = 61, + PBIO_IODEV_TYPE_ID_SPIKE_COLOR_SENSOR = 61, /** SPIKE Ultrasonic Sensor */ - PBIO_IODEV_TYPE_ID_SPIKE_ULTRASONIC_SENSOR = 62, + PBIO_IODEV_TYPE_ID_SPIKE_ULTRASONIC_SENSOR = 62, /** SPIKE Prime Force Sensor */ - PBIO_IODEV_TYPE_ID_SPIKE_FORCE_SENSOR = 63, + PBIO_IODEV_TYPE_ID_SPIKE_FORCE_SENSOR = 63, // FatcatLab EV3 UART devices diff --git a/lib/pbio/include/pbio/light.h b/lib/pbio/include/pbio/light.h index 7ac68fc71..2774cb706 100644 --- a/lib/pbio/include/pbio/light.h +++ b/lib/pbio/include/pbio/light.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup Light Light control functions diff --git a/lib/pbio/include/pbio/main.h b/lib/pbio/include/pbio/main.h index c4b3b33e4..1d6dc6579 100644 --- a/lib/pbio/include/pbio/main.h +++ b/lib/pbio/include/pbio/main.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_MAIN_H_ #define _PBIO_MAIN_H_ diff --git a/lib/pbio/include/pbio/math.h b/lib/pbio/include/pbio/math.h index 7fc1259a9..766c7a64f 100644 --- a/lib/pbio/include/pbio/math.h +++ b/lib/pbio/include/pbio/math.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2018-2019 Laurens Valk // Copyright (c) 2019 LEGO System A/S diff --git a/lib/pbio/include/pbio/port.h b/lib/pbio/include/pbio/port.h index 1c0645d7b..1db12b447 100644 --- a/lib/pbio/include/pbio/port.h +++ b/lib/pbio/include/pbio/port.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_PORT_H_ #define _PBIO_PORT_H_ diff --git a/lib/pbio/include/pbio/uartdev.h b/lib/pbio/include/pbio/uartdev.h index 7daca67a4..16f00e4aa 100644 --- a/lib/pbio/include/pbio/uartdev.h +++ b/lib/pbio/include/pbio/uartdev.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_UARTDEV_H_ #define _PBIO_UARTDEV_H_ diff --git a/lib/pbio/include/pbio/util.h b/lib/pbio/include/pbio/util.h index cdd995e13..aa82e08df 100644 --- a/lib/pbio/include/pbio/util.h +++ b/lib/pbio/include/pbio/util.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PBIO_UTIL_H_ #define _PBIO_UTIL_H_ diff --git a/lib/pbio/include/pbsys/sys.h b/lib/pbio/include/pbsys/sys.h index f641fae71..acb87eba5 100644 --- a/lib/pbio/include/pbsys/sys.h +++ b/lib/pbio/include/pbsys/sys.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup Sys System-level Functions diff --git a/lib/pbio/platform/city_hub/contiki-conf.h b/lib/pbio/platform/city_hub/contiki-conf.h index 370a5ebd7..4e2176379 100644 --- a/lib/pbio/platform/city_hub/contiki-conf.h +++ b/lib/pbio/platform/city_hub/contiki-conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_CONF_H_ #define _PBIO_CONF_H_ diff --git a/lib/pbio/platform/city_hub/pbdrvconfig.h b/lib/pbio/platform/city_hub/pbdrvconfig.h index b6f9c6b61..5ef90e041 100644 --- a/lib/pbio/platform/city_hub/pbdrvconfig.h +++ b/lib/pbio/platform/city_hub/pbdrvconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBDRVCONFIG_H_ #define _PBDRVCONFIG_H_ diff --git a/lib/pbio/platform/city_hub/platform.c b/lib/pbio/platform/city_hub/platform.c index 58ae071bf..8bf543040 100644 --- a/lib/pbio/platform/city_hub/platform.c +++ b/lib/pbio/platform/city_hub/platform.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/city_hub/sys.c b/lib/pbio/platform/city_hub/sys.c index 4065aaf2c..37b25be97 100644 --- a/lib/pbio/platform/city_hub/sys.c +++ b/lib/pbio/platform/city_hub/sys.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/cplus_hub/contiki-conf.h b/lib/pbio/platform/cplus_hub/contiki-conf.h index 370a5ebd7..4e2176379 100644 --- a/lib/pbio/platform/cplus_hub/contiki-conf.h +++ b/lib/pbio/platform/cplus_hub/contiki-conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_CONF_H_ #define _PBIO_CONF_H_ diff --git a/lib/pbio/platform/cplus_hub/pbdrvconfig.h b/lib/pbio/platform/cplus_hub/pbdrvconfig.h index 2ad844e69..624266c16 100644 --- a/lib/pbio/platform/cplus_hub/pbdrvconfig.h +++ b/lib/pbio/platform/cplus_hub/pbdrvconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PBDRVCONFIG_H_ #define _PBDRVCONFIG_H_ diff --git a/lib/pbio/platform/cplus_hub/platform.c b/lib/pbio/platform/cplus_hub/platform.c index 1240e96f6..4fd28b911 100644 --- a/lib/pbio/platform/cplus_hub/platform.c +++ b/lib/pbio/platform/cplus_hub/platform.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/cplus_hub/sys.c b/lib/pbio/platform/cplus_hub/sys.c index edf0b271e..49e703e47 100644 --- a/lib/pbio/platform/cplus_hub/sys.c +++ b/lib/pbio/platform/cplus_hub/sys.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/debug/contiki-conf.h b/lib/pbio/platform/debug/contiki-conf.h index 370a5ebd7..4e2176379 100644 --- a/lib/pbio/platform/debug/contiki-conf.h +++ b/lib/pbio/platform/debug/contiki-conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_CONF_H_ #define _PBIO_CONF_H_ diff --git a/lib/pbio/platform/debug/pbdrvconfig.h b/lib/pbio/platform/debug/pbdrvconfig.h index fe576100b..e331ed63b 100644 --- a/lib/pbio/platform/debug/pbdrvconfig.h +++ b/lib/pbio/platform/debug/pbdrvconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBDRVCONFIG_H_ #define _PBDRVCONFIG_H_ diff --git a/lib/pbio/platform/debug/platform.c b/lib/pbio/platform/debug/platform.c index 58c7957ef..b8a9464c4 100644 --- a/lib/pbio/platform/debug/platform.c +++ b/lib/pbio/platform/debug/platform.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include #include diff --git a/lib/pbio/platform/debug/sys.c b/lib/pbio/platform/debug/sys.c index 5fcec877f..5a29144af 100644 --- a/lib/pbio/platform/debug/sys.c +++ b/lib/pbio/platform/debug/sys.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/ev3dev_stretch/contiki-conf.h b/lib/pbio/platform/ev3dev_stretch/contiki-conf.h index 007b45ab7..ab103538c 100644 --- a/lib/pbio/platform/ev3dev_stretch/contiki-conf.h +++ b/lib/pbio/platform/ev3dev_stretch/contiki-conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_CONF_H_ #define _PBIO_CONF_H_ diff --git a/lib/pbio/platform/ev3dev_stretch/pbdrvconfig.h b/lib/pbio/platform/ev3dev_stretch/pbdrvconfig.h index 10a47d05d..0d61fea54 100644 --- a/lib/pbio/platform/ev3dev_stretch/pbdrvconfig.h +++ b/lib/pbio/platform/ev3dev_stretch/pbdrvconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBDRVCONFIG_H_ #define _PBDRVCONFIG_H_ diff --git a/lib/pbio/platform/move_hub/bluenrg_conf.h b/lib/pbio/platform/move_hub/bluenrg_conf.h index 8e50e42cd..b96989886 100644 --- a/lib/pbio/platform/move_hub/bluenrg_conf.h +++ b/lib/pbio/platform/move_hub/bluenrg_conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _BLUENRG_CONF_H_ #define _BLUENRG_CONF_H_ diff --git a/lib/pbio/platform/move_hub/contiki-conf.h b/lib/pbio/platform/move_hub/contiki-conf.h index 14bf2eab0..0b1a6ffc3 100644 --- a/lib/pbio/platform/move_hub/contiki-conf.h +++ b/lib/pbio/platform/move_hub/contiki-conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_CONF_H_ #define _PBIO_CONF_H_ diff --git a/lib/pbio/platform/move_hub/pbdrvconfig.h b/lib/pbio/platform/move_hub/pbdrvconfig.h index 79744bfd3..e663339ab 100644 --- a/lib/pbio/platform/move_hub/pbdrvconfig.h +++ b/lib/pbio/platform/move_hub/pbdrvconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBDRVCONFIG_H_ #define _PBDRVCONFIG_H_ diff --git a/lib/pbio/platform/move_hub/platform.c b/lib/pbio/platform/move_hub/platform.c index 25b1f5780..5da01f577 100644 --- a/lib/pbio/platform/move_hub/platform.c +++ b/lib/pbio/platform/move_hub/platform.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/move_hub/sys.c b/lib/pbio/platform/move_hub/sys.c index 3f07fdceb..2eb106461 100644 --- a/lib/pbio/platform/move_hub/sys.c +++ b/lib/pbio/platform/move_hub/sys.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/nxt/contiki-conf.h b/lib/pbio/platform/nxt/contiki-conf.h index 370a5ebd7..4e2176379 100644 --- a/lib/pbio/platform/nxt/contiki-conf.h +++ b/lib/pbio/platform/nxt/contiki-conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_CONF_H_ #define _PBIO_CONF_H_ diff --git a/lib/pbio/platform/nxt/pbdrvconfig.h b/lib/pbio/platform/nxt/pbdrvconfig.h index 37ccb9d9b..5b1b61f51 100644 --- a/lib/pbio/platform/nxt/pbdrvconfig.h +++ b/lib/pbio/platform/nxt/pbdrvconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBDRVCONFIG_H_ #define _PBDRVCONFIG_H_ diff --git a/lib/pbio/platform/nxt/platform.c b/lib/pbio/platform/nxt/platform.c index 0c293958c..3b99db109 100644 --- a/lib/pbio/platform/nxt/platform.c +++ b/lib/pbio/platform/nxt/platform.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/nxt/sys.c b/lib/pbio/platform/nxt/sys.c index e0aba4a09..d2df7f2ed 100644 --- a/lib/pbio/platform/nxt/sys.c +++ b/lib/pbio/platform/nxt/sys.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/prime_hub/contiki-conf.h b/lib/pbio/platform/prime_hub/contiki-conf.h index 370a5ebd7..4e2176379 100644 --- a/lib/pbio/platform/prime_hub/contiki-conf.h +++ b/lib/pbio/platform/prime_hub/contiki-conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_CONF_H_ #define _PBIO_CONF_H_ diff --git a/lib/pbio/platform/prime_hub/pbdrvconfig.h b/lib/pbio/platform/prime_hub/pbdrvconfig.h index e26a30523..13ab8cdc8 100644 --- a/lib/pbio/platform/prime_hub/pbdrvconfig.h +++ b/lib/pbio/platform/prime_hub/pbdrvconfig.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBDRVCONFIG_H_ #define _PBDRVCONFIG_H_ diff --git a/lib/pbio/platform/prime_hub/platform.c b/lib/pbio/platform/prime_hub/platform.c index 93cbd8d55..4ef2e7169 100644 --- a/lib/pbio/platform/prime_hub/platform.c +++ b/lib/pbio/platform/prime_hub/platform.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include diff --git a/lib/pbio/platform/prime_hub/sys.c b/lib/pbio/platform/prime_hub/sys.c index c93cd5690..79068b751 100644 --- a/lib/pbio/platform/prime_hub/sys.c +++ b/lib/pbio/platform/prime_hub/sys.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/src/error.c b/lib/pbio/src/error.c index 0ee755a45..02ab69e7f 100644 --- a/lib/pbio/src/error.c +++ b/lib/pbio/src/error.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup Error Error handling diff --git a/lib/pbio/src/iodev.c b/lib/pbio/src/iodev.c index c2a9be9f6..aad045c43 100644 --- a/lib/pbio/src/iodev.c +++ b/lib/pbio/src/iodev.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include #include diff --git a/lib/pbio/src/light.c b/lib/pbio/src/light.c index e64afda5a..932c89073 100644 --- a/lib/pbio/src/light.c +++ b/lib/pbio/src/light.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/lib/pbio/src/main.c b/lib/pbio/src/main.c index 8ca43f99b..4ae429c19 100644 --- a/lib/pbio/src/main.c +++ b/lib/pbio/src/main.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /** * \addtogroup Main Library initialization and events diff --git a/lib/pbio/src/math.c b/lib/pbio/src/math.c index 4dfdc6a78..89ce0d1cd 100644 --- a/lib/pbio/src/math.c +++ b/lib/pbio/src/math.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018-2019 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2018-2019 Laurens Valk // Copyright (c) 2019 LEGO System A/S diff --git a/lib/pbio/src/processes.h b/lib/pbio/src/processes.h index c3cab893b..49002242f 100644 --- a/lib/pbio/src/processes.h +++ b/lib/pbio/src/processes.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #ifndef _PBIO_PROCESSES_H_ #define _PBIO_PROCESSES_H_ diff --git a/lib/pbio/src/uartdev.c b/lib/pbio/src/uartdev.c index 9b1411c82..8cabc4feb 100644 --- a/lib/pbio/src/uartdev.c +++ b/lib/pbio/src/uartdev.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT OR GPL-2.0-only -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors /* * Based on: diff --git a/lib/pbio/test/Makefile b/lib/pbio/test/Makefile index 60cd51e7c..481a876b3 100644 --- a/lib/pbio/test/Makefile +++ b/lib/pbio/test/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright 2019 David Lechner +# Copyright 2019-2020 The Pybricks Authors # output ifeq ($(COVERAGE),1) diff --git a/lib/pbio/test/clock.c b/lib/pbio/test/clock.c index 91a50ae9d..9f0402ce7 100644 --- a/lib/pbio/test/clock.c +++ b/lib/pbio/test/clock.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT +// Copyright (c) 2018-2020 The Pybricks Authors // Copyright (c) 2018 Laurens Valk -// Copyright (c) 2019 David Lechner #include #include diff --git a/lib/pbio/test/contiki-conf.h b/lib/pbio/test/contiki-conf.h index 66bba57a5..f9946ab48 100644 --- a/lib/pbio/test/contiki-conf.h +++ b/lib/pbio/test/contiki-conf.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PBIO_CONF_H_ #define _PBIO_CONF_H_ diff --git a/lib/pbio/test/test-pbio.c b/lib/pbio/test/test-pbio.c index 9be90c076..11eea3e35 100644 --- a/lib/pbio/test/test-pbio.c +++ b/lib/pbio/test/test-pbio.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright 2019 David Lechner +// Copyright 2019-2020 The Pybricks Authors #include diff --git a/py/pberror.c b/py/pberror.c index 3a6d82cd0..b7f34ce5f 100644 --- a/py/pberror.c +++ b/py/pberror.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #include diff --git a/py/pberror.h b/py/pberror.h index afbb0dafa..b05cc0fbf 100644 --- a/py/pberror.h +++ b/py/pberror.h @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2018 David Lechner +// Copyright (c) 2018-2020 The Pybricks Authors #ifndef _PYBRICKS_EXTMOD_PBERROR_H_ #define _PYBRICKS_EXTMOD_PBERROR_H_ diff --git a/py/pbobj.c b/py/pbobj.c index 22a4267c6..9504b1a17 100644 --- a/py/pbobj.c +++ b/py/pbobj.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors #include @@ -46,7 +46,7 @@ mp_obj_t pb_obj_get_base_class_obj(mp_obj_t obj, const mp_obj_type_t *type) { if (mp_obj_is_obj(obj) && mp_obj_is_subclass_fast(MP_OBJ_FROM_PTR(((mp_obj_base_t*)MP_OBJ_TO_PTR(obj))->type), type)) { return ((mp_obj_instance_t*)MP_OBJ_TO_PTR(obj))->subobj[0]; } - // On failure, say why we could not do it + // On failure, say why we could not do it pb_assert_type(obj, type); return MP_OBJ_NULL; } diff --git a/py/pbthread.c b/py/pbthread.c index 2e190c9b5..b77c74348 100644 --- a/py/pbthread.c +++ b/py/pbthread.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner -// Copyright (c) 2019 LEGO System A/S +// Copyright (c) 2019-2020 The Pybricks Authors #include "py/mpthread.h" diff --git a/tests/ev3dev/Makefile b/tests/ev3dev/Makefile index eff1b7055..57085626e 100644 --- a/tests/ev3dev/Makefile +++ b/tests/ev3dev/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (c) 2019 David Lechner +# Copyright (c) 2019-2020 The Pybricks Authors CFLAGS += $(shell pkg-config --cflags grx-3.0) LDFLAGS += $(shell pkg-config --libs grx-3.0) diff --git a/tests/ev3dev/grx-plugin.c b/tests/ev3dev/grx-plugin.c index 72fe996f4..a93fe0a2c 100644 --- a/tests/ev3dev/grx-plugin.c +++ b/tests/ev3dev/grx-plugin.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright (c) 2019 David Lechner +// Copyright (c) 2019-2020 The Pybricks Authors // GRX3 plugin to simulate LEGO MINDSTORMS EV3 screen for automated testing