mirror of https://github.com/thesofproject/sof.git
31e67a227c
The tests created lot of unnecessary fails when testing with S16_LE format. The test pass criteria for THD+N, DR is relaxed for tests with 16 bit data. Since the gain of SRC conversions was lowered to -1 dB the test case for gain need to be updated. The gain is retrieved from src_param() function. An exception is added for FS1 == FS2 case when data is passed through. In that case expected gain is 0 dB. The frequency response measurement grid does not necessarily cover the exact upper frequency of pass-band. Therefore the min. upper passband frequency is scaled by 0.99. This avoids measurement technique related fails in test. The chirp spectra test case was updated to use for RMS level criteria for testing the level of signal. The peak level was less robust and caused unnecessary test fails. The option to not open plot windows during test is set. It improves speed of test and avoids display clutter. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
doc | ||
rimage | ||
scripts | ||
src | ||
test | ||
tools | ||
.gitignore | ||
.travis.yml | ||
CMakeLists.txt | ||
CODEOWNERS | ||
Kconfig | ||
LICENCE | ||
README.md |
README.md
Sound Open Firmware
Status
Documentation
See docs
Prerequisites
- Docker
- CMake (version >= 3.10)
Build Instructions
- Create directory in checked out repo for build files:
mkdir build && cd build
- Run configuration for your toolchain:
Baytrail / Cherrytrail:
cmake -DTOOLCHAIN=xtensa-byt-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-byt-elf ..
Haswell / Broadwell:
cmake -DTOOLCHAIN=xtensa-hsw-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-hsw-elf ..
Apollolake:
cmake -DTOOLCHAIN=xtensa-apl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-apl-elf ..
Cannonlake:
cmake -DTOOLCHAIN=xtensa-cnl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cnl-elf ..
- Apply default config for your platform.
Baytrail:
make baytrail_defconfig
Cherrytrail:
make cherrytrail_defconfig
Haswell:
make haswell_defconfig
Broadwell:
make broadwell_defconfig
Apollolake:
make apollolake_defconfig
Cannonlake:
make cannonlake_defconfig
- (Optional) Customize your configuration
make menuconfig
- Build firmware
make bin
# or `make bin -j<jobs>` for parallel build
Running the tests
See unit testing documentation
Deployment
TODO: Add additional notes about how to deploy this on a live system
Contributing
See Contributing to the Project
License
This project is licensed under the BSD Clause 3 - see the LICENCE file for details