migrate license from BSD 3 clause to MIT

This commit is contained in:
hathach 2019-03-20 16:11:42 +07:00
parent 4647ad8136
commit c211ee19dd
173 changed files with 4281 additions and 6341 deletions

40
LICENSE
View File

@ -1,29 +1,21 @@
BSD 3-Clause License The MIT License (MIT)
Copyright (c) 2018, hathach (tinyusb.org) Copyright (c) 2018, hathach (tinyusb.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without Permission is hereby granted, free of charge, to any person obtaining a copy
modification, are permitted provided that the following conditions are met: of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
* Redistributions of source code must retain the above copyright notice, this The above copyright notice and this permission notice shall be included in
list of conditions and the following disclaimer. all copies or substantial portions of the Software.
* Redistributions in binary form must reproduce the above copyright notice, THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
this list of conditions and the following disclaimer in the documentation IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
and/or other materials provided with the distribution. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* Neither the name of the copyright holder nor the names of its LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
contributors may be used to endorse or promote products derived from OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
this software without specific prior written permission. THE SOFTWARE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND 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 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -75,4 +75,4 @@ Want to help add TinyUSB support for a new MCU? Read [here](docs/porting.md) for
## License ## License
BSD license for all tinyusb sources [Full license is here](tinyusb/license.md) and most of the code base. However each file/folder is individually licensed especially those in `lib` and `hw/mcu` folder. Please make sure you understand all the license term for files you use in your project. MIT license for all tinyusb sources [Full license is here](tinyusb/license.md) and most of the code base. However each file/folder is individually licensed especially those in `lib` and `hw/mcu` folder. Please make sure you understand all the license term for files you use in your project.

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file main.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_app.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/ */
/**************************************************************************/
#include "bsp/board.h" #include "bsp/board.h"
#include "tusb.h" #include "tusb.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_disk_ram.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/ */
/**************************************************************************/
#include "bsp/board.h" #include "bsp/board.h"
#include "tusb.h" #include "tusb.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_config.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_CONFIG_H_ #ifndef _TUSB_CONFIG_H_
#define _TUSB_CONFIG_H_ #define _TUSB_CONFIG_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_descriptors.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb.h" #include "tusb.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file main.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// INCLUDE // INCLUDE

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_app.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/ */
/**************************************************************************/
#include "bsp/board.h" #include "bsp/board.h"
#include "tusb.h" #include "tusb.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_device_ramdisk.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "bsp/board.h" #include "bsp/board.h"
#include "tusb.h" #include "tusb.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_config.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_CONFIG_H_ #ifndef _TUSB_CONFIG_H_
#define _TUSB_CONFIG_H_ #define _TUSB_CONFIG_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_descriptors.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb.h" #include "tusb.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file main.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_app.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb.h" #include "tusb.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_config.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_CONFIG_H_ #ifndef _TUSB_CONFIG_H_
#define _TUSB_CONFIG_H_ #define _TUSB_CONFIG_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file app_os_prio.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup TBD /** \ingroup TBD
* \defgroup TBD * \defgroup TBD

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_serial_host_app.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "cdc_serial_host_app.h" #include "cdc_serial_host_app.h"
#include "app_os_prio.h" #include "app_os_prio.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_serial_host_app.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup TBD /** \ingroup TBD
* \defgroup TBD * \defgroup TBD

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file keyboard_host_app.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// INCLUDE // INCLUDE

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file keyboard_host_app.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \file /** \file
* \brief TBD * \brief TBD

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file main.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// INCLUDE // INCLUDE

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file mouse_host_app.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// INCLUDE // INCLUDE

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file mouse_host_app.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \file /** \file
* \brief TBD * \brief TBD

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_cli.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "msc_cli.h" #include "msc_cli.h"
#include "ctype.h" #include "ctype.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_cli.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_MSC_CLI_H_ #ifndef _TUSB_MSC_CLI_H_
#define _TUSB_MSC_CLI_H_ #define _TUSB_MSC_CLI_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_host_app.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// INCLUDE // INCLUDE

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_host_app.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup TBD /** \ingroup TBD
* \defgroup TBD * \defgroup TBD

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file rndis_host_app.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "rndis_host_app.h" #include "rndis_host_app.h"
#include "app_os_prio.h" #include "app_os_prio.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file rndis_host_app.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup TBD /** \ingroup TBD
* \defgroup TBD * \defgroup TBD

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_config.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_CONFIG_H_ #ifndef _TUSB_CONFIG_H_
#define _TUSB_CONFIG_H_ #define _TUSB_CONFIG_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file ansi_esc_code.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_board /** \ingroup group_board
* \defgroup group_ansi_esc ANSI Esacpe Code * \defgroup group_ansi_esc ANSI Esacpe Code

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_demo /** \ingroup group_demo
* \defgroup group_board Boards Abstraction Layer * \defgroup group_board Boards Abstraction Layer

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_ea4088qs.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifdef BOARD_EA4088QS #ifdef BOARD_EA4088QS

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_ea4088qs.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef BOARD_EA4088QS_H_ #ifndef BOARD_EA4088QS_H_
#define BOARD_EA4088QS_H_ #define BOARD_EA4088QS_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_ea4357.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifdef BOARD_EA4357 #ifdef BOARD_EA4357

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_ea4357.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_BOARD_EA4357_H_ #ifndef _TUSB_BOARD_EA4357_H_
#define _TUSB_BOARD_EA4357_H_ #define _TUSB_BOARD_EA4357_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_rf1ghznode.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifdef BOARD_LPCXPRESSO11U68 #ifdef BOARD_LPCXPRESSO11U68

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_lpcxpresso11u68.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_BOARD_LPCXPRESSO11U68_H_ #ifndef _TUSB_BOARD_LPCXPRESSO11U68_H_
#define _TUSB_BOARD_LPCXPRESSO11U68_H_ #define _TUSB_BOARD_LPCXPRESSO11U68_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_lpcexpresso1347.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifdef BOARD_LPCXPRESSO1347 #ifdef BOARD_LPCXPRESSO1347

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_lpcxpresso1347.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_BOARD_LPCXPRESSO1347_H_ #ifndef _TUSB_BOARD_LPCXPRESSO1347_H_
#define _TUSB_BOARD_LPCXPRESSO1347_H_ #define _TUSB_BOARD_LPCXPRESSO1347_H_

View File

@ -1,41 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_lpcxpresso1769.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifdef BOARD_LPCXPRESSO1769 #ifdef BOARD_LPCXPRESSO1769

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_lpcxpresso1769.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_BOARD_LPCXPRESSO1769_H_ #ifndef _TUSB_BOARD_LPCXPRESSO1769_H_
#define _TUSB_BOARD_LPCXPRESSO1769_H_ #define _TUSB_BOARD_LPCXPRESSO1769_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_mcb1800.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifdef BOARD_MCB1800 #ifdef BOARD_MCB1800

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_mcb1800.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef BOARD_MCB1800_H_ #ifndef BOARD_MCB1800_H_
#define BOARD_MCB1800_H_ #define BOARD_MCB1800_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_metro_m4_express.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "bsp/board.h" #include "bsp/board.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_metro_m0_express.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef BOARD_METRO_M0_EXPRESS_H_ #ifndef BOARD_METRO_M0_EXPRESS_H_
#define BOARD_METRO_M0_EXPRESS_H_ #define BOARD_METRO_M0_EXPRESS_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_metro_m4_express.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "bsp/board.h" #include "bsp/board.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_metro_m4_express.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef BOARD_METRO_M4_EXPRESS_H_ #ifndef BOARD_METRO_M4_EXPRESS_H_
#define BOARD_METRO_M4_EXPRESS_H_ #define BOARD_METRO_M4_EXPRESS_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_pca10056.c *
@author hathach * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifdef BOARD_PCA10056 #ifdef BOARD_PCA10056
#include "bsp/board.h" #include "bsp/board.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_pca10056.h *
@author hathach * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef BOARD_PCA10056_H_ #ifndef BOARD_PCA10056_H_
#define BOARD_PCA10056_H_ #define BOARD_PCA10056_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file printf_retarget.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "board.h" #include "board.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_metro_m4_express.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "bsp/board.h" #include "bsp/board.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file board_metro_m4_express.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef BOARD_STM32F407G_DISC1_H_ #ifndef BOARD_STM32F407G_DISC1_H_
#define BOARD_STM32F407G_DISC1_H_ #define BOARD_STM32F407G_DISC1_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file freertos_hook.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2014, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// INCLUDE // INCLUDE

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file diskio.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb.h" #include "tusb.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_class /** \ingroup group_class
* \defgroup ClassDriver_Audio Audio * \defgroup ClassDriver_Audio Audio

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_class /** \ingroup group_class
* \defgroup ClassDriver_CDC Communication Device Class (CDC) * \defgroup ClassDriver_CDC Communication Device Class (CDC)

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_device.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_device.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_CDC_DEVICE_H_ #ifndef _TUSB_CDC_DEVICE_H_
#define _TUSB_CDC_DEVICE_H_ #define _TUSB_CDC_DEVICE_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_host.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,41 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_host.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_CDC_HOST_H_ #ifndef _TUSB_CDC_HOST_H_
#define _TUSB_CDC_HOST_H_ #define _TUSB_CDC_HOST_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_rndis.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup ClassDriver_CDC Communication Device Class (CDC) /** \ingroup ClassDriver_CDC Communication Device Class (CDC)
* \defgroup CDC_RNDIS Remote Network Driver Interface Specification (RNDIS) * \defgroup CDC_RNDIS Remote Network Driver Interface Specification (RNDIS)

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_rndis_host.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_rndis_host.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup CDC_RNDIS /** \ingroup CDC_RNDIS
* \defgroup CDC_RNSID_Host Host * \defgroup CDC_RNSID_Host Host

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file custom_device.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file custom_device.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_CUSTOM_DEVICE_H_ #ifndef _TUSB_CUSTOM_DEVICE_H_
#define _TUSB_CUSTOM_DEVICE_H_ #define _TUSB_CUSTOM_DEVICE_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file custom_host.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file custom_host.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_class /** \ingroup group_class
* \defgroup Group_Custom Custom Class (not supported yet) * \defgroup Group_Custom Custom Class (not supported yet)

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file hid.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_class /** \ingroup group_class
* \defgroup ClassDriver_HID Human Interface Device (HID) * \defgroup ClassDriver_HID Human Interface Device (HID)

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file hid_device.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file hid_device.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_HID_DEVICE_H_ #ifndef _TUSB_HID_DEVICE_H_
#define _TUSB_HID_DEVICE_H_ #define _TUSB_HID_DEVICE_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file hid_host.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file hid_host.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \addtogroup ClassDriver_HID /** \addtogroup ClassDriver_HID
* @{ */ * @{ */

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_class /** \ingroup group_class
* \defgroup ClassDriver_CDC Communication Device Class (CDC) * \defgroup ClassDriver_CDC Communication Device Class (CDC)

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file cdc_device.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file midi_device.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_MIDI_DEVICE_H_ #ifndef _TUSB_MIDI_DEVICE_H_
#define _TUSB_MIDI_DEVICE_H_ #define _TUSB_MIDI_DEVICE_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_class /** \ingroup group_class
* \defgroup ClassDriver_MSC MassStorage (MSC) * \defgroup ClassDriver_MSC MassStorage (MSC)

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_device.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_device.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_MSC_DEVICE_H_ #ifndef _TUSB_MSC_DEVICE_H_
#define _TUSB_MSC_DEVICE_H_ #define _TUSB_MSC_DEVICE_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_host.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file msc_host.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_MSC_HOST_H_ #ifndef _TUSB_MSC_HOST_H_
#define _TUSB_MSC_HOST_H_ #define _TUSB_MSC_HOST_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_compiler_gcc.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup Group_Compiler /** \ingroup Group_Compiler
* \defgroup Group_GCC GNU GCC * \defgroup Group_GCC GNU GCC

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_compiler_iar.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef _TUSB_COMPILER_IAR_H_ #ifndef _TUSB_COMPILER_IAR_H_
#define _TUSB_COMPILER_IAR_H_ #define _TUSB_COMPILER_IAR_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_common.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup Group_Common /** \ingroup Group_Common
* \defgroup Group_CommonH common.h * \defgroup Group_CommonH common.h

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file compiler.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup Group_Common /** \ingroup Group_Common
* \defgroup Group_Compiler Compiler * \defgroup Group_Compiler Compiler

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_error.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup Group_Common /** \ingroup Group_Common
* \defgroup Group_Error Error Codes * \defgroup Group_Error Error Codes

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_fifo.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/ */
/**************************************************************************/
#include <string.h> #include <string.h>

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_fifo.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup Group_Common /** \ingroup Group_Common
* \defgroup group_fifo fifo * \defgroup group_fifo fifo

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_timeout.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup Group_Common Common Files /** \ingroup Group_Common Common Files
* \defgroup Group_TimeoutTimer timeout timer * \defgroup Group_TimeoutTimer timeout timer

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file tusb_types.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_usb_definitions /** \ingroup group_usb_definitions
* \defgroup USBDef_Type USB Types * \defgroup USBDef_Type USB Types

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file verify.h *
@author hathach * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef TUSB_VERIFY_H_ #ifndef TUSB_VERIFY_H_
#define TUSB_VERIFY_H_ #define TUSB_VERIFY_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file dcd.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_usbd /** \ingroup group_usbd
* \defgroup group_dcd Device Controller Driver (DCD) * \defgroup group_dcd Device Controller Driver (DCD)

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file usbd.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file usbd.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_usbd /** \ingroup group_usbd
* @{ */ * @{ */

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file usbd_auto_desc.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file usbd_control.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "tusb_option.h" #include "tusb_option.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file usbd_pvt.h *
@author hathach * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2018, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#ifndef USBD_PVT_H_ #ifndef USBD_PVT_H_
#define USBD_PVT_H_ #define USBD_PVT_H_

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file ehci.c *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
#include "common/tusb_common.h" #include "common/tusb_common.h"

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file ehci.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup Group_HCD /** \ingroup Group_HCD
* @{ * @{

View File

@ -1,40 +1,28 @@
/**************************************************************************/ /*
/*! * The MIT License (MIT)
@file hcd.h *
@author hathach (tinyusb.org) * Copyright (c) 2018, hathach (tinyusb.org)
*
@section LICENSE * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Software License Agreement (BSD License) * in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Copyright (c) 2013, hathach (tinyusb.org) * copies of the Software, and to permit persons to whom the Software is
All rights reserved. * furnished to do so, subject to the following conditions:
*
Redistribution and use in source and binary forms, with or without * The above copyright notice and this permission notice shall be included in
modification, are permitted provided that the following conditions are met: * all copies or substantial portions of the Software.
1. Redistributions of source code must retain the above copyright *
notice, this list of conditions and the following disclaimer. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2. Redistributions in binary form must reproduce the above copyright * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
notice, this list of conditions and the following disclaimer in the * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
documentation and/or other materials provided with the distribution. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3. Neither the name of the copyright holders nor the * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
names of its contributors may be used to endorse or promote products * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
derived from this software without specific prior written permission. * THE SOFTWARE.
*
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY * This file is part of the TinyUSB stack.
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED */
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND
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
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.
*/
/**************************************************************************/
/** \ingroup group_usbh /** \ingroup group_usbh
* \defgroup Group_HCD Host Controller Driver (HCD) * \defgroup Group_HCD Host Controller Driver (HCD)

Some files were not shown because too many files have changed in this diff Show More