diff --git a/Jenkinsfile b/Jenkinsfile index d37e570e..138f9ffd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -153,8 +153,8 @@ pipeline { withVS() { bat 'msbuild host_usb_mixer_control.vcxproj /property:Configuration=Release /property:Platform=x64' } - sh 'mkdir Win/x64' - sh 'mv bin/Release/x64/host_usb_mixer_control.exe Win/x64/xmos_mixer.exe' + bat 'mkdir Win\\x64' + bat 'mv bin/Release/x64/host_usb_mixer_control.exe Win/x64/xmos_mixer.exe' archiveArtifacts artifacts: "Win/x64/xmos_mixer.exe", fingerprint: true } } diff --git a/lib_xua/api/xua_conf_default.h b/lib_xua/api/xua_conf_default.h index 964c6eb0..11187361 100644 --- a/lib_xua/api/xua_conf_default.h +++ b/lib_xua/api/xua_conf_default.h @@ -214,6 +214,19 @@ #error Unsupported value for XUA_I2S_N_BITS (only values 16/32 supported) #endif +/** + * @brief Number of bits per channel for I2S/TDM. Supported values: 16/32-bit. + * + * Default: 32 bits + */ +#ifndef XUA_I2S_N_BITS +#define XUA_I2S_N_BITS (32) +#endif + +#if (XUA_I2S_N_BITS != 16) && (XUA_I2S_N_BITS != 32) +#error Unsupported value for XUA_I2S_N_BITS (only values 16/32 supported) +#endif + /** * @brief Max supported sample frequency for device (Hz). Default: 192000 */