From 32985a29c18014989385170bb7182839058895fe Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 13 Sep 2006 16:23:52 +0000 Subject: add GPL disclaimer to all C files that I wrote git-svn-id: https://svn.openpcd.org:2342/trunk@195 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/src/os/dbgu.c | 21 +++++++++++++++++++++ firmware/src/os/fifo.c | 20 +++++++++++++++++++- firmware/src/os/led.c | 18 ++++++++++++++++++ firmware/src/os/main.c | 19 +++++++++++++++++++ firmware/src/os/pcd_enumerate.c | 15 ++++++++++++++- firmware/src/os/pio_irq.c | 19 +++++++++++++++++++ firmware/src/os/pit.c | 19 ++++++++++++++++++- firmware/src/os/pwm.c | 15 ++++++++++++++- firmware/src/os/req_ctx.c | 19 +++++++++++++++++++ firmware/src/os/tc_cdiv.c | 14 ++++++++++++++ firmware/src/os/trigger.c | 19 +++++++++++++++++++ firmware/src/os/usb_benchmark.c | 19 +++++++++++++++++++ firmware/src/os/usb_handler.c | 17 ++++++++++++++++- firmware/src/os/wdt.c | 15 +++++++++++++++ 14 files changed, 244 insertions(+), 5 deletions(-) (limited to 'firmware/src/os') diff --git a/firmware/src/os/dbgu.c b/firmware/src/os/dbgu.c index dc1a040..f7c62e3 100644 --- a/firmware/src/os/dbgu.c +++ b/firmware/src/os/dbgu.c @@ -1,3 +1,24 @@ +/* AT91SAM7 debug function implementation for OpenPCD + * (C) 2006 by Harald Welte + * + * I based this on existing BSD-style licensed code, please see below. + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ + /*---------------------------------------------------------------------------- * ATMEL Microcontroller Software Support - ROUSSET - *---------------------------------------------------------------------------- diff --git a/firmware/src/os/fifo.c b/firmware/src/os/fifo.c index b0ec152..c30ba10 100644 --- a/firmware/src/os/fifo.c +++ b/firmware/src/os/fifo.c @@ -1,4 +1,22 @@ -/* Implementation of a virtual FIFO */ +/* Implementation of a virtual FIFO for OpenPCD + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ + #include "fifo.h" diff --git a/firmware/src/os/led.c b/firmware/src/os/led.c index 8c34c6c..30353ac 100644 --- a/firmware/src/os/led.c +++ b/firmware/src/os/led.c @@ -1,3 +1,21 @@ +/* LED support code for OpenPCD + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ #include #include diff --git a/firmware/src/os/main.c b/firmware/src/os/main.c index 878fdbf..3e05a7d 100644 --- a/firmware/src/os/main.c +++ b/firmware/src/os/main.c @@ -1,3 +1,22 @@ +/* USB Device Firmware for OpenPCD + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ + #include #include #include diff --git a/firmware/src/os/pcd_enumerate.c b/firmware/src/os/pcd_enumerate.c index 40bd88e..51f99f0 100644 --- a/firmware/src/os/pcd_enumerate.c +++ b/firmware/src/os/pcd_enumerate.c @@ -1,7 +1,20 @@ /* AT91SAM7 USB interface code for OpenPCD - * * (C) 2006 by Harald Welte * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * * based on existing AT91SAM7 UDP CDC ACM example code, licensed as followed: *---------------------------------------------------------------------------- * ATMEL Microcontroller Software Support - ROUSSET - diff --git a/firmware/src/os/pio_irq.c b/firmware/src/os/pio_irq.c index 8dae806..dfe818c 100644 --- a/firmware/src/os/pio_irq.c +++ b/firmware/src/os/pio_irq.c @@ -1,3 +1,22 @@ +/* PIO IRQ Implementation for OpenPCD + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ + #include #include #include diff --git a/firmware/src/os/pit.c b/firmware/src/os/pit.c index 409faef..5726f06 100644 --- a/firmware/src/os/pit.c +++ b/firmware/src/os/pit.c @@ -1,4 +1,21 @@ - +/* Periodic Interval Timer Implementation for OpenPCD + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ #include #include diff --git a/firmware/src/os/pwm.c b/firmware/src/os/pwm.c index e05699b..5c52ee6 100644 --- a/firmware/src/os/pwm.c +++ b/firmware/src/os/pwm.c @@ -1,7 +1,20 @@ /* AT91SAM7 PWM routines for OpenPCD / OpenPICC - * * (C) 2006 by Harald Welte * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * */ #include diff --git a/firmware/src/os/req_ctx.c b/firmware/src/os/req_ctx.c index 99d248b..d118aca 100644 --- a/firmware/src/os/req_ctx.c +++ b/firmware/src/os/req_ctx.c @@ -1,3 +1,22 @@ +/* AT91SAM7 USB Request Context for OpenPCD / OpenPICC + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ + #include #include #include diff --git a/firmware/src/os/tc_cdiv.c b/firmware/src/os/tc_cdiv.c index 6c4024c..2b269fe 100644 --- a/firmware/src/os/tc_cdiv.c +++ b/firmware/src/os/tc_cdiv.c @@ -1,6 +1,20 @@ /* OpenPC TC (Timer / Clock) support code * (C) 2006 by Harald Welte * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * * This idea of this code is to feed the 13.56MHz carrier clock of RC632 * into TCLK1, which is routed to XC1. Then configure TC0 to divide this * clock by a configurable divider. diff --git a/firmware/src/os/trigger.c b/firmware/src/os/trigger.c index b8cedf3..7220e85 100644 --- a/firmware/src/os/trigger.c +++ b/firmware/src/os/trigger.c @@ -1,3 +1,22 @@ +/* AT91SAM7 Trigger output routines for OpenPCD / OpenPICC + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ + #include #include #include "../openpcd.h" diff --git a/firmware/src/os/usb_benchmark.c b/firmware/src/os/usb_benchmark.c index 3637bc3..1f890bf 100644 --- a/firmware/src/os/usb_benchmark.c +++ b/firmware/src/os/usb_benchmark.c @@ -1,3 +1,22 @@ +/* AT91SAM7 USB benchmark routines for OpenPCD / OpenPICC + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * + */ + #include #include #include diff --git a/firmware/src/os/usb_handler.c b/firmware/src/os/usb_handler.c index 274353c..6c45e18 100644 --- a/firmware/src/os/usb_handler.c +++ b/firmware/src/os/usb_handler.c @@ -1,5 +1,20 @@ /* OpenPCD USB handler - handle incoming USB requests on OUT pipe - * (C) 2006 by Harald Welte + * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * */ #include diff --git a/firmware/src/os/wdt.c b/firmware/src/os/wdt.c index d8a2145..579d15d 100644 --- a/firmware/src/os/wdt.c +++ b/firmware/src/os/wdt.c @@ -1,5 +1,20 @@ /* AT91SAM7 Watch Dog Timer code for OpenPCD / OpenPICC * (C) 2006 by Harald Welte + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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 + * */ #define WDT_DEBUG -- cgit v1.2.3