fix license

This commit is contained in:
hathach
2013-06-22 12:54:47 +07:00
parent 34b4332ff4
commit 54c065b1d5
5 changed files with 180 additions and 175 deletions

View File

@@ -1,39 +1,40 @@
/* /**************************************************************************/
* errors.c /*!
* @file errors.c
* Created on: Nov 27, 2012 @author hathach (tinyusb.org)
* Author: hathach
*/
/* @section LICENSE
* Software License Agreement (BSD License)
* Copyright (c) 2013, hathach (tinyusb.org) Software License Agreement (BSD License)
* All rights reserved.
* Copyright (c) 2013, hathach (tinyusb.org)
* Redistribution and use in source and binary forms, with or without modification, All rights reserved.
* are permitted provided that the following conditions are met:
* Redistribution and use in source and binary forms, with or without
* 1. Redistributions of source code must retain the above copyright notice, modification, are permitted provided that the following conditions are met:
* this list of conditions and the following disclaimer. 1. Redistributions of source code must retain the above copyright
* 2. Redistributions in binary form must reproduce the above copyright notice, notice, this list of conditions and the following disclaimer.
* this list of conditions and the following disclaimer in the documentation 2. Redistributions in binary form must reproduce the above copyright
* and/or other materials provided with the distribution. notice, this list of conditions and the following disclaimer in the
* 3. The name of the author may not be used to endorse or promote products documentation and/or other materials provided with the distribution.
* derived from this software without specific prior written permission. 3. Neither the name of the copyright holders nor the
* names of its contributors may be used to endorse or promote products
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED derived from this software without specific prior written permission.
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
* OF SUCH DAMAGE. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
* This file is part of the tinyUSB stack. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "errors.h" #include "errors.h"

View File

@@ -1,39 +1,40 @@
/* /**************************************************************************/
* fifo.c /*!
* @file fifo.c
* Created on: Nov 27, 2012 @author hathach (tinyusb.org)
* Author: hathach
*/
/* @section LICENSE
* Software License Agreement (BSD License)
* Copyright (c) 2013, hathach (tinyusb.org) Software License Agreement (BSD License)
* All rights reserved.
* Copyright (c) 2013, hathach (tinyusb.org)
* Redistribution and use in source and binary forms, with or without modification, All rights reserved.
* are permitted provided that the following conditions are met:
* Redistribution and use in source and binary forms, with or without
* 1. Redistributions of source code must retain the above copyright notice, modification, are permitted provided that the following conditions are met:
* this list of conditions and the following disclaimer. 1. Redistributions of source code must retain the above copyright
* 2. Redistributions in binary form must reproduce the above copyright notice, notice, this list of conditions and the following disclaimer.
* this list of conditions and the following disclaimer in the documentation 2. Redistributions in binary form must reproduce the above copyright
* and/or other materials provided with the distribution. notice, this list of conditions and the following disclaimer in the
* 3. The name of the author may not be used to endorse or promote products documentation and/or other materials provided with the distribution.
* derived from this software without specific prior written permission. 3. Neither the name of the copyright holders nor the
* names of its contributors may be used to endorse or promote products
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED derived from this software without specific prior written permission.
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
* OF SUCH DAMAGE. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
* This file is part of the tinyUSB stack. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "fifo.h" #include "fifo.h"

View File

@@ -1,39 +1,40 @@
/* /**************************************************************************/
* dcd.c /*!
* @file dcd.c
* Created on: Nov 27, 2012 @author hathach (tinyusb.org)
* Author: hathach
*/
/* @section LICENSE
* Software License Agreement (BSD License)
* Copyright (c) 2013, hathach (tinyusb.org) Software License Agreement (BSD License)
* All rights reserved.
* Copyright (c) 2013, hathach (tinyusb.org)
* Redistribution and use in source and binary forms, with or without modification, All rights reserved.
* are permitted provided that the following conditions are met:
* Redistribution and use in source and binary forms, with or without
* 1. Redistributions of source code must retain the above copyright notice, modification, are permitted provided that the following conditions are met:
* this list of conditions and the following disclaimer. 1. Redistributions of source code must retain the above copyright
* 2. Redistributions in binary form must reproduce the above copyright notice, notice, this list of conditions and the following disclaimer.
* this list of conditions and the following disclaimer in the documentation 2. Redistributions in binary form must reproduce the above copyright
* and/or other materials provided with the distribution. notice, this list of conditions and the following disclaimer in the
* 3. The name of the author may not be used to endorse or promote products documentation and/or other materials provided with the distribution.
* derived from this software without specific prior written permission. 3. Neither the name of the copyright holders nor the
* names of its contributors may be used to endorse or promote products
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED derived from this software without specific prior written permission.
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
* OF SUCH DAMAGE. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
* This file is part of the tinyUSB stack. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "dcd.h" #include "dcd.h"

View File

@@ -1,39 +1,40 @@
/* /**************************************************************************/
* hcd.c /*!
* @file hcd.c
* Created on: Nov 29, 2012 @author hathach (tinyusb.org)
* Author: hathach
*/
/* @section LICENSE
* Software License Agreement (BSD License)
* Copyright (c) 2013, hathach (tinyusb.org) Software License Agreement (BSD License)
* All rights reserved.
* Copyright (c) 2013, hathach (tinyusb.org)
* Redistribution and use in source and binary forms, with or without modification, All rights reserved.
* are permitted provided that the following conditions are met:
* Redistribution and use in source and binary forms, with or without
* 1. Redistributions of source code must retain the above copyright notice, modification, are permitted provided that the following conditions are met:
* this list of conditions and the following disclaimer. 1. Redistributions of source code must retain the above copyright
* 2. Redistributions in binary form must reproduce the above copyright notice, notice, this list of conditions and the following disclaimer.
* this list of conditions and the following disclaimer in the documentation 2. Redistributions in binary form must reproduce the above copyright
* and/or other materials provided with the distribution. notice, this list of conditions and the following disclaimer in the
* 3. The name of the author may not be used to endorse or promote products documentation and/or other materials provided with the distribution.
* derived from this software without specific prior written permission. 3. Neither the name of the copyright holders nor the
* names of its contributors may be used to endorse or promote products
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED derived from this software without specific prior written permission.
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
* OF SUCH DAMAGE. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
* This file is part of the tinyUSB stack. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "hcd.h" #include "hcd.h"

View File

@@ -1,39 +1,40 @@
/* /**************************************************************************/
* tusb.c /*!
* @file tusb.c
* Created on: Nov 27, 2012 @author hathach (tinyusb.org)
* Author: hathach
*/
/* @section LICENSE
* Software License Agreement (BSD License)
* Copyright (c) 2013, hathach (tinyusb.org) Software License Agreement (BSD License)
* All rights reserved.
* Copyright (c) 2013, hathach (tinyusb.org)
* Redistribution and use in source and binary forms, with or without modification, All rights reserved.
* are permitted provided that the following conditions are met:
* Redistribution and use in source and binary forms, with or without
* 1. Redistributions of source code must retain the above copyright notice, modification, are permitted provided that the following conditions are met:
* this list of conditions and the following disclaimer. 1. Redistributions of source code must retain the above copyright
* 2. Redistributions in binary form must reproduce the above copyright notice, notice, this list of conditions and the following disclaimer.
* this list of conditions and the following disclaimer in the documentation 2. Redistributions in binary form must reproduce the above copyright
* and/or other materials provided with the distribution. notice, this list of conditions and the following disclaimer in the
* 3. The name of the author may not be used to endorse or promote products documentation and/or other materials provided with the distribution.
* derived from this software without specific prior written permission. 3. Neither the name of the copyright holders nor the
* names of its contributors may be used to endorse or promote products
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED derived from this software without specific prior written permission.
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
* OF SUCH DAMAGE. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
* This file is part of the tinyUSB stack. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#define _TINY_USB_SOURCE_FILE_ #define _TINY_USB_SOURCE_FILE_