forked from PAWPAW-Mirror/lib_xua
Merge pull request #251 from xross/fix/250
Enable explicit feedback EP by default
This commit is contained in:
@@ -6,6 +6,7 @@ UNRELEASED
|
|||||||
|
|
||||||
* CHANGED: Updated tests to use lib_locks (was legacy module_locks)
|
* CHANGED: Updated tests to use lib_locks (was legacy module_locks)
|
||||||
* CHANGED: Exclude HID Report functions unless the HID feature is enabled
|
* CHANGED: Exclude HID Report functions unless the HID feature is enabled
|
||||||
|
* CHANGED: Explicit feedback EP enabled by default (see UAC_FORCE_FEEDBACK_EP)
|
||||||
* FIXED: Incorrect conditional compilation of HID report code
|
* FIXED: Incorrect conditional compilation of HID report code
|
||||||
|
|
||||||
* Changes to dependencies:
|
* Changes to dependencies:
|
||||||
|
|||||||
@@ -5,9 +5,7 @@ TARGET = xk-audio-216-mc.xn
|
|||||||
# The flags passed to xcc when building the application
|
# The flags passed to xcc when building the application
|
||||||
XCC_FLAGS = -fcomment-asm -Xmapper --map -Xmapper MAPFILE -O3 -report -save-temps \
|
XCC_FLAGS = -fcomment-asm -Xmapper --map -Xmapper MAPFILE -O3 -report -save-temps \
|
||||||
-g -Wno-unused-function -Wno-timing -DXUD_SERIES_SUPPORT=XUD_X200_SERIES \
|
-g -Wno-unused-function -Wno-timing -DXUD_SERIES_SUPPORT=XUD_X200_SERIES \
|
||||||
-DXUD_CORE_CLOCK=600 -DUSB_TILE=tile[1] -fxscope
|
-DXUD_CORE_CLOCK=600 -DUSB_TILE=tile[1] -fxscope -DUAC_FORCE_FEEDBACK_EP=0
|
||||||
|
|
||||||
#-DSDA_HIGH=2 -DSCL_HIGH=1 -fxscope
|
|
||||||
|
|
||||||
# The USED_MODULES variable lists other module used by the application. These
|
# The USED_MODULES variable lists other module used by the application. These
|
||||||
# modules will extend the SOURCE_DIRS, INCLUDE_DIRS and LIB_DIRS variables.
|
# modules will extend the SOURCE_DIRS, INCLUDE_DIRS and LIB_DIRS variables.
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ TARGET = xk-audio-216-mc.xn
|
|||||||
# The flags passed to xcc when building the application
|
# The flags passed to xcc when building the application
|
||||||
XCC_FLAGS = -fcomment-asm -Xmapper --map -Xmapper MAPFILE -O3 -report -save-temps \
|
XCC_FLAGS = -fcomment-asm -Xmapper --map -Xmapper MAPFILE -O3 -report -save-temps \
|
||||||
-g -Wno-unused-function -Wno-timing -DXUD_SERIES_SUPPORT=XUD_X200_SERIES \
|
-g -Wno-unused-function -Wno-timing -DXUD_SERIES_SUPPORT=XUD_X200_SERIES \
|
||||||
-DXUD_CORE_CLOCK=600 -DUSB_TILE=tile[1] -DSDA_HIGH=2 -DSCL_HIGH=1 -fxscope
|
-DXUD_CORE_CLOCK=600 -DUSB_TILE=tile[1] -DSDA_HIGH=2 -DSCL_HIGH=1 -fxscope \
|
||||||
|
-DUAC_FORCE_FEEDBACK_EP=0
|
||||||
|
|
||||||
# The USED_MODULES variable lists other module used by the application. These
|
# The USED_MODULES variable lists other module used by the application. These
|
||||||
# modules will extend the SOURCE_DIRS, INCLUDE_DIRS and LIB_DIRS variables.
|
# modules will extend the SOURCE_DIRS, INCLUDE_DIRS and LIB_DIRS variables.
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ TARGET = mic_array_ref.xn
|
|||||||
# The flags passed to xcc when building the application
|
# The flags passed to xcc when building the application
|
||||||
XCC_FLAGS = -fcomment-asm -Xmapper --map -Xmapper MAPFILE -O3 -report -save-temps \
|
XCC_FLAGS = -fcomment-asm -Xmapper --map -Xmapper MAPFILE -O3 -report -save-temps \
|
||||||
-g -Wno-unused-function -Wno-timing -DXUD_SERIES_SUPPORT=XUD_X200_SERIES \
|
-g -Wno-unused-function -Wno-timing -DXUD_SERIES_SUPPORT=XUD_X200_SERIES \
|
||||||
-DXUD_CORE_CLOCK=600 -DUSB_TILE=tile[1] -DSDA_HIGH=2 -DSCL_HIGH=1 -fxscope
|
-DXUD_CORE_CLOCK=600 -DUSB_TILE=tile[1] -DSDA_HIGH=2 -DSCL_HIGH=1 -fxscope \
|
||||||
|
-DUAC_FORCE_FEEDBACK_EP=0
|
||||||
|
|
||||||
# The USED_MODULES variable lists other module used by the application. These
|
# The USED_MODULES variable lists other module used by the application. These
|
||||||
# modules will extend the SOURCE_DIRS, INCLUDE_DIRS and LIB_DIRS variables.
|
# modules will extend the SOURCE_DIRS, INCLUDE_DIRS and LIB_DIRS variables.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2011-2021 XMOS LIMITED.
|
// Copyright 2011-2022 XMOS LIMITED.
|
||||||
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
|
// 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
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
/**
|
/**
|
||||||
* @brief Number of DSD output channels. Default: 0 (disabled)
|
* @brief Number of DSD output channels. Default: 0 (disabled)
|
||||||
*/
|
*/
|
||||||
#if defined(DSD_CHANS_DAC)
|
#if defined(DSD_CHANS_DAC) && (DSD_CHANS_DAC != 0)
|
||||||
#if defined(NATIVE_DSD) && (NATIVE_DSD == 0)
|
#if defined(NATIVE_DSD) && (NATIVE_DSD == 0)
|
||||||
#undef NATIVE_DSD
|
#undef NATIVE_DSD
|
||||||
#else
|
#else
|
||||||
@@ -1171,6 +1171,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Always enable explicit feedback EP, even when input stream is present */
|
||||||
|
#ifndef UAC_FORCE_FEEDBACK_EP
|
||||||
|
#define UAC_FORCE_FEEDBACK_EP (1)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined(UAC_FORCE_FEEDBACK_EP) && UAC_FORCE_FEEDBACK_EP == 0)
|
#if (defined(UAC_FORCE_FEEDBACK_EP) && UAC_FORCE_FEEDBACK_EP == 0)
|
||||||
#undef UAC_FORCE_FEEDBACK_EP
|
#undef UAC_FORCE_FEEDBACK_EP
|
||||||
|
|||||||
Reference in New Issue
Block a user