Go to file
Bartosz Kokoszko dcb185a78c comp: return 0 in data size 0 case in comp_set_model
In comp_set_model() function, when required size is equal to 0,
we should not allocate memory and just return 0.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2020-06-25 14:31:37 +01:00
.github/ISSUE_TEMPLATE
doc
keys
rimage@9f3f2d7d71
scripts
smex
src comp: return 0 in data size 0 case in comp_set_model 2020-06-25 14:31:37 +01:00
test ipc: Extract pipeline id dereference from ipc_comp_dev structure 2020-06-24 09:43:54 +01:00
tools topology: sof-smart-amplifier: change the mclk to fix the noise issue 2020-06-24 20:04:03 +01:00
zephyr
.gitignore gitignore: add Eclipse project metadata 2020-06-25 14:28:12 +01:00
.gitmodules
.travis.yml .travis.yml: build ROM for "buildonly" platforms too 2020-06-23 12:03:15 +01:00
CMakeLists.txt
CODEOWNERS
Kconfig
LICENCE
README.md

README.md

Sound Open Firmware

Status

Build Status Gitter chat IRC chat

Documentation

See docs

Prerequisites

  • Docker
  • CMake (version >= 3.10)

Build Instructions

  1. Create directory in checked out repo for build files:
mkdir build && cd build
  1. 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 ..
  1. 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
  1. (Optional) Customize your configuration
make menuconfig
  1. 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