forked from PAWPAW-Mirror/lib_xua
Fixed issue where sample rate not set in test_i2s_loopback
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2018-2022 XMOS LIMITED.
|
# Copyright 2018-2023 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.
|
||||||
import pytest
|
import pytest
|
||||||
import Pyxsim
|
import Pyxsim
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ XCC_FLAGS_simulation_${pcm_format}_${i2s_role}_$(channel_count)in_$(channel_coun
|
|||||||
-DNUM_USB_CHAN_OUT=${channel_count} \
|
-DNUM_USB_CHAN_OUT=${channel_count} \
|
||||||
-DI2S_CHANS_DAC=${channel_count} \
|
-DI2S_CHANS_DAC=${channel_count} \
|
||||||
-DI2S_CHANS_ADC=${channel_count} \
|
-DI2S_CHANS_ADC=${channel_count} \
|
||||||
-DEFAULT_FREQ=${sample_rate}
|
-DDEFAULT_FREQ=${sample_rate}
|
||||||
|
|
||||||
XMOS_MAKE_PATH ?= ../..
|
XMOS_MAKE_PATH ?= ../..
|
||||||
-include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common
|
-include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common
|
||||||
|
|||||||
Reference in New Issue
Block a user