forked from PAWPAW-Mirror/lib_xua
Updates to get l2 building
This commit is contained in:
@@ -1,13 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* @file AudioRequests.xc
|
|
||||||
* @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
|
||||||
* @version 1.4
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <xs1.h>
|
#include <xs1.h>
|
||||||
//#include <print.h>
|
|
||||||
|
|
||||||
#include "xud.h"
|
#include "xud.h"
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
#include "usbaudio20.h"
|
#include "usbaudio20.h"
|
||||||
|
|||||||
@@ -1317,7 +1317,7 @@ unsigned char cfgDesc_Audio2[] =
|
|||||||
#ifdef SPDIF_RX
|
#ifdef SPDIF_RX
|
||||||
#define SPDIF_RX_NUM_STRS 1
|
#define SPDIF_RX_NUM_STRS 1
|
||||||
#else
|
#else
|
||||||
#define SPDIF_TX_NUM_STRS 0
|
#define SPDIF_RX_NUM_STRS 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ADAT_RX
|
#ifdef ADAT_RX
|
||||||
|
|||||||
@@ -124,6 +124,7 @@ on stdcore[AUDIO_IO_CORE] : clock clk_mst_spd = XS1_CLKBLK_1;
|
|||||||
/* L Series needs a port to use for USB reset */
|
/* L Series needs a port to use for USB reset */
|
||||||
#ifdef ARCH_L
|
#ifdef ARCH_L
|
||||||
#ifdef PORT_USB_RESET
|
#ifdef PORT_USB_RESET
|
||||||
|
/* This define is checked since it could be on a shift reg or similar */
|
||||||
on stdcore[0] : out port p_usb_rst = PORT_USB_RESET;
|
on stdcore[0] : out port p_usb_rst = PORT_USB_RESET;
|
||||||
#endif
|
#endif
|
||||||
/* L Series also needs a clock for this port */
|
/* L Series also needs a clock for this port */
|
||||||
|
|||||||
Reference in New Issue
Block a user