diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fe31025a..a796b2cf 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,7 +6,8 @@ lib_xua Change Log * RESOLVED: Configurations where I2S_CHANS_DAC and I2S_CHANS_ADC are both 0 now build - * RESOLVED: Deadlock in mixer when MAX_MIX_COUNT > 0 for larger channel counts + * RESOLVED: Deadlock in mixer when MAX_MIX_COUNT > 0 for larger channel + counts * Changes to dependencies: diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 00000000..d26bf69d --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,135 @@ +Software Release License Agreement + +Copyright (c) 2011-2018, XMOS, All rights reserved. + +BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software. + +Parties: + +(1) XMOS Limited, incorporated and registered in England and Wales with company number 5494985 whose registered office is 107 Cheapside, London, EC2V 6DN (XMOS). + +(2) An individual or legal entity exercising permissions granted by this License (Customer). + +If you are entering into this Agreement on behalf of another legal entity such as a company, partnership, university, college etc. (for example, as an employee, student or consultant), you warrant that you have authority to bind that entity. + +1. Definitions + +"License" means this Software License and any schedules or annexes to it. + +"License Fee" means the fee for the XMOS Software as detailed in any schedules or annexes to this Software License + +"Licensee Modifications" means all developments and modifications of the XMOS Software developed independently by the Customer. + +"XMOS Modifications" means all developments and modifications of the XMOS Software developed or co-developed by XMOS. + +"XMOS Hardware" means any XMOS hardware devices supplied by XMOS from time to time and/or the particular XMOS devices detailed in any schedules or annexes to this Software License. + +"XMOS Software" comprises the XMOS owned circuit designs, schematics, source code, object code, reference designs, (including related programmer comments and documentation, if any), error corrections, improvements, modifications (including XMOS Modifications) and updates. + +The headings in this License do not affect its interpretation. Save where the context otherwise requires, references to clauses and schedules are to clauses and schedules of this License. + +Unless the context otherwise requires: + +- references to XMOS and the Customer include their permitted successors and assigns; +- references to statutory provisions include those statutory provisions as amended or re-enacted; and +- references to any gender include all genders. + +Words in the singular include the plural and in the plural include the singular. + +2. License + +XMOS grants the Customer a non-exclusive license to use, develop, modify and distribute the XMOS Software with, or for the purpose of being used with, XMOS Hardware. + +Open Source Software (OSS) must be used and dealt with in accordance with any license terms under which OSS is distributed. + +3. Consideration + +In consideration of the mutual obligations contained in this License, the parties agree to its terms. + +4. Term + +Subject to clause 12 below, this License shall be perpetual. + +5. Restrictions on Use + +The Customer will adhere to all applicable import and export laws and regulations of the country in which it resides and of the United States and United Kingdom, without limitation. The Customer agrees that it is its responsibility to obtain copies of and to familiarise itself fully with these laws and regulations to avoid violation. + +6. Modifications + +The Customer will own all intellectual property rights in the Licensee Modifications but will undertake to provide XMOS with any fixes made to correct any bugs found in the XMOS Software on a non-exclusive, perpetual and royalty free license basis. + +XMOS will own all intellectual property rights in the XMOS Modifications. +The Customer may only use the Licensee Modifications and XMOS Modifications on, or in relation to, XMOS Hardware. + +7. Support + +Support of the XMOS Software may be provided by XMOS pursuant to a separate support agreement. + +8. Warranty and Disclaimer + +The XMOS Software is provided "AS IS" without a warranty of any kind. XMOS and its licensors' entire liability and Customer's exclusive remedy under this warranty to be determined in XMOS's sole and absolute discretion, will be either (a) the corrections of defects in media or replacement of the media, or (b) the refund of the license fee paid (if any). + +Whilst XMOS gives the Customer the ability to load their own software and applications onto XMOS devices, the security of such software and applications when on the XMOS devices is the Customer's own responsibility and any breach of security shall not be deemed a defect or failure of the hardware. XMOS shall have no liability whatsoever in relation to any costs, damages or other losses Customer may incur as a result of any breaches of security in relation to your software or applications. + +XMOS AND ITS LICENSORS DISCLAIM ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY/ SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID UNDER APPLICABLE LAW. + +9. High Risk Activities + +The XMOS Software is not designed or intended for use in conjunction with on-line control equipment in hazardous environments requiring fail-safe performance, including without limitation the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, life support machines, or weapons systems (collectively "High Risk Activities") in which the failure of the XMOS Software could lead directly to death, personal injury, or severe physical or environmental damage. XMOS and its licensors specifically disclaim any express or implied warranties relating to use of the XMOS Software in connection with High Risk Activities. + +10. Liability + +TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, NEITHER XMOS NOR ITS LICENSORS SHALL BE LIABLE FOR ANY LOST REVENUE, BUSINESS, PROFIT, CONTRACTS OR DATA, ADMINISTRATIVE OR OVERHEAD EXPENSES, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THEORY OF LIABILITY ARISING OUT OF THIS LICENSE, EVEN IF XMOS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event shall XMOS's liability to the Customer whether in contract, tort (including negligence), or otherwise exceed the License Fee. + +Customer agrees to indemnify, hold harmless, and defend XMOS and its licensors from and against any claims or lawsuits, including attorneys' fees and any other liabilities, demands, proceedings, damages, losses, costs, expenses fines and charges which are made or brought against or incurred by XMOS as a result of your use or distribution of the Licensee Modifications or your use or distribution of XMOS Software, or any development of it, other than in accordance with the terms of this License. + +11. Ownership + +The copyrights and all other intellectual and industrial property rights for the protection of information with respect to the XMOS Software (including the methods and techniques on which they are based) are retained by XMOS and/or its licensors. Nothing in this Agreement serves to transfer such rights. Customer may not sell, mortgage, underlet, sublease, sublicense, lend or transfer possession of the XMOS Software in any way whatsoever to any third party who is not bound by this Agreement. + +12. Termination + +Either party may terminate this License at any time on written notice to the other if the other: + +- is in material or persistent breach of any of the terms of this License and either that breach is incapable of remedy, or the other party fails to remedy that breach within 30 days after receiving written notice requiring it to remedy that breach; or + +- is unable to pay its debts (within the meaning of section 123 of the Insolvency Act 1986), or becomes insolvent, or is subject to an order or a resolution for its liquidation, administration, winding-up or dissolution (otherwise than for the purposes of a solvent amalgamation or reconstruction), or has an administrative or other receiver, manager, trustee, liquidator, administrator or similar officer appointed over all or any substantial part of its assets, or enters into or proposes any composition or arrangement with its creditors generally, or is subject to any analogous event or proceeding in any applicable jurisdiction. + +Termination by either party in accordance with the rights contained in clause 12 shall be without prejudice to any other rights or remedies of that party accrued prior to termination. + +On termination for any reason: + +- all rights granted to the Customer under this License shall cease; +- the Customer shall cease all activities authorised by this License; +- the Customer shall immediately pay any sums due to XMOS under this License; and +- the Customer shall immediately destroy or return to the XMOS (at the XMOS's option) all copies of the XMOS Software then in its possession, custody or control and, in the case of destruction, certify to XMOS that it has done so. + +Clauses 5, 8, 9, 10 and 11 shall survive any effective termination of this Agreement. + +13. Third party rights + +No term of this License is intended to confer a benefit on, or to be enforceable by, any person who is not a party to this license. + +14. Confidentiality and publicity + +Each party shall, during the term of this License and thereafter, keep confidential all, and shall not use for its own purposes nor without the prior written consent of the other disclose to any third party any, information of a confidential nature (including, without limitation, trade secrets and information of commercial value) which may become known to such party from the other party and which relates to the other party, unless such information is public knowledge or already known to such party at the time of disclosure, or subsequently becomes public knowledge other than by breach of this license, or subsequently comes lawfully into the possession of such party from a third party. + +The terms of this license are confidential and may not be disclosed by the Customer without the prior written consent of XMOS. +The provisions of clause 14 shall remain in full force and effect notwithstanding termination of this license for any reason. + +15. Entire agreement + +This License and the documents annexed as appendices to this License or otherwise referred to herein contain the whole agreement between the parties relating to the subject matter hereof and supersede all prior agreements, arrangements and understandings between the parties relating to that subject matter. + +16. Assignment + +The Customer shall not assign this License or any of the rights granted under it without XMOS's prior written consent. + +17. Governing law and jurisdiction + +This License shall be governed by and construed in accordance with English law and each party hereby submits to the non-exclusive jurisdiction of the English courts. + +This License has been entered into on the date stated at the beginning of it. + +Schedule +XMOS lib_xua software diff --git a/README.rst b/README.rst index 27298af9..9c0d4a97 100644 --- a/README.rst +++ b/README.rst @@ -1,12 +1,18 @@ lib_xua -....... +======= USB Audio Shared Components. For use in the XMOS USB Audio Refererence Designs. Required software (dependencies) -================================ +................................ * lib_logging * lib_xud +Checking dependent libs + +Software version and dependencies +................................. + +.. libdeps:: diff --git a/doc_dfu/LICENSE.txt b/doc_dfu/LICENSE.txt new file mode 100644 index 00000000..9f9fc466 --- /dev/null +++ b/doc_dfu/LICENSE.txt @@ -0,0 +1,135 @@ +Software Release License Agreement + +Copyright (c) 2017-2018, XMOS, All rights reserved. + +BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software. + +Parties: + +(1) XMOS Limited, incorporated and registered in England and Wales with company number 5494985 whose registered office is 107 Cheapside, London, EC2V 6DN (XMOS). + +(2) An individual or legal entity exercising permissions granted by this License (Customer). + +If you are entering into this Agreement on behalf of another legal entity such as a company, partnership, university, college etc. (for example, as an employee, student or consultant), you warrant that you have authority to bind that entity. + +1. Definitions + +"License" means this Software License and any schedules or annexes to it. + +"License Fee" means the fee for the XMOS Software as detailed in any schedules or annexes to this Software License + +"Licensee Modifications" means all developments and modifications of the XMOS Software developed independently by the Customer. + +"XMOS Modifications" means all developments and modifications of the XMOS Software developed or co-developed by XMOS. + +"XMOS Hardware" means any XMOS hardware devices supplied by XMOS from time to time and/or the particular XMOS devices detailed in any schedules or annexes to this Software License. + +"XMOS Software" comprises the XMOS owned circuit designs, schematics, source code, object code, reference designs, (including related programmer comments and documentation, if any), error corrections, improvements, modifications (including XMOS Modifications) and updates. + +The headings in this License do not affect its interpretation. Save where the context otherwise requires, references to clauses and schedules are to clauses and schedules of this License. + +Unless the context otherwise requires: + +- references to XMOS and the Customer include their permitted successors and assigns; +- references to statutory provisions include those statutory provisions as amended or re-enacted; and +- references to any gender include all genders. + +Words in the singular include the plural and in the plural include the singular. + +2. License + +XMOS grants the Customer a non-exclusive license to use, develop, modify and distribute the XMOS Software with, or for the purpose of being used with, XMOS Hardware. + +Open Source Software (OSS) must be used and dealt with in accordance with any license terms under which OSS is distributed. + +3. Consideration + +In consideration of the mutual obligations contained in this License, the parties agree to its terms. + +4. Term + +Subject to clause 12 below, this License shall be perpetual. + +5. Restrictions on Use + +The Customer will adhere to all applicable import and export laws and regulations of the country in which it resides and of the United States and United Kingdom, without limitation. The Customer agrees that it is its responsibility to obtain copies of and to familiarise itself fully with these laws and regulations to avoid violation. + +6. Modifications + +The Customer will own all intellectual property rights in the Licensee Modifications but will undertake to provide XMOS with any fixes made to correct any bugs found in the XMOS Software on a non-exclusive, perpetual and royalty free license basis. + +XMOS will own all intellectual property rights in the XMOS Modifications. +The Customer may only use the Licensee Modifications and XMOS Modifications on, or in relation to, XMOS Hardware. + +7. Support + +Support of the XMOS Software may be provided by XMOS pursuant to a separate support agreement. + +8. Warranty and Disclaimer + +The XMOS Software is provided "AS IS" without a warranty of any kind. XMOS and its licensors' entire liability and Customer's exclusive remedy under this warranty to be determined in XMOS's sole and absolute discretion, will be either (a) the corrections of defects in media or replacement of the media, or (b) the refund of the license fee paid (if any). + +Whilst XMOS gives the Customer the ability to load their own software and applications onto XMOS devices, the security of such software and applications when on the XMOS devices is the Customer's own responsibility and any breach of security shall not be deemed a defect or failure of the hardware. XMOS shall have no liability whatsoever in relation to any costs, damages or other losses Customer may incur as a result of any breaches of security in relation to your software or applications. + +XMOS AND ITS LICENSORS DISCLAIM ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY/ SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID UNDER APPLICABLE LAW. + +9. High Risk Activities + +The XMOS Software is not designed or intended for use in conjunction with on-line control equipment in hazardous environments requiring fail-safe performance, including without limitation the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, life support machines, or weapons systems (collectively "High Risk Activities") in which the failure of the XMOS Software could lead directly to death, personal injury, or severe physical or environmental damage. XMOS and its licensors specifically disclaim any express or implied warranties relating to use of the XMOS Software in connection with High Risk Activities. + +10. Liability + +TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, NEITHER XMOS NOR ITS LICENSORS SHALL BE LIABLE FOR ANY LOST REVENUE, BUSINESS, PROFIT, CONTRACTS OR DATA, ADMINISTRATIVE OR OVERHEAD EXPENSES, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THEORY OF LIABILITY ARISING OUT OF THIS LICENSE, EVEN IF XMOS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event shall XMOS's liability to the Customer whether in contract, tort (including negligence), or otherwise exceed the License Fee. + +Customer agrees to indemnify, hold harmless, and defend XMOS and its licensors from and against any claims or lawsuits, including attorneys' fees and any other liabilities, demands, proceedings, damages, losses, costs, expenses fines and charges which are made or brought against or incurred by XMOS as a result of your use or distribution of the Licensee Modifications or your use or distribution of XMOS Software, or any development of it, other than in accordance with the terms of this License. + +11. Ownership + +The copyrights and all other intellectual and industrial property rights for the protection of information with respect to the XMOS Software (including the methods and techniques on which they are based) are retained by XMOS and/or its licensors. Nothing in this Agreement serves to transfer such rights. Customer may not sell, mortgage, underlet, sublease, sublicense, lend or transfer possession of the XMOS Software in any way whatsoever to any third party who is not bound by this Agreement. + +12. Termination + +Either party may terminate this License at any time on written notice to the other if the other: + +- is in material or persistent breach of any of the terms of this License and either that breach is incapable of remedy, or the other party fails to remedy that breach within 30 days after receiving written notice requiring it to remedy that breach; or + +- is unable to pay its debts (within the meaning of section 123 of the Insolvency Act 1986), or becomes insolvent, or is subject to an order or a resolution for its liquidation, administration, winding-up or dissolution (otherwise than for the purposes of a solvent amalgamation or reconstruction), or has an administrative or other receiver, manager, trustee, liquidator, administrator or similar officer appointed over all or any substantial part of its assets, or enters into or proposes any composition or arrangement with its creditors generally, or is subject to any analogous event or proceeding in any applicable jurisdiction. + +Termination by either party in accordance with the rights contained in clause 12 shall be without prejudice to any other rights or remedies of that party accrued prior to termination. + +On termination for any reason: + +- all rights granted to the Customer under this License shall cease; +- the Customer shall cease all activities authorised by this License; +- the Customer shall immediately pay any sums due to XMOS under this License; and +- the Customer shall immediately destroy or return to the XMOS (at the XMOS's option) all copies of the XMOS Software then in its possession, custody or control and, in the case of destruction, certify to XMOS that it has done so. + +Clauses 5, 8, 9, 10 and 11 shall survive any effective termination of this Agreement. + +13. Third party rights + +No term of this License is intended to confer a benefit on, or to be enforceable by, any person who is not a party to this license. + +14. Confidentiality and publicity + +Each party shall, during the term of this License and thereafter, keep confidential all, and shall not use for its own purposes nor without the prior written consent of the other disclose to any third party any, information of a confidential nature (including, without limitation, trade secrets and information of commercial value) which may become known to such party from the other party and which relates to the other party, unless such information is public knowledge or already known to such party at the time of disclosure, or subsequently becomes public knowledge other than by breach of this license, or subsequently comes lawfully into the possession of such party from a third party. + +The terms of this license are confidential and may not be disclosed by the Customer without the prior written consent of XMOS. +The provisions of clause 14 shall remain in full force and effect notwithstanding termination of this license for any reason. + +15. Entire agreement + +This License and the documents annexed as appendices to this License or otherwise referred to herein contain the whole agreement between the parties relating to the subject matter hereof and supersede all prior agreements, arrangements and understandings between the parties relating to that subject matter. + +16. Assignment + +The Customer shall not assign this License or any of the rights granted under it without XMOS's prior written consent. + +17. Governing law and jurisdiction + +This License shall be governed by and construed in accordance with English law and each party hereby submits to the non-exclusive jurisdiction of the English courts. + +This License has been entered into on the date stated at the beginning of it. + +Schedule +XMOS lib_xua software diff --git a/examples/__app_xua_simple/LICENSE.txt b/examples/__app_xua_simple/LICENSE.txt new file mode 100644 index 00000000..844e2bcc --- /dev/null +++ b/examples/__app_xua_simple/LICENSE.txt @@ -0,0 +1,135 @@ +Software Release License Agreement + +Copyright (c) 2018, XMOS, All rights reserved. + +BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software. + +Parties: + +(1) XMOS Limited, incorporated and registered in England and Wales with company number 5494985 whose registered office is 107 Cheapside, London, EC2V 6DN (XMOS). + +(2) An individual or legal entity exercising permissions granted by this License (Customer). + +If you are entering into this Agreement on behalf of another legal entity such as a company, partnership, university, college etc. (for example, as an employee, student or consultant), you warrant that you have authority to bind that entity. + +1. Definitions + +"License" means this Software License and any schedules or annexes to it. + +"License Fee" means the fee for the XMOS Software as detailed in any schedules or annexes to this Software License + +"Licensee Modifications" means all developments and modifications of the XMOS Software developed independently by the Customer. + +"XMOS Modifications" means all developments and modifications of the XMOS Software developed or co-developed by XMOS. + +"XMOS Hardware" means any XMOS hardware devices supplied by XMOS from time to time and/or the particular XMOS devices detailed in any schedules or annexes to this Software License. + +"XMOS Software" comprises the XMOS owned circuit designs, schematics, source code, object code, reference designs, (including related programmer comments and documentation, if any), error corrections, improvements, modifications (including XMOS Modifications) and updates. + +The headings in this License do not affect its interpretation. Save where the context otherwise requires, references to clauses and schedules are to clauses and schedules of this License. + +Unless the context otherwise requires: + +- references to XMOS and the Customer include their permitted successors and assigns; +- references to statutory provisions include those statutory provisions as amended or re-enacted; and +- references to any gender include all genders. + +Words in the singular include the plural and in the plural include the singular. + +2. License + +XMOS grants the Customer a non-exclusive license to use, develop, modify and distribute the XMOS Software with, or for the purpose of being used with, XMOS Hardware. + +Open Source Software (OSS) must be used and dealt with in accordance with any license terms under which OSS is distributed. + +3. Consideration + +In consideration of the mutual obligations contained in this License, the parties agree to its terms. + +4. Term + +Subject to clause 12 below, this License shall be perpetual. + +5. Restrictions on Use + +The Customer will adhere to all applicable import and export laws and regulations of the country in which it resides and of the United States and United Kingdom, without limitation. The Customer agrees that it is its responsibility to obtain copies of and to familiarise itself fully with these laws and regulations to avoid violation. + +6. Modifications + +The Customer will own all intellectual property rights in the Licensee Modifications but will undertake to provide XMOS with any fixes made to correct any bugs found in the XMOS Software on a non-exclusive, perpetual and royalty free license basis. + +XMOS will own all intellectual property rights in the XMOS Modifications. +The Customer may only use the Licensee Modifications and XMOS Modifications on, or in relation to, XMOS Hardware. + +7. Support + +Support of the XMOS Software may be provided by XMOS pursuant to a separate support agreement. + +8. Warranty and Disclaimer + +The XMOS Software is provided "AS IS" without a warranty of any kind. XMOS and its licensors' entire liability and Customer's exclusive remedy under this warranty to be determined in XMOS's sole and absolute discretion, will be either (a) the corrections of defects in media or replacement of the media, or (b) the refund of the license fee paid (if any). + +Whilst XMOS gives the Customer the ability to load their own software and applications onto XMOS devices, the security of such software and applications when on the XMOS devices is the Customer's own responsibility and any breach of security shall not be deemed a defect or failure of the hardware. XMOS shall have no liability whatsoever in relation to any costs, damages or other losses Customer may incur as a result of any breaches of security in relation to your software or applications. + +XMOS AND ITS LICENSORS DISCLAIM ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY/ SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID UNDER APPLICABLE LAW. + +9. High Risk Activities + +The XMOS Software is not designed or intended for use in conjunction with on-line control equipment in hazardous environments requiring fail-safe performance, including without limitation the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, life support machines, or weapons systems (collectively "High Risk Activities") in which the failure of the XMOS Software could lead directly to death, personal injury, or severe physical or environmental damage. XMOS and its licensors specifically disclaim any express or implied warranties relating to use of the XMOS Software in connection with High Risk Activities. + +10. Liability + +TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, NEITHER XMOS NOR ITS LICENSORS SHALL BE LIABLE FOR ANY LOST REVENUE, BUSINESS, PROFIT, CONTRACTS OR DATA, ADMINISTRATIVE OR OVERHEAD EXPENSES, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THEORY OF LIABILITY ARISING OUT OF THIS LICENSE, EVEN IF XMOS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event shall XMOS's liability to the Customer whether in contract, tort (including negligence), or otherwise exceed the License Fee. + +Customer agrees to indemnify, hold harmless, and defend XMOS and its licensors from and against any claims or lawsuits, including attorneys' fees and any other liabilities, demands, proceedings, damages, losses, costs, expenses fines and charges which are made or brought against or incurred by XMOS as a result of your use or distribution of the Licensee Modifications or your use or distribution of XMOS Software, or any development of it, other than in accordance with the terms of this License. + +11. Ownership + +The copyrights and all other intellectual and industrial property rights for the protection of information with respect to the XMOS Software (including the methods and techniques on which they are based) are retained by XMOS and/or its licensors. Nothing in this Agreement serves to transfer such rights. Customer may not sell, mortgage, underlet, sublease, sublicense, lend or transfer possession of the XMOS Software in any way whatsoever to any third party who is not bound by this Agreement. + +12. Termination + +Either party may terminate this License at any time on written notice to the other if the other: + +- is in material or persistent breach of any of the terms of this License and either that breach is incapable of remedy, or the other party fails to remedy that breach within 30 days after receiving written notice requiring it to remedy that breach; or + +- is unable to pay its debts (within the meaning of section 123 of the Insolvency Act 1986), or becomes insolvent, or is subject to an order or a resolution for its liquidation, administration, winding-up or dissolution (otherwise than for the purposes of a solvent amalgamation or reconstruction), or has an administrative or other receiver, manager, trustee, liquidator, administrator or similar officer appointed over all or any substantial part of its assets, or enters into or proposes any composition or arrangement with its creditors generally, or is subject to any analogous event or proceeding in any applicable jurisdiction. + +Termination by either party in accordance with the rights contained in clause 12 shall be without prejudice to any other rights or remedies of that party accrued prior to termination. + +On termination for any reason: + +- all rights granted to the Customer under this License shall cease; +- the Customer shall cease all activities authorised by this License; +- the Customer shall immediately pay any sums due to XMOS under this License; and +- the Customer shall immediately destroy or return to the XMOS (at the XMOS's option) all copies of the XMOS Software then in its possession, custody or control and, in the case of destruction, certify to XMOS that it has done so. + +Clauses 5, 8, 9, 10 and 11 shall survive any effective termination of this Agreement. + +13. Third party rights + +No term of this License is intended to confer a benefit on, or to be enforceable by, any person who is not a party to this license. + +14. Confidentiality and publicity + +Each party shall, during the term of this License and thereafter, keep confidential all, and shall not use for its own purposes nor without the prior written consent of the other disclose to any third party any, information of a confidential nature (including, without limitation, trade secrets and information of commercial value) which may become known to such party from the other party and which relates to the other party, unless such information is public knowledge or already known to such party at the time of disclosure, or subsequently becomes public knowledge other than by breach of this license, or subsequently comes lawfully into the possession of such party from a third party. + +The terms of this license are confidential and may not be disclosed by the Customer without the prior written consent of XMOS. +The provisions of clause 14 shall remain in full force and effect notwithstanding termination of this license for any reason. + +15. Entire agreement + +This License and the documents annexed as appendices to this License or otherwise referred to herein contain the whole agreement between the parties relating to the subject matter hereof and supersede all prior agreements, arrangements and understandings between the parties relating to that subject matter. + +16. Assignment + +The Customer shall not assign this License or any of the rights granted under it without XMOS's prior written consent. + +17. Governing law and jurisdiction + +This License shall be governed by and construed in accordance with English law and each party hereby submits to the non-exclusive jurisdiction of the English courts. + +This License has been entered into on the date stated at the beginning of it. + +Schedule +XMOS lib_xua software diff --git a/examples/__app_xua_simple/src/app_xua_simple.xc b/examples/__app_xua_simple/src/app_xua_simple.xc index c8e3c676..86476ea7 100644 --- a/examples/__app_xua_simple/src/app_xua_simple.xc +++ b/examples/__app_xua_simple/src/app_xua_simple.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved /* A very simple *example* of a USB audio application (and as such is un-verified for production) * diff --git a/examples/__app_xua_simple/src/cs4384.h b/examples/__app_xua_simple/src/cs4384.h index bb9500d8..98defbe3 100644 --- a/examples/__app_xua_simple/src/cs4384.h +++ b/examples/__app_xua_simple/src/cs4384.h @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved #ifndef CS4384_H_ #define CS4384_H_ diff --git a/examples/__app_xua_simple/src/cs5368.h b/examples/__app_xua_simple/src/cs5368.h index fb1ff91d..945ae536 100644 --- a/examples/__app_xua_simple/src/cs5368.h +++ b/examples/__app_xua_simple/src/cs5368.h @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved #ifndef _CS5368_H_ #define _CS5368_H_ diff --git a/examples/__app_xua_simple/src/hwsupport.xc b/examples/__app_xua_simple/src/hwsupport.xc index 787213e2..ad53b961 100644 --- a/examples/__app_xua_simple/src/hwsupport.xc +++ b/examples/__app_xua_simple/src/hwsupport.xc @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #include #include diff --git a/examples/__app_xua_simple/src/xua_conf.h b/examples/__app_xua_simple/src/xua_conf.h index a2d078c7..7d684fcf 100644 --- a/examples/__app_xua_simple/src/xua_conf.h +++ b/examples/__app_xua_simple/src/xua_conf.h @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved #define NUM_USB_CHAN_OUT 2 #define NUM_USB_CHAN_IN 2 diff --git a/examples/__app_xua_simple/src/xud_conf.h b/examples/__app_xua_simple/src/xud_conf.h index 4a7a99ac..c14d64a8 100644 --- a/examples/__app_xua_simple/src/xud_conf.h +++ b/examples/__app_xua_simple/src/xud_conf.h @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved #include "xua_conf.h" diff --git a/lib_xua/LICENSE.txt b/lib_xua/LICENSE.txt new file mode 100644 index 00000000..9f9fc466 --- /dev/null +++ b/lib_xua/LICENSE.txt @@ -0,0 +1,135 @@ +Software Release License Agreement + +Copyright (c) 2017-2018, XMOS, All rights reserved. + +BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software. + +Parties: + +(1) XMOS Limited, incorporated and registered in England and Wales with company number 5494985 whose registered office is 107 Cheapside, London, EC2V 6DN (XMOS). + +(2) An individual or legal entity exercising permissions granted by this License (Customer). + +If you are entering into this Agreement on behalf of another legal entity such as a company, partnership, university, college etc. (for example, as an employee, student or consultant), you warrant that you have authority to bind that entity. + +1. Definitions + +"License" means this Software License and any schedules or annexes to it. + +"License Fee" means the fee for the XMOS Software as detailed in any schedules or annexes to this Software License + +"Licensee Modifications" means all developments and modifications of the XMOS Software developed independently by the Customer. + +"XMOS Modifications" means all developments and modifications of the XMOS Software developed or co-developed by XMOS. + +"XMOS Hardware" means any XMOS hardware devices supplied by XMOS from time to time and/or the particular XMOS devices detailed in any schedules or annexes to this Software License. + +"XMOS Software" comprises the XMOS owned circuit designs, schematics, source code, object code, reference designs, (including related programmer comments and documentation, if any), error corrections, improvements, modifications (including XMOS Modifications) and updates. + +The headings in this License do not affect its interpretation. Save where the context otherwise requires, references to clauses and schedules are to clauses and schedules of this License. + +Unless the context otherwise requires: + +- references to XMOS and the Customer include their permitted successors and assigns; +- references to statutory provisions include those statutory provisions as amended or re-enacted; and +- references to any gender include all genders. + +Words in the singular include the plural and in the plural include the singular. + +2. License + +XMOS grants the Customer a non-exclusive license to use, develop, modify and distribute the XMOS Software with, or for the purpose of being used with, XMOS Hardware. + +Open Source Software (OSS) must be used and dealt with in accordance with any license terms under which OSS is distributed. + +3. Consideration + +In consideration of the mutual obligations contained in this License, the parties agree to its terms. + +4. Term + +Subject to clause 12 below, this License shall be perpetual. + +5. Restrictions on Use + +The Customer will adhere to all applicable import and export laws and regulations of the country in which it resides and of the United States and United Kingdom, without limitation. The Customer agrees that it is its responsibility to obtain copies of and to familiarise itself fully with these laws and regulations to avoid violation. + +6. Modifications + +The Customer will own all intellectual property rights in the Licensee Modifications but will undertake to provide XMOS with any fixes made to correct any bugs found in the XMOS Software on a non-exclusive, perpetual and royalty free license basis. + +XMOS will own all intellectual property rights in the XMOS Modifications. +The Customer may only use the Licensee Modifications and XMOS Modifications on, or in relation to, XMOS Hardware. + +7. Support + +Support of the XMOS Software may be provided by XMOS pursuant to a separate support agreement. + +8. Warranty and Disclaimer + +The XMOS Software is provided "AS IS" without a warranty of any kind. XMOS and its licensors' entire liability and Customer's exclusive remedy under this warranty to be determined in XMOS's sole and absolute discretion, will be either (a) the corrections of defects in media or replacement of the media, or (b) the refund of the license fee paid (if any). + +Whilst XMOS gives the Customer the ability to load their own software and applications onto XMOS devices, the security of such software and applications when on the XMOS devices is the Customer's own responsibility and any breach of security shall not be deemed a defect or failure of the hardware. XMOS shall have no liability whatsoever in relation to any costs, damages or other losses Customer may incur as a result of any breaches of security in relation to your software or applications. + +XMOS AND ITS LICENSORS DISCLAIM ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY/ SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID UNDER APPLICABLE LAW. + +9. High Risk Activities + +The XMOS Software is not designed or intended for use in conjunction with on-line control equipment in hazardous environments requiring fail-safe performance, including without limitation the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, life support machines, or weapons systems (collectively "High Risk Activities") in which the failure of the XMOS Software could lead directly to death, personal injury, or severe physical or environmental damage. XMOS and its licensors specifically disclaim any express or implied warranties relating to use of the XMOS Software in connection with High Risk Activities. + +10. Liability + +TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, NEITHER XMOS NOR ITS LICENSORS SHALL BE LIABLE FOR ANY LOST REVENUE, BUSINESS, PROFIT, CONTRACTS OR DATA, ADMINISTRATIVE OR OVERHEAD EXPENSES, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THEORY OF LIABILITY ARISING OUT OF THIS LICENSE, EVEN IF XMOS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event shall XMOS's liability to the Customer whether in contract, tort (including negligence), or otherwise exceed the License Fee. + +Customer agrees to indemnify, hold harmless, and defend XMOS and its licensors from and against any claims or lawsuits, including attorneys' fees and any other liabilities, demands, proceedings, damages, losses, costs, expenses fines and charges which are made or brought against or incurred by XMOS as a result of your use or distribution of the Licensee Modifications or your use or distribution of XMOS Software, or any development of it, other than in accordance with the terms of this License. + +11. Ownership + +The copyrights and all other intellectual and industrial property rights for the protection of information with respect to the XMOS Software (including the methods and techniques on which they are based) are retained by XMOS and/or its licensors. Nothing in this Agreement serves to transfer such rights. Customer may not sell, mortgage, underlet, sublease, sublicense, lend or transfer possession of the XMOS Software in any way whatsoever to any third party who is not bound by this Agreement. + +12. Termination + +Either party may terminate this License at any time on written notice to the other if the other: + +- is in material or persistent breach of any of the terms of this License and either that breach is incapable of remedy, or the other party fails to remedy that breach within 30 days after receiving written notice requiring it to remedy that breach; or + +- is unable to pay its debts (within the meaning of section 123 of the Insolvency Act 1986), or becomes insolvent, or is subject to an order or a resolution for its liquidation, administration, winding-up or dissolution (otherwise than for the purposes of a solvent amalgamation or reconstruction), or has an administrative or other receiver, manager, trustee, liquidator, administrator or similar officer appointed over all or any substantial part of its assets, or enters into or proposes any composition or arrangement with its creditors generally, or is subject to any analogous event or proceeding in any applicable jurisdiction. + +Termination by either party in accordance with the rights contained in clause 12 shall be without prejudice to any other rights or remedies of that party accrued prior to termination. + +On termination for any reason: + +- all rights granted to the Customer under this License shall cease; +- the Customer shall cease all activities authorised by this License; +- the Customer shall immediately pay any sums due to XMOS under this License; and +- the Customer shall immediately destroy or return to the XMOS (at the XMOS's option) all copies of the XMOS Software then in its possession, custody or control and, in the case of destruction, certify to XMOS that it has done so. + +Clauses 5, 8, 9, 10 and 11 shall survive any effective termination of this Agreement. + +13. Third party rights + +No term of this License is intended to confer a benefit on, or to be enforceable by, any person who is not a party to this license. + +14. Confidentiality and publicity + +Each party shall, during the term of this License and thereafter, keep confidential all, and shall not use for its own purposes nor without the prior written consent of the other disclose to any third party any, information of a confidential nature (including, without limitation, trade secrets and information of commercial value) which may become known to such party from the other party and which relates to the other party, unless such information is public knowledge or already known to such party at the time of disclosure, or subsequently becomes public knowledge other than by breach of this license, or subsequently comes lawfully into the possession of such party from a third party. + +The terms of this license are confidential and may not be disclosed by the Customer without the prior written consent of XMOS. +The provisions of clause 14 shall remain in full force and effect notwithstanding termination of this license for any reason. + +15. Entire agreement + +This License and the documents annexed as appendices to this License or otherwise referred to herein contain the whole agreement between the parties relating to the subject matter hereof and supersede all prior agreements, arrangements and understandings between the parties relating to that subject matter. + +16. Assignment + +The Customer shall not assign this License or any of the rights granted under it without XMOS's prior written consent. + +17. Governing law and jurisdiction + +This License shall be governed by and construed in accordance with English law and each party hereby submits to the non-exclusive jurisdiction of the English courts. + +This License has been entered into on the date stated at the beginning of it. + +Schedule +XMOS lib_xua software diff --git a/lib_xua/api/xua.h b/lib_xua/api/xua.h index c6b0e265..cb489cdb 100644 --- a/lib_xua/api/xua.h +++ b/lib_xua/api/xua.h @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved #ifndef __XUA_H__ #define __XUA_H__ diff --git a/lib_xua/api/xua_audiohub.h b/lib_xua/api/xua_audiohub.h index cb2c2498..d4eee767 100644 --- a/lib_xua/api/xua_audiohub.h +++ b/lib_xua/api/xua_audiohub.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef __XUA_AUDIOHUB_H__ #define __XUA_AUDIOHUB_H__ diff --git a/lib_xua/api/xua_buffer.h b/lib_xua/api/xua_buffer.h index 7246911e..b35b8ffb 100644 --- a/lib_xua/api/xua_buffer.h +++ b/lib_xua/api/xua_buffer.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef __XUA_BUFFER_H__ #define __XUA_BUFFER_H__ diff --git a/lib_xua/api/xua_conf_default.h b/lib_xua/api/xua_conf_default.h index 926d7a35..aa7e8d03 100644 --- a/lib_xua/api/xua_conf_default.h +++ b/lib_xua/api/xua_conf_default.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved /* * @brief Defines relating to device configuration and customisation of lib_xua * @author Ross Owen, XMOS Limited diff --git a/lib_xua/api/xua_conf_full.h b/lib_xua/api/xua_conf_full.h index c3991e85..16a279cd 100644 --- a/lib_xua/api/xua_conf_full.h +++ b/lib_xua/api/xua_conf_full.h @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved #ifndef __XUA_CONF_FULL_H__ #define __XUA_CONF_FULL_H__ diff --git a/lib_xua/api/xua_endpoint0.h b/lib_xua/api/xua_endpoint0.h index 99332658..ed3ffda2 100644 --- a/lib_xua/api/xua_endpoint0.h +++ b/lib_xua/api/xua_endpoint0.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef _XUA_ENDPOINT0_H_ #define _XUA_ENDPOINT0_H_ diff --git a/lib_xua/doc/rst/index.rst b/lib_xua/doc/rst/index.rst index 92c1579e..3e66a00e 100644 --- a/lib_xua/doc/rst/index.rst +++ b/lib_xua/doc/rst/index.rst @@ -15,3 +15,7 @@ This document assumes familiarity with the XMOS xCORE architecture, the Universal Serial Bus 2.0 Specification (and related specifications), the XMOS tool chain and XC language. +Known Issues +============ + +.. include:: ../../../CHANGELOG.rst diff --git a/lib_xua/src/core/audiohub/dsd_support.h b/lib_xua/src/core/audiohub/dsd_support.h index 6f3ad91c..97b126db 100644 --- a/lib_xua/src/core/audiohub/dsd_support.h +++ b/lib_xua/src/core/audiohub/dsd_support.h @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved #ifndef _DSD_H_ #define _DSD_H_ diff --git a/lib_xua/src/core/audiohub/xua_audiohub.xc b/lib_xua/src/core/audiohub/xua_audiohub.xc index a87f1fe1..296c8bad 100755 --- a/lib_xua/src/core/audiohub/xua_audiohub.xc +++ b/lib_xua/src/core/audiohub/xua_audiohub.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved /** * @file xua_audiohub.xc * @brief XMOS USB 2.0 Audio Reference Design. Audio Functions. diff --git a/lib_xua/src/core/audiohub/xua_buffman_default.c b/lib_xua/src/core/audiohub/xua_buffman_default.c index 811ad82d..eea225ce 100644 --- a/lib_xua/src/core/audiohub/xua_buffman_default.c +++ b/lib_xua/src/core/audiohub/xua_buffman_default.c @@ -1,3 +1,4 @@ +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #include "xccompat.h" #include "xua_audiohub.h" diff --git a/lib_xua/src/core/buffer/decouple/decouple.xc b/lib_xua/src/core/buffer/decouple/decouple.xc index ff65dd1d..5213708e 100644 --- a/lib_xua/src/core/buffer/decouple/decouple.xc +++ b/lib_xua/src/core/buffer/decouple/decouple.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef NO_USB #include #include "xua.h" diff --git a/lib_xua/src/core/buffer/decouple/decouple_interrupt.c b/lib_xua/src/core/buffer/decouple/decouple_interrupt.c index eb75fc13..c6d8ff80 100644 --- a/lib_xua/src/core/buffer/decouple/decouple_interrupt.c +++ b/lib_xua/src/core/buffer/decouple/decouple_interrupt.c @@ -1,3 +1,4 @@ +// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved #ifndef NO_USB #include "interrupt.h" diff --git a/lib_xua/src/core/buffer/decouple/get_adc_counts.c b/lib_xua/src/core/buffer/decouple/get_adc_counts.c index a286c1d1..fb11d3ea 100644 --- a/lib_xua/src/core/buffer/decouple/get_adc_counts.c +++ b/lib_xua/src/core/buffer/decouple/get_adc_counts.c @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef NO_USB #include "xud.h" diff --git a/lib_xua/src/core/buffer/decouple/interrupt.h b/lib_xua/src/core/buffer/decouple/interrupt.h index 477d55e7..ed000b75 100644 --- a/lib_xua/src/core/buffer/decouple/interrupt.h +++ b/lib_xua/src/core/buffer/decouple/interrupt.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef __interrupt_h__ #define __interrupt_h__ diff --git a/lib_xua/src/core/buffer/ep/ep_buffer.xc b/lib_xua/src/core/buffer/ep/ep_buffer.xc index 15ce60e6..cf2b9ba4 100644 --- a/lib_xua/src/core/buffer/ep/ep_buffer.xc +++ b/lib_xua/src/core/buffer/ep/ep_buffer.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef NO_USB #include #include diff --git a/lib_xua/src/core/buffer/ep/testct_byref.h b/lib_xua/src/core/buffer/ep/testct_byref.h index 7f8f87ec..b3b82c1d 100644 --- a/lib_xua/src/core/buffer/ep/testct_byref.h +++ b/lib_xua/src/core/buffer/ep/testct_byref.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved //#pragma select handler #include diff --git a/lib_xua/src/core/buffer/ep/testct_byref.xc b/lib_xua/src/core/buffer/ep/testct_byref.xc index b4239980..a48d3f86 100644 --- a/lib_xua/src/core/buffer/ep/testct_byref.xc +++ b/lib_xua/src/core/buffer/ep/testct_byref.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include /* TODO Currently complier does not support inline select functions, hense this is in a seperate file to ensure this is not the case */ diff --git a/lib_xua/src/core/clocking/clockgen.xc b/lib_xua/src/core/clocking/clockgen.xc index 470d02a9..7fa08f28 100644 --- a/lib_xua/src/core/clocking/clockgen.xc +++ b/lib_xua/src/core/clocking/clockgen.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include #include diff --git a/lib_xua/src/core/clocking/clocking.h b/lib_xua/src/core/clocking/clocking.h index 72237236..39db3796 100644 --- a/lib_xua/src/core/clocking/clocking.h +++ b/lib_xua/src/core/clocking/clocking.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef _CLOCKING_H_ #define _CLOCKING_H_ diff --git a/lib_xua/src/core/endpoint0/chanstrings.h b/lib_xua/src/core/endpoint0/chanstrings.h index 90534998..805af129 100644 --- a/lib_xua/src/core/endpoint0/chanstrings.h +++ b/lib_xua/src/core/endpoint0/chanstrings.h @@ -1,3 +1,4 @@ +// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved /* AUTOGENERATED using chanstringgen.py */ /* Not very nice looking but the standard preprocessor is not very powerful diff --git a/lib_xua/src/core/endpoint0/dbcalc.h b/lib_xua/src/core/endpoint0/dbcalc.h index 81798107..df2f3099 100644 --- a/lib_xua/src/core/endpoint0/dbcalc.h +++ b/lib_xua/src/core/endpoint0/dbcalc.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef __dbcalc_h__ #define __dbcalc_h__ diff --git a/lib_xua/src/core/endpoint0/dbcalc.xc b/lib_xua/src/core/endpoint0/dbcalc.xc index 5b6ea4a2..24e1e903 100644 --- a/lib_xua/src/core/endpoint0/dbcalc.xc +++ b/lib_xua/src/core/endpoint0/dbcalc.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include #include /* The coefficients of the chebychev polynomial to approximate 10^x in the interval [-1,1]. diff --git a/lib_xua/src/core/endpoint0/descriptor_defs.h b/lib_xua/src/core/endpoint0/descriptor_defs.h index 3bc64f4d..1985d910 100644 --- a/lib_xua/src/core/endpoint0/descriptor_defs.h +++ b/lib_xua/src/core/endpoint0/descriptor_defs.h @@ -1,3 +1,4 @@ +// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved #ifndef __DESCRIPTOR_DEFS_H__ #define __DESCRIPTOR_DEFS_H__ diff --git a/lib_xua/src/core/endpoint0/vendorrequests.c b/lib_xua/src/core/endpoint0/vendorrequests.c index b1829f6a..3346ca70 100644 --- a/lib_xua/src/core/endpoint0/vendorrequests.c +++ b/lib_xua/src/core/endpoint0/vendorrequests.c @@ -1,3 +1,4 @@ +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #ifndef NO_USB #include "xud.h" diff --git a/lib_xua/src/core/endpoint0/vendorrequests.h b/lib_xua/src/core/endpoint0/vendorrequests.h index e27285c9..7a52a71d 100644 --- a/lib_xua/src/core/endpoint0/vendorrequests.h +++ b/lib_xua/src/core/endpoint0/vendorrequests.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef _VENDORREQUESTS_H_ #define _VENDORREQUESTS_H_ diff --git a/lib_xua/src/core/endpoint0/xua_endpoint0.c b/lib_xua/src/core/endpoint0/xua_endpoint0.c index 390b6cb3..195c027b 100755 --- a/lib_xua/src/core/endpoint0/xua_endpoint0.c +++ b/lib_xua/src/core/endpoint0/xua_endpoint0.c @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved /** * @brief Implements endpoint zero for an USB Audio 1.0/2.0 device * @author Ross Owen, XMOS Semiconductor diff --git a/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h b/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h index f619902f..36ff8eb7 100644 --- a/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h +++ b/lib_xua/src/core/endpoint0/xua_ep0_descriptors.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved /** * @file descriptors.h * @brief Device Descriptors diff --git a/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.h b/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.h index 98f21360..16d21b47 100644 --- a/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.h +++ b/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.h @@ -1,3 +1,4 @@ +// Copyright (c) 2014-2018, XMOS Ltd, All rights reserved #ifndef _AUDIOREQUESTS_H_ #define _AUDIOREQUESTS_H_ diff --git a/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc b/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc index 0cac6cd5..a70d30c4 100644 --- a/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc +++ b/lib_xua/src/core/endpoint0/xua_ep0_uacreqs.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved /** * @brief Implements relevant requests from the USB Audio 2.0 Specification * @author Ross Owen, XMOS Semiconductor diff --git a/lib_xua/src/core/main.xc b/lib_xua/src/core/main.xc index 09a985c4..43e6b35e 100755 --- a/lib_xua/src/core/main.xc +++ b/lib_xua/src/core/main.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2012-2018, XMOS Ltd, All rights reserved #include "xua.h" /* Device specific defines */ #ifndef EXCLUDE_USB_AUDIO_MAIN diff --git a/lib_xua/src/core/mixer/fastmix.S b/lib_xua/src/core/mixer/fastmix.S index 9ded5fb4..4321b717 100644 --- a/lib_xua/src/core/mixer/fastmix.S +++ b/lib_xua/src/core/mixer/fastmix.S @@ -1,3 +1,4 @@ +// Copyright (c) 2018, XMOS Ltd, All rights reserved //#include "devicedefines.h" #define MAX_MIX_COUNT 8 diff --git a/lib_xua/src/core/mixer/mixer.h b/lib_xua/src/core/mixer/mixer.h index ef04b1dc..05225b40 100644 --- a/lib_xua/src/core/mixer/mixer.h +++ b/lib_xua/src/core/mixer/mixer.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef __mixer_h__ #define __mixer_h__ diff --git a/lib_xua/src/core/mixer/mixer.xc b/lib_xua/src/core/mixer/mixer.xc index c42abfa3..71e305ae 100644 --- a/lib_xua/src/core/mixer/mixer.xc +++ b/lib_xua/src/core/mixer/mixer.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include diff --git a/lib_xua/src/core/mixer/repeat.h b/lib_xua/src/core/mixer/repeat.h index aed640f2..99ec3bea 100644 --- a/lib_xua/src/core/mixer/repeat.h +++ b/lib_xua/src/core/mixer/repeat.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef N #error "N must be defined before including repeat.h" #endif diff --git a/lib_xua/src/core/pdm_mics/mic_array_conf.h b/lib_xua/src/core/pdm_mics/mic_array_conf.h index e29704d8..7f61b82d 100644 --- a/lib_xua/src/core/pdm_mics/mic_array_conf.h +++ b/lib_xua/src/core/pdm_mics/mic_array_conf.h @@ -1,3 +1,4 @@ +// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved #ifndef MIC_ARRAY_CONF_H_ #define MIC_ARRAY_CONF_H_ diff --git a/lib_xua/src/core/pdm_mics/pdm_mic.xc b/lib_xua/src/core/pdm_mics/pdm_mic.xc index db656479..481187c8 100644 --- a/lib_xua/src/core/pdm_mics/pdm_mic.xc +++ b/lib_xua/src/core/pdm_mics/pdm_mic.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved #include "xua.h" diff --git a/lib_xua/src/core/pdm_mics/pdm_mic_user.c b/lib_xua/src/core/pdm_mics/pdm_mic_user.c index 0ede0419..33409e23 100644 --- a/lib_xua/src/core/pdm_mics/pdm_mic_user.c +++ b/lib_xua/src/core/pdm_mics/pdm_mic_user.c @@ -1,3 +1,4 @@ +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #include "xua.h" diff --git a/lib_xua/src/core/pdm_mics/xua_pdm_mic.h b/lib_xua/src/core/pdm_mics/xua_pdm_mic.h index e962c6bb..1dcb983b 100644 --- a/lib_xua/src/core/pdm_mics/xua_pdm_mic.h +++ b/lib_xua/src/core/pdm_mics/xua_pdm_mic.h @@ -1,3 +1,4 @@ +// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved #include "mic_array.h" diff --git a/lib_xua/src/core/ports/audioports.c b/lib_xua/src/core/ports/audioports.c index 19a15993..f97538d3 100644 --- a/lib_xua/src/core/ports/audioports.c +++ b/lib_xua/src/core/ports/audioports.c @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved #include #define __ASSEMBLER__ // Work around for bug #14118 diff --git a/lib_xua/src/core/ports/audioports.h b/lib_xua/src/core/ports/audioports.h index 66a0c400..e207be09 100644 --- a/lib_xua/src/core/ports/audioports.h +++ b/lib_xua/src/core/ports/audioports.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef _AUDIOPORTS_H_ #define _AUDIOPORTS_H_ diff --git a/lib_xua/src/core/ports/audioports.xc b/lib_xua/src/core/ports/audioports.xc index f81d45d1..2f26b9af 100644 --- a/lib_xua/src/core/ports/audioports.xc +++ b/lib_xua/src/core/ports/audioports.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include #include #include diff --git a/lib_xua/src/core/support/powersave/archU_powerSaving.h b/lib_xua/src/core/support/powersave/archU_powerSaving.h index e37371a2..93d436cc 100644 --- a/lib_xua/src/core/support/powersave/archU_powerSaving.h +++ b/lib_xua/src/core/support/powersave/archU_powerSaving.h @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved #ifndef ARCH_U_POWER_SAVING_ #define ARCH_U_POWER_SAVING_ diff --git a/lib_xua/src/core/support/powersave/archU_powerSaving.xc b/lib_xua/src/core/support/powersave/archU_powerSaving.xc index 38712d39..8fea9efd 100644 --- a/lib_xua/src/core/support/powersave/archU_powerSaving.xc +++ b/lib_xua/src/core/support/powersave/archU_powerSaving.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved #if (XUD_SERIES_SUPPORT==1) #include "archU_powerSaving.h" diff --git a/lib_xua/src/core/support/reboot.xc b/lib_xua/src/core/support/reboot.xc index e3bbd1d1..280b0b44 100644 --- a/lib_xua/src/core/support/reboot.xc +++ b/lib_xua/src/core/support/reboot.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include #include #include diff --git a/lib_xua/src/core/support/xc_ptr.h b/lib_xua/src/core/support/xc_ptr.h index b2be0b3d..d662eb8b 100644 --- a/lib_xua/src/core/support/xc_ptr.h +++ b/lib_xua/src/core/support/xc_ptr.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef __xc_ptr__ #define __xc_ptr__ diff --git a/lib_xua/src/core/support/xc_ptr.xc b/lib_xua/src/core/support/xc_ptr.xc index ee7ae963..d337f4d5 100644 --- a/lib_xua/src/core/support/xc_ptr.xc +++ b/lib_xua/src/core/support/xc_ptr.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2012-2018, XMOS Ltd, All rights reserved #include "xc_ptr.h" extern inline xc_ptr array_to_xc_ptr(const unsigned a[]); diff --git a/lib_xua/src/core/uac_hwresources.h b/lib_xua/src/core/uac_hwresources.h index bf3c6c91..83eda797 100644 --- a/lib_xua/src/core/uac_hwresources.h +++ b/lib_xua/src/core/uac_hwresources.h @@ -1,3 +1,4 @@ +// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved #ifndef _UAC_HWRESOURCES_H_ #define _UAC_HWRESOURCES_H_ diff --git a/lib_xua/src/core/user/audiostream/audiostream.c b/lib_xua/src/core/user/audiostream/audiostream.c index 16eb6826..d07491df 100644 --- a/lib_xua/src/core/user/audiostream/audiostream.c +++ b/lib_xua/src/core/user/audiostream/audiostream.c @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved /* Deafult implementations of AudioStreamStop() and AudioStreamStart(). Both can be over-ridden */ void UserAudioStreamStop() __attribute__ ((weak)); diff --git a/lib_xua/src/core/user/audiostream/audiostream.h b/lib_xua/src/core/user/audiostream/audiostream.h index 1eb9ed5f..60942914 100644 --- a/lib_xua/src/core/user/audiostream/audiostream.h +++ b/lib_xua/src/core/user/audiostream/audiostream.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef _AUDIOSTREAM_H_ #define _AUDIOSTREAM_H_ diff --git a/lib_xua/src/core/user/hostactive/hostactive.c b/lib_xua/src/core/user/hostactive/hostactive.c index b8bd33ec..6e0a91e6 100644 --- a/lib_xua/src/core/user/hostactive/hostactive.c +++ b/lib_xua/src/core/user/hostactive/hostactive.c @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved void UserHostActive(int active) __attribute__ ((weak)); void UserHostActive(int active) diff --git a/lib_xua/src/core/user/hostactive/hostactive.h b/lib_xua/src/core/user/hostactive/hostactive.h index 378848d3..afa1c139 100644 --- a/lib_xua/src/core/user/hostactive/hostactive.h +++ b/lib_xua/src/core/user/hostactive/hostactive.h @@ -1,2 +1,3 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved void UserHostActive(int active); diff --git a/lib_xua/src/core/user/user_hid.h b/lib_xua/src/core/user/user_hid.h index 3b59123a..b2530d0f 100644 --- a/lib_xua/src/core/user/user_hid.h +++ b/lib_xua/src/core/user/user_hid.h @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved /* These defines relate to the HID report desc - do not mod */ diff --git a/lib_xua/src/core/warnings.xc b/lib_xua/src/core/warnings.xc index 0a72fb0d..452a2165 100644 --- a/lib_xua/src/core/warnings.xc +++ b/lib_xua/src/core/warnings.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved /* Warnings relating to configuration defines located in this XC source file rather than the devicedefines.h header file in order to avoid multiple warnings being issued when the devicedefines.h header file is included in multiple files. diff --git a/lib_xua/src/core/xua_commands.h b/lib_xua/src/core/xua_commands.h index 815ed30d..ce73b2fc 100644 --- a/lib_xua/src/core/xua_commands.h +++ b/lib_xua/src/core/xua_commands.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef __XUA_INTERNAL_CMDS_H__ #define __XUA_INTERNAL_CMDS_H__ diff --git a/lib_xua/src/core/xuduser/xuduser.c b/lib_xua/src/core/xuduser/xuduser.c index dfaa21c7..4393530d 100644 --- a/lib_xua/src/core/xuduser/xuduser.c +++ b/lib_xua/src/core/xuduser/xuduser.c @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved #ifndef NO_USB #include "xua.h" #include "hostactive.h" diff --git a/lib_xua/src/dfu/dfu.xc b/lib_xua/src/dfu/dfu.xc index c5d3992f..6e370b6c 100644 --- a/lib_xua/src/dfu/dfu.xc +++ b/lib_xua/src/dfu/dfu.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include "xua.h" #if (XUA_DFU_EN== 1) #include diff --git a/lib_xua/src/dfu/dfu_interface.h b/lib_xua/src/dfu/dfu_interface.h index 694cc716..4025b3f1 100644 --- a/lib_xua/src/dfu/dfu_interface.h +++ b/lib_xua/src/dfu/dfu_interface.h @@ -1,3 +1,4 @@ +// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved #ifndef __DFU_INTERFACE_H__ #define __DFU_INTERFACE_H__ diff --git a/lib_xua/src/dfu/dfu_types.h b/lib_xua/src/dfu/dfu_types.h index 6ab5d178..d4e809ee 100644 --- a/lib_xua/src/dfu/dfu_types.h +++ b/lib_xua/src/dfu/dfu_types.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Default Command requests (from Spec) #define DFU_DETACH 0 #define DFU_DNLOAD 1 diff --git a/lib_xua/src/dfu/flash_interface.c b/lib_xua/src/dfu/flash_interface.c index 246e1c27..69d66b97 100755 --- a/lib_xua/src/dfu/flash_interface.c +++ b/lib_xua/src/dfu/flash_interface.c @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include #include #include diff --git a/lib_xua/src/dfu/flash_interface.h b/lib_xua/src/dfu/flash_interface.h index 3bf0f7c9..1c16522c 100755 --- a/lib_xua/src/dfu/flash_interface.h +++ b/lib_xua/src/dfu/flash_interface.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef _flash_interface_h_ #define _flash_interface_h_ diff --git a/lib_xua/src/dfu/flashlib_user.c b/lib_xua/src/dfu/flashlib_user.c index 8db8e08f..d3ffa205 100644 --- a/lib_xua/src/dfu/flashlib_user.c +++ b/lib_xua/src/dfu/flashlib_user.c @@ -1,3 +1,4 @@ +// Copyright (c) 2012-2018, XMOS Ltd, All rights reserved #include "xua.h" #if (XUA_DFU_EN == 1) #include "uac_hwresources.h" diff --git a/lib_xua/src/dfu/xua_dfu.h b/lib_xua/src/dfu/xua_dfu.h index 106521f0..172f7f3b 100644 --- a/lib_xua/src/dfu/xua_dfu.h +++ b/lib_xua/src/dfu/xua_dfu.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef _XUA_DFU_H_ #define _XUA_DFU_H_ 1 diff --git a/lib_xua/src/midi/midi_descriptor.h b/lib_xua/src/midi/midi_descriptor.h index fb907e5c..277f3984 100644 --- a/lib_xua/src/midi/midi_descriptor.h +++ b/lib_xua/src/midi/midi_descriptor.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved /* This file contains the MID device descriptor It is intended to be included in the main device descriptor definition */ diff --git a/lib_xua/src/midi/midiinparse.h b/lib_xua/src/midi/midiinparse.h index 811ad8ee..cb045a91 100644 --- a/lib_xua/src/midi/midiinparse.h +++ b/lib_xua/src/midi/midiinparse.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef MIDIINPARSE_XH #define MIDIINPARSE_XH diff --git a/lib_xua/src/midi/midiinparse.xc b/lib_xua/src/midi/midiinparse.xc index 913b5b54..68b5999b 100644 --- a/lib_xua/src/midi/midiinparse.xc +++ b/lib_xua/src/midi/midiinparse.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved /** * @file midiinparse.xc * @brief Generates USB MIDI events from MIDI events diff --git a/lib_xua/src/midi/midioutparse.h b/lib_xua/src/midi/midioutparse.h index 908b2e4b..08734015 100644 --- a/lib_xua/src/midi/midioutparse.h +++ b/lib_xua/src/midi/midioutparse.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef MIDIOUTPARSE_XH #define MIDIOUTPARSE_XH diff --git a/lib_xua/src/midi/midioutparse.xc b/lib_xua/src/midi/midioutparse.xc index 74caec1b..566df9bd 100644 --- a/lib_xua/src/midi/midioutparse.xc +++ b/lib_xua/src/midi/midioutparse.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved /** * @file midioutparse.xc * @brief Parses USB-MIDI events into set of MIDI bytes diff --git a/lib_xua/src/midi/queue.h b/lib_xua/src/midi/queue.h index 1d120fc8..27d54c72 100644 --- a/lib_xua/src/midi/queue.h +++ b/lib_xua/src/midi/queue.h @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved #ifndef QUEUE_H_ #define QUEUE_H_ diff --git a/lib_xua/src/midi/queue.xc b/lib_xua/src/midi/queue.xc index c78f2b0f..125cbecd 100644 --- a/lib_xua/src/midi/queue.xc +++ b/lib_xua/src/midi/queue.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved #include "queue.h" // Force external definitions of inline functions. diff --git a/lib_xua/src/midi/usb_midi.h b/lib_xua/src/midi/usb_midi.h index 6543a851..8db4d663 100644 --- a/lib_xua/src/midi/usb_midi.h +++ b/lib_xua/src/midi/usb_midi.h @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #ifndef __usb_midi_h__ #define __usb_midi_h__ diff --git a/lib_xua/src/midi/usb_midi.xc b/lib_xua/src/midi/usb_midi.xc index f2704a81..4971a9af 100644 --- a/lib_xua/src/midi/usb_midi.xc +++ b/lib_xua/src/midi/usb_midi.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include #include #include diff --git a/lib_xua/src/midi/usb_midi_support.xc b/lib_xua/src/midi/usb_midi_support.xc index 5fad315c..ffaaf109 100644 --- a/lib_xua/src/midi/usb_midi_support.xc +++ b/lib_xua/src/midi/usb_midi_support.xc @@ -1,3 +1,4 @@ +// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved #include #define __MIDI_IMPL #include "usb_midi.h" diff --git a/tests/i2s_loopback/LICENSE.txt b/tests/i2s_loopback/LICENSE.txt index 3f72bf93..c7b8c711 100644 --- a/tests/i2s_loopback/LICENSE.txt +++ b/tests/i2s_loopback/LICENSE.txt @@ -1,8 +1,9 @@ Software Release License Agreement -Copyright (c) 2016, XMOS, All rights reserved. +Copyright (c) 2016-2018, XMOS, All rights reserved. BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software. + Parties: (1) XMOS Limited, incorporated and registered in England and Wales with company number 5494985 whose registered office is 107 Cheapside, London, EC2V 6DN (XMOS). @@ -37,7 +38,7 @@ Words in the singular include the plural and in the plural include the singular. 2. License -XMOS grants the Customer a non-exclusive license to use, develop, modify and distribute the XMOS Software in object code only with, or for the purpose of being used with, XMOS Hardware. +XMOS grants the Customer a non-exclusive license to use, develop, modify and distribute the XMOS Software with, or for the purpose of being used with, XMOS Hardware. Open Source Software (OSS) must be used and dealt with in accordance with any license terms under which OSS is distributed. @@ -91,6 +92,7 @@ The copyrights and all other intellectual and industrial property rights for the Either party may terminate this License at any time on written notice to the other if the other: - is in material or persistent breach of any of the terms of this License and either that breach is incapable of remedy, or the other party fails to remedy that breach within 30 days after receiving written notice requiring it to remedy that breach; or + - is unable to pay its debts (within the meaning of section 123 of the Insolvency Act 1986), or becomes insolvent, or is subject to an order or a resolution for its liquidation, administration, winding-up or dissolution (otherwise than for the purposes of a solvent amalgamation or reconstruction), or has an administrative or other receiver, manager, trustee, liquidator, administrator or similar officer appointed over all or any substantial part of its assets, or enters into or proposes any composition or arrangement with its creditors generally, or is subject to any analogous event or proceeding in any applicable jurisdiction. Termination by either party in accordance with the rights contained in clause 12 shall be without prejudice to any other rights or remedies of that party accrued prior to termination. @@ -130,4 +132,4 @@ This License shall be governed by and construed in accordance with English law a This License has been entered into on the date stated at the beginning of it. Schedule -XMOS Microphone array library software +XMOS lib_xua software diff --git a/tests/i2s_loopback/debug_conf.h b/tests/i2s_loopback/debug_conf.h index 676f75f0..a7c079dd 100644 --- a/tests/i2s_loopback/debug_conf.h +++ b/tests/i2s_loopback/debug_conf.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #ifndef __debug_conf_h__ #define __debug_conf_h__ diff --git a/tests/i2s_loopback/main.xc b/tests/i2s_loopback/main.xc index 1b9c0fc2..b3724be8 100644 --- a/tests/i2s_loopback/main.xc +++ b/tests/i2s_loopback/main.xc @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #include #include #include diff --git a/tests/i2s_loopback/simulation.xc b/tests/i2s_loopback/simulation.xc index 0bfc5f1c..f963ac59 100644 --- a/tests/i2s_loopback/simulation.xc +++ b/tests/i2s_loopback/simulation.xc @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #ifdef SIMULATION #include diff --git a/tests/i2s_loopback/usb_device.h b/tests/i2s_loopback/usb_device.h index 9d09c7da..43c365e3 100644 --- a/tests/i2s_loopback/usb_device.h +++ b/tests/i2s_loopback/usb_device.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #ifndef __usb_device_h__ #define __usb_device_h__ diff --git a/tests/i2s_loopback/usb_device.xc b/tests/i2s_loopback/usb_device.xc index 563b3198..ca74b48e 100644 --- a/tests/i2s_loopback/usb_device.xc +++ b/tests/i2s_loopback/usb_device.xc @@ -1,5 +1,5 @@ +// Copyright (c) 2018, XMOS Ltd, All rights reserved #if 0 -// Copyright (c) 2016, XMOS Ltd, All rights reserved #include #include #include "usb_std_requests.h" diff --git a/tests/i2s_loopback/xk_216_mc/audiohw.xc b/tests/i2s_loopback/xk_216_mc/audiohw.xc index 55a83409..ad2884cd 100644 --- a/tests/i2s_loopback/xk_216_mc/audiohw.xc +++ b/tests/i2s_loopback/xk_216_mc/audiohw.xc @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #ifdef HARDWARE #include diff --git a/tests/i2s_loopback/xk_216_mc/cs2100.h b/tests/i2s_loopback/xk_216_mc/cs2100.h index 197799ee..447ec877 100644 --- a/tests/i2s_loopback/xk_216_mc/cs2100.h +++ b/tests/i2s_loopback/xk_216_mc/cs2100.h @@ -1,3 +1,4 @@ +// Copyright (c) 2018, XMOS Ltd, All rights reserved #define CS2100_I2C_DEVICE_ADDR (0x9c>>1) #define CS2100_DEVICE_CONTROL 0x02 diff --git a/tests/i2s_loopback/xk_216_mc/cs4384.h b/tests/i2s_loopback/xk_216_mc/cs4384.h index bb9500d8..98defbe3 100644 --- a/tests/i2s_loopback/xk_216_mc/cs4384.h +++ b/tests/i2s_loopback/xk_216_mc/cs4384.h @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved #ifndef CS4384_H_ #define CS4384_H_ diff --git a/tests/i2s_loopback/xk_216_mc/cs5368.h b/tests/i2s_loopback/xk_216_mc/cs5368.h index fb1ff91d..945ae536 100644 --- a/tests/i2s_loopback/xk_216_mc/cs5368.h +++ b/tests/i2s_loopback/xk_216_mc/cs5368.h @@ -1,3 +1,4 @@ +// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved #ifndef _CS5368_H_ #define _CS5368_H_ diff --git a/tests/i2s_loopback/xk_216_mc/gpio_access.c b/tests/i2s_loopback/xk_216_mc/gpio_access.c index 19cc75f4..d6fc22d1 100644 --- a/tests/i2s_loopback/xk_216_mc/gpio_access.c +++ b/tests/i2s_loopback/xk_216_mc/gpio_access.c @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #ifdef HARDWARE #include #include "gpio_access.h" diff --git a/tests/i2s_loopback/xk_216_mc/gpio_access.h b/tests/i2s_loopback/xk_216_mc/gpio_access.h index 25fc5a59..1beac06f 100644 --- a/tests/i2s_loopback/xk_216_mc/gpio_access.h +++ b/tests/i2s_loopback/xk_216_mc/gpio_access.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #ifndef __gpio_access_h__ #define __gpio_access_h__ diff --git a/tests/i2s_loopback/xua_conf.h b/tests/i2s_loopback/xua_conf.h index 57ee8e0d..6dc9c95d 100644 --- a/tests/i2s_loopback/xua_conf.h +++ b/tests/i2s_loopback/xua_conf.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016, XMOS Ltd, All rights reserved +// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved #ifndef __custom_defines_h__ #define __custom_defines_h__