Fixed issue where sample rate not set in test_i2s_loopback

This commit is contained in:
Ross Owen
2023-06-06 15:22:34 +01:00
parent 58bb074f0d
commit c2e1a8f17a
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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