Update copyright notices and licence references

This commit is contained in:
Daniel Pieczko
2021-04-22 17:17:39 +01:00
parent 6f75a44d9c
commit 0aa60035a4
108 changed files with 216 additions and 108 deletions

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/* A very simple *example* of a USB audio application (and as such is un-verified for production) /* A very simple *example* of a USB audio application (and as such is un-verified for production)
* *

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef CS4384_H_ #ifndef CS4384_H_
#define CS4384_H_ #define CS4384_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _CS5368_H_ #ifndef _CS5368_H_
#define _CS5368_H_ #define _CS5368_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <platform.h> #include <platform.h>
#include <timer.h> #include <timer.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2019, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _XUA_CONF_H_ #ifndef _XUA_CONF_H_
#define _XUA_CONF_H_ #define _XUA_CONF_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua_conf.h" #include "xua_conf.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/* A very simple *example* of a USB audio application (and as such is un-verified for production) /* A very simple *example* of a USB audio application (and as such is un-verified for production)
* *

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <platform.h> #include <platform.h>
#include <timer.h> #include <timer.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2019, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _XUA_CONF_H_ #ifndef _XUA_CONF_H_
#define _XUA_CONF_H_ #define _XUA_CONF_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua_conf.h" #include "xua_conf.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/* A very simple *example* of a USB audio application (and as such is un-verified for production) /* A very simple *example* of a USB audio application (and as such is un-verified for production)
* *

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#include <assert.h> #include <assert.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2019, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _XUA_CONF_H_ #ifndef _XUA_CONF_H_
#define _XUA_CONF_H_ #define _XUA_CONF_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua_conf.h" #include "xua_conf.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __XUA_H__ #ifndef __XUA_H__
#define __XUA_H__ #define __XUA_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __XUA_AUDIOHUB_H__ #ifndef __XUA_AUDIOHUB_H__
#define __XUA_AUDIOHUB_H__ #define __XUA_AUDIOHUB_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2019, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __XUA_BUFFER_H__ #ifndef __XUA_BUFFER_H__
#define __XUA_BUFFER_H__ #define __XUA_BUFFER_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/* /*
* @brief Defines relating to device configuration and customisation of lib_xua * @brief Defines relating to device configuration and customisation of lib_xua
* @author Ross Owen, XMOS Limited * @author Ross Owen, XMOS Limited

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2018, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __XUA_CONF_FULL_H__ #ifndef __XUA_CONF_FULL_H__
#define __XUA_CONF_FULL_H__ #define __XUA_CONF_FULL_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _XUA_ENDPOINT0_H_ #ifndef _XUA_ENDPOINT0_H_
#define _XUA_ENDPOINT0_H_ #define _XUA_ENDPOINT0_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved // Copyright 2015-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef XUA_PDM_MIC_H #ifndef XUA_PDM_MIC_H
#define XUA_PDM_MIC_H #define XUA_PDM_MIC_H

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2017-2020, XMOS Ltd, All rights reserved // Copyright 2017-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __XUA_API_H__ #ifndef __XUA_API_H__
#define __XUA_API_H__ #define __XUA_API_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2012-2020, XMOS Ltd, All rights reserved // Copyright 2012-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2018, XMOS Ltd, All rights reserved // Copyright 2018-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
unsigned adatCounter = 0; unsigned adatCounter = 0;
unsigned adatSamples[8]; unsigned adatSamples[8];

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2018, XMOS Ltd, All rights reserved // Copyright 2018-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#if (DSD_CHANS_DAC != 0) #if (DSD_CHANS_DAC != 0)
extern buffered out port:32 p_dsd_dac[DSD_CHANS_DAC]; extern buffered out port:32 p_dsd_dac[DSD_CHANS_DAC];

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2018, XMOS Ltd, All rights reserved // Copyright 2018-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"
#include "dsd_support.h" #include "dsd_support.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _DSD_H_ #ifndef _DSD_H_
#define _DSD_H_ #define _DSD_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/** /**
* @file xua_audiohub.xc * @file xua_audiohub.xc
* @brief XMOS USB 2.0 Audio Reference Design. Audio Functions. * @brief XMOS USB 2.0 Audio Reference Design. Audio Functions.

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xccompat.h" #include "xccompat.h"
#include "xua_audiohub.h" #include "xua_audiohub.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"
#if XUA_USB_EN #if XUA_USB_EN

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved // Copyright 2015-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"
#if XUA_USB_EN #if XUA_USB_EN
#include "interrupt.h" #include "interrupt.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"
#if XUA_USB_EN #if XUA_USB_EN
#include "xud.h" #include "xud.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __interrupt_h__ #ifndef __interrupt_h__
#define __interrupt_h__ #define __interrupt_h__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"
#if XUA_USB_EN #if XUA_USB_EN
#include <xs1.h> #include <xs1.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
//#pragma select handler //#pragma select handler
#include <xs1.h> #include <xs1.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
/* TODO Currently complier does not support inline select functions, hense this is in a seperate file to ensure this is not the case */ /* TODO Currently complier does not support inline select functions, hense this is in a seperate file to ensure this is not the case */

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#include <assert.h> #include <assert.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _CLOCKING_H_ #ifndef _CLOCKING_H_
#define _CLOCKING_H_ #define _CLOCKING_H_

View File

@@ -1,4 +1,5 @@
# Copyright (c) 2015-2018, XMOS Ltd, All rights reserved # Copyright 2015-2021 XMOS LIMITED.
# This Software is subject to the terms of the XMOS Public Licence: Version 1.
def genstrings(outputChanCount, chanString, portString, structureString, adc_dac): def genstrings(outputChanCount, chanString, portString, structureString, adc_dac):

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved // Copyright 2015-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/* AUTOGENERATED using chanstringgen.py */ /* AUTOGENERATED using chanstringgen.py */
/* Not very nice looking but the standard preprocessor is not very powerful /* Not very nice looking but the standard preprocessor is not very powerful

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __dbcalc_h__ #ifndef __dbcalc_h__
#define __dbcalc_h__ #define __dbcalc_h__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#include <print.h> #include <print.h>
/* The coefficients of the chebychev polynomial to approximate 10^x in the interval [-1,1]. /* The coefficients of the chebychev polynomial to approximate 10^x in the interval [-1,1].

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2015-2019, XMOS Ltd, All rights reserved // Copyright 2015-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __DESCRIPTOR_DEFS_H__ #ifndef __DESCRIPTOR_DEFS_H__
#define __DESCRIPTOR_DEFS_H__ #define __DESCRIPTOR_DEFS_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"
#if XUA_USB_EN #if XUA_USB_EN

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _VENDORREQUESTS_H_ #ifndef _VENDORREQUESTS_H_
#define _VENDORREQUESTS_H_ #define _VENDORREQUESTS_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/** /**
* @brief Implements endpoint zero for an USB Audio 1.0/2.0 device * @brief Implements endpoint zero for an USB Audio 1.0/2.0 device
* @author Ross Owen, XMOS Semiconductor * @author Ross Owen, XMOS Semiconductor

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/** /**
* @file xua_ep0_descriptors.h * @file xua_ep0_descriptors.h
* @brief Device Descriptors * @brief Device Descriptors

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2014-2020, XMOS Ltd, All rights reserved // Copyright 2014-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _AUDIOREQUESTS_H_ #ifndef _AUDIOREQUESTS_H_
#define _AUDIOREQUESTS_H_ #define _AUDIOREQUESTS_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/** /**
* @brief Implements relevant requests from the USB Audio 2.0 Specification * @brief Implements relevant requests from the USB Audio 2.0 Specification
* @author Ross Owen, XMOS Semiconductor * @author Ross Owen, XMOS Semiconductor

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2012-2019, XMOS Ltd, All rights reserved // Copyright 2012-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" /* Device specific defines */ #include "xua.h" /* Device specific defines */
#ifndef EXCLUDE_USB_AUDIO_MAIN #ifndef EXCLUDE_USB_AUDIO_MAIN

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2018-2020, XMOS Ltd, All rights reserved // Copyright 2018-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
//#include "devicedefines.h" //#include "devicedefines.h"
#define MAX_MIX_COUNT 8 #define MAX_MIX_COUNT 8

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __mixer_h__ #ifndef __mixer_h__
#define __mixer_h__ #define __mixer_h__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef N #ifndef N
#error "N must be defined before including repeat.h" #error "N must be defined before including repeat.h"
#endif #endif

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2015-2019, XMOS Ltd, All rights reserved // Copyright 2015-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef MIC_ARRAY_CONF_H_ #ifndef MIC_ARRAY_CONF_H_
#define MIC_ARRAY_CONF_H_ #define MIC_ARRAY_CONF_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2015-2020, XMOS Ltd, All rights reserved // Copyright 2015-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#define __ASSEMBLER__ // Work around for bug #14118 #define __ASSEMBLER__ // Work around for bug #14118

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _AUDIOPORTS_H_ #ifndef _AUDIOPORTS_H_
#define _AUDIOPORTS_H_ #define _AUDIOPORTS_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#include <platform.h> #include <platform.h>
#include <print.h> #include <print.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef ARCH_U_POWER_SAVING_ #ifndef ARCH_U_POWER_SAVING_
#define ARCH_U_POWER_SAVING_ #define ARCH_U_POWER_SAVING_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#if (XUD_SERIES_SUPPORT==1) #if (XUD_SERIES_SUPPORT==1)
#include "archU_powerSaving.h" #include "archU_powerSaving.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2021, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#include <platform.h> #include <platform.h>
#include <print.h> #include <print.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __xc_ptr__ #ifndef __xc_ptr__
#define __xc_ptr__ #define __xc_ptr__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2012-2018, XMOS Ltd, All rights reserved // Copyright 2012-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xc_ptr.h" #include "xc_ptr.h"
extern inline xc_ptr array_to_xc_ptr(const unsigned a[]); extern inline xc_ptr array_to_xc_ptr(const unsigned a[]);

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved // Copyright 2015-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _UAC_HWRESOURCES_H_ #ifndef _UAC_HWRESOURCES_H_
#define _UAC_HWRESOURCES_H_ #define _UAC_HWRESOURCES_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2019, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/* Default implementations of AudioStreamStop() and AudioStreamStart() /* Default implementations of AudioStreamStop() and AudioStreamStart()
* callbacks. * callbacks.

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2019, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _AUDIOSTREAM_H_ #ifndef _AUDIOSTREAM_H_
#define _AUDIOSTREAM_H_ #define _AUDIOSTREAM_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2020, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __USER_HID_H__ #ifndef __USER_HID_H__
#define __USER_HID_H__ #define __USER_HID_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
void UserHostActive(int active) __attribute__ ((weak)); void UserHostActive(int active) __attribute__ ((weak));
void UserHostActive(int active) void UserHostActive(int active)

View File

@@ -1,3 +1,4 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
void UserHostActive(int active); void UserHostActive(int active);

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/* /*
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. 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.

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __XUA_INTERNAL_CMDS_H__ #ifndef __XUA_INTERNAL_CMDS_H__
#define __XUA_INTERNAL_CMDS_H__ #define __XUA_INTERNAL_CMDS_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#if XUA_USB_EN #if XUA_USB_EN
#include "xua.h" #include "xua.h"
#include "hostactive.h" #include "hostactive.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"
#if (XUA_DFU_EN== 1) #if (XUA_DFU_EN== 1)
#include <xs1.h> #include <xs1.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2015-2018, XMOS Ltd, All rights reserved // Copyright 2015-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __DFU_INTERFACE_H__ #ifndef __DFU_INTERFACE_H__
#define __DFU_INTERFACE_H__ #define __DFU_INTERFACE_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
// Default Command requests (from Spec) // Default Command requests (from Spec)
#define DFU_DETACH 0 #define DFU_DETACH 0
#define DFU_DNLOAD 1 #define DFU_DNLOAD 1

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#include <flash.h> #include <flash.h>
#include <flashlib.h> #include <flashlib.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _flash_interface_h_ #ifndef _flash_interface_h_
#define _flash_interface_h_ #define _flash_interface_h_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2012-2018, XMOS Ltd, All rights reserved // Copyright 2012-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "xua.h" #include "xua.h"
#if (XUA_DFU_EN == 1) #if (XUA_DFU_EN == 1)
#include "uac_hwresources.h" #include "uac_hwresources.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef _XUA_DFU_H_ #ifndef _XUA_DFU_H_
#define _XUA_DFU_H_ 1 #define _XUA_DFU_H_ 1

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2019-2020, XMOS Ltd, All rights reserved // Copyright 2019-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <stdint.h> #include <stdint.h>
#include <xs1.h> #include <xs1.h>
#include "descriptor_defs.h" #include "descriptor_defs.h"

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2019, XMOS Ltd, All rights reserved // Copyright 2019-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __XUA_HID_H__ #ifndef __XUA_HID_H__
#define __XUA_HID_H__ #define __XUA_HID_H__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/* This file contains the MID device descriptor /* This file contains the MID device descriptor
It is intended to be included in the main device descriptor definition */ It is intended to be included in the main device descriptor definition */

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef MIDIINPARSE_XH #ifndef MIDIINPARSE_XH
#define MIDIINPARSE_XH #define MIDIINPARSE_XH

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/** /**
* @file midiinparse.xc * @file midiinparse.xc
* @brief Generates USB MIDI events from MIDI events * @brief Generates USB MIDI events from MIDI events

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef MIDIOUTPARSE_XH #ifndef MIDIOUTPARSE_XH
#define MIDIOUTPARSE_XH #define MIDIOUTPARSE_XH

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
/** /**
* @file midioutparse.xc * @file midioutparse.xc
* @brief Parses USB-MIDI events into set of MIDI bytes * @brief Parses USB-MIDI events into set of MIDI bytes

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef QUEUE_H_ #ifndef QUEUE_H_
#define QUEUE_H_ #define QUEUE_H_

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2013-2018, XMOS Ltd, All rights reserved // Copyright 2013-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include "queue.h" #include "queue.h"
// Force external definitions of inline functions. // Force external definitions of inline functions.

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __usb_midi_h__ #ifndef __usb_midi_h__
#define __usb_midi_h__ #define __usb_midi_h__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#include <xclib.h> #include <xclib.h>
#include <print.h> #include <print.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved // Copyright 2011-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <xs1.h> #include <xs1.h>
#define __MIDI_IMPL #define __MIDI_IMPL
#include "usb_midi.h" #include "usb_midi.h"

View File

@@ -1,4 +1,5 @@
# Copyright (c) 2020, XMOS Ltd, All rights reserved # Copyright 2020-2021 XMOS LIMITED.
# This Software is subject to the terms of the XMOS Public Licence: Version 1.
import setuptools import setuptools
# Another repository might depend on python code defined in this one. The # Another repository might depend on python code defined in this one. The

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __debug_conf_h__ #ifndef __debug_conf_h__
#define __debug_conf_h__ #define __debug_conf_h__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <platform.h> #include <platform.h>
#include <stdlib.h> #include <stdlib.h>
#include <print.h> #include <print.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifdef SIMULATION #ifdef SIMULATION
#include <platform.h> #include <platform.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef __usb_device_h__ #ifndef __usb_device_h__
#define __usb_device_h__ #define __usb_device_h__

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2018, XMOS Ltd, All rights reserved // Copyright 2018-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#if 0 #if 0
#include <xs1.h> #include <xs1.h>
#include <xccompat.h> #include <xccompat.h>

View File

@@ -1,4 +1,5 @@
// Copyright (c) 2016-2018, XMOS Ltd, All rights reserved // Copyright 2016-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifdef HARDWARE #ifdef HARDWARE
#include <xs1.h> #include <xs1.h>

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