doc: added and fixed some copyright boilerplates

This commit is contained in:
Oleg Hahm 2014-10-28 09:58:25 +01:00
parent a11e4fe534
commit 313d5b4e56
28 changed files with 358 additions and 19 deletions

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 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.
*/
#ifndef BATTERY_H #ifndef BATTERY_H
#define BATTERY_H #define BATTERY_H

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 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.
*/
#ifndef BUZZER_H #ifndef BUZZER_H
#define BUZZER_H #define BUZZER_H

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 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.
*/
#ifndef __DISPLAY_PUTCHAR_H #ifndef __DISPLAY_PUTCHAR_H
#define __DISPLAY_PUTCHAR_H #define __DISPLAY_PUTCHAR_H

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 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.
*/
#ifndef BUTTONS_H #ifndef BUTTONS_H
#define BUTTONS_H #define BUTTONS_H

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 INRIA
*
* 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.
*/
#ifndef __BOARD_H #ifndef __BOARD_H
#define __BOARD_H #define __BOARD_H

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 Kaspar Schleiser <kaspar@schleiser.de>
*
* 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.
*/
#ifndef __UART0_H #ifndef __UART0_H
#define __UART0_H #define __UART0_H

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 Kaspar Schleiser <kaspar@schleiser.de>
*
* 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.
*/
/** /**
* @defgroup boards_msba2-common MSB-A2 common * @defgroup boards_msba2-common MSB-A2 common
* @ingroup boards * @ingroup boards

View File

@ -1,3 +1,20 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
typedef struct { typedef struct {
int size; int size;

View File

@ -1,2 +1,20 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* automatically generated from boot_23xx.armasm */ /* automatically generated from boot_23xx.armasm */
extern const unsigned int boot_23xx[]; extern const unsigned int boot_23xx[];

View File

@ -1,2 +1,20 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* automatically generated from boot_2xxx.armasm */ /* automatically generated from boot_2xxx.armasm */
extern const unsigned int boot_2xxx[]; extern const unsigned int boot_2xxx[];

View File

@ -1,3 +1,21 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
extern char *lpc_return_strings[]; extern char *lpc_return_strings[];
struct sector_info_struct { // an array of struct sector_info_struct { // an array of

View File

@ -1,3 +1,21 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef CONTROL_2XXXX_H #ifndef CONTROL_2XXXX_H
#define CONTROL_2XXXX_H #define CONTROL_2XXXX_H

View File

@ -1,3 +1,21 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
extern int download_begin(char *file); extern int download_begin(char *file);
extern void soft_reboot_begin(void); extern void soft_reboot_begin(void);
extern void hard_reset_to_bootloader(void); extern void hard_reset_to_bootloader(void);

View File

@ -1,3 +1,21 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
extern void create_window(int *argc, char ***argv); extern void create_window(int *argc, char ***argv);
extern void run_gui(void); extern void run_gui(void);
extern void done_program(int still_in_bootloader); extern void done_program(int still_in_bootloader);

View File

@ -1,3 +1,21 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
extern int read_intel_hex(const char *filename); extern int read_intel_hex(const char *filename);
extern int bytes_within_range(int begin, int end); extern int bytes_within_range(int begin, int end);
extern void get_ihex_data(int addr, int len, unsigned char *bytes); extern void get_ihex_data(int addr, int len, unsigned char *bytes);

View File

@ -1,3 +1,21 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef LPC2K_PGM #ifndef LPC2K_PGM
#define LPC2K_PGM #define LPC2K_PGM

View File

@ -1,3 +1,21 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef SERIAL_H #ifndef SERIAL_H
#define SERIAL_H #define SERIAL_H

View File

@ -1,3 +1,21 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
extern void init_settings(void); extern void init_settings(void);
extern const char *file_setting(void); extern const char *file_setting(void);

View File

@ -1,2 +1,20 @@
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
extern void uuencode(char *str, const unsigned char *data, int num); extern void uuencode(char *str, const unsigned char *data, int num);
extern int uudecode(const char *str, unsigned char *data, int max); extern int uudecode(const char *str, unsigned char *data, int max);

View File

@ -1,11 +1,10 @@
/** /*
* cc2420_settings.h - Definitions and settings for the CC2420. * Copyright (C) 2014 Milan Babel <babel@inf.fu-berlin.de> and INRIA
* Copyright (C) 2014 Milan Babel <babel@inf.fu-berlin.de> and INRIA *
* * This file is subject to the terms and conditions of the GNU Lesser
* This source code is licensed under the GNU Lesser General Public License, * General Public License v2.1. See the file LICENSE in the top level
* Version 2. See the file LICENSE for more details. * directory for more details.
*/ */
/** /**
* @ingroup CC2420 * @ingroup CC2420

View File

@ -1,11 +1,10 @@
/** /*
* cc2420_spi.h - Definition of CC2420 SPI functions. * Copyright (C) 2013 Milan Babel <babel@inf.fu-berlin.de>
* Copyright (C) 2013 Milan Babel <babel@inf.fu-berlin.de> *
* * This file is subject to the terms and conditions of the GNU Lesser
* This source code is licensed under the GNU Lesser General Public License, * General Public License v2.1. See the file LICENSE in the top level
* Version 2. See the file LICENSE for more details. * directory for more details.
*/ */
/** /**
* @ingroup CC2420 * @ingroup CC2420

View File

@ -1,6 +1,10 @@
/*----------------------------------------------------------------------- /*
/ Low level disk interface modlue include file (C)ChaN, 2010 * Copyright 2010 ChaN
/-----------------------------------------------------------------------*/ *
* 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.
*/
/** /**
* @defgroup diskio Disk IO Driver * @defgroup diskio Disk IO Driver

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 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.
*/
/** /**
* @defgroup flashrom Flash memory driver * @defgroup flashrom Flash memory driver
* @ingroup drivers * @ingroup drivers

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 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.
*/
#ifndef __LTC4150_H #ifndef __LTC4150_H
#define __LTC4150_H #define __LTC4150_H

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 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.
*/
#ifndef ETX_BEACONING_H_ #ifndef ETX_BEACONING_H_
#define ETX_BEACONING_H_ #define ETX_BEACONING_H_
#include <stdint.h> #include <stdint.h>

View File

@ -1,3 +1,20 @@
/*
* Copyright (C) 1996-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef INET_NTOP_H_ #ifndef INET_NTOP_H_
#define INET_NTOP_H_ #define INET_NTOP_H_
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,3 +1,20 @@
/*
* Copyright (C) 1996-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef INET_PTON_H_ #ifndef INET_PTON_H_
#define INET_PTON_H_ #define INET_PTON_H_
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,3 +1,11 @@
/*
* Copyright 2014 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.
*/
/* /*
* Header file for serial number arithmetics [RFC1982] * Header file for serial number arithmetics [RFC1982]
*/ */