change some license text

This commit is contained in:
hathach 2013-07-03 13:14:14 +07:00
parent 4a8686e868
commit 51e9a1817b
7 changed files with 218 additions and 211 deletions

View File

@ -1,39 +1,40 @@
/* /**************************************************************************/
* compiler.h /*!
* @file compiler.h
* Created on: Nov 26, 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.
*/
/**************************************************************************/
/** \file /** \file
* \brief Compiler Header * \brief Compiler Header

View File

@ -1,39 +1,40 @@
/* /**************************************************************************/
* compiler_gcc.h /*!
* @file compiler_gcc.h
* Created on: Nov 26, 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.
*/
/**************************************************************************/
/** \file /** \file
* \brief GCC Header * \brief GCC Header

View File

@ -1,39 +1,40 @@
/* /**************************************************************************/
* fifo.h /*!
* @file fifo.h
* 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.
*/
/**************************************************************************/
/** \file /** \file
* \brief Error Header * \brief Error Header

View File

@ -1,39 +1,40 @@
/* /**************************************************************************/
* dcd.h /*!
* @file dcd.h
* Created on: Nov 26, 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.
*/
/**************************************************************************/
/** \file /** \file
* \brief Device Controller Driver * \brief Device Controller Driver

View File

@ -1,39 +1,40 @@
/* /**************************************************************************/
* hcd.h /*!
* @file hcd.h
* Created on: Nov 26, 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.
*/
/**************************************************************************/
/** \file /** \file
* \brief Host Controller Driver * \brief Host Controller Driver

View File

@ -1,39 +1,40 @@
/* /**************************************************************************/
* tusb.h /*!
* @file tusb.h
* 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.
*/
/**************************************************************************/
/** \file /** \file
* \brief Tiny USB header * \brief Tiny USB header

View File

@ -102,7 +102,8 @@
// COMMON OPTIONS // COMMON OPTIONS
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// level 3: ATTR_ALWAYS_INLINE is null, // level 3: ATTR_ALWAYS_INLINE is null, ASSERT has text, Error has its String
// level 2: ATTR_ALWAYS_INLINE is attribute, ASSERT has no text, Error has no strings
/// 0: no debug information 3: most debug information provided /// 0: no debug information 3: most debug information provided
#ifndef TUSB_CFG_DEBUG #ifndef TUSB_CFG_DEBUG
#define TUSB_CFG_DEBUG 3 #define TUSB_CFG_DEBUG 3