samples: remove SOF sample
Sample is now maintained in the SOF repository, no need for duplication. The SoF project maintains the board configurations and SOF related configs better than we do. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c6bbb16634
commit
ebade6f48c
15 changed files with 0 additions and 170 deletions
|
@ -2573,7 +2573,6 @@ West:
|
|||
- marc-hb
|
||||
files:
|
||||
- modules/Kconfig.sof
|
||||
- samples/modules/sof/
|
||||
labels:
|
||||
- manifest-sof
|
||||
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
|
||||
find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
|
||||
project(sample_sof)
|
||||
|
||||
target_sources(app PRIVATE
|
||||
src/main.c
|
||||
)
|
||||
|
||||
zephyr_library_include_directories(app PUBLIC
|
||||
${sof_module}/src/arch/xtensa/include
|
||||
${sof_module}/src/include
|
||||
)
|
|
@ -1,13 +0,0 @@
|
|||
CONFIG_INTEL_DMIC=y
|
||||
CONFIG_INTEL_SSP=y
|
||||
CONFIG_INTEL_ALH=y
|
||||
CONFIG_LP_MEMORY_BANKS=1
|
||||
CONFIG_RIMAGE_SIGNING_SCHEMA="mtl"
|
||||
CONFIG_IPC_MAJOR_4=y
|
||||
CONFIG_COMP_SRC=n
|
||||
CONFIG_INTEL_ADSP_TIMER=n
|
||||
CONFIG_FORMAT_CONVERT_HIFI3=n
|
||||
|
||||
CONFIG_PM=y
|
||||
CONFIG_PM_DEVICE=y
|
||||
CONFIG_PM_DEVICE_RUNTIME=y
|
|
@ -1,7 +0,0 @@
|
|||
CONFIG_APOLLOLAKE=y
|
||||
CONFIG_INTEL_DMIC=y
|
||||
CONFIG_INTEL_SSP=y
|
||||
CONFIG_LP_MEMORY_BANKS=2
|
||||
CONFIG_HP_MEMORY_BANKS=8
|
||||
CONFIG_PERFORMANCE_COUNTERS=y
|
||||
CONFIG_COMP_SRC_TINY=y
|
|
@ -1,7 +0,0 @@
|
|||
CONFIG_CANNONLAKE=y
|
||||
CONFIG_INTEL_DMIC=y
|
||||
CONFIG_INTEL_SSP=y
|
||||
CONFIG_INTEL_ALH=y
|
||||
CONFIG_LP_MEMORY_BANKS=1
|
||||
CONFIG_HP_MEMORY_BANKS=47
|
||||
CONFIG_PERFORMANCE_COUNTERS=y
|
|
@ -1,6 +0,0 @@
|
|||
CONFIG_ICELAKE=y
|
||||
CONFIG_INTEL_DMIC=y
|
||||
CONFIG_INTEL_SSP=y
|
||||
CONFIG_INTEL_ALH=y
|
||||
CONFIG_LP_MEMORY_BANKS=1
|
||||
CONFIG_HP_MEMORY_BANKS=47
|
|
@ -1,5 +0,0 @@
|
|||
CONFIG_ICELAKE=y
|
||||
CONFIG_INTEL_DMIC=y
|
||||
CONFIG_INTEL_SSP=y
|
||||
CONFIG_LP_MEMORY_BANKS=1
|
||||
CONFIG_HP_MEMORY_BANKS=16
|
|
@ -1,10 +0,0 @@
|
|||
CONFIG_TIGERLAKE=y
|
||||
CONFIG_INTEL_DMIC=y
|
||||
CONFIG_INTEL_SSP=y
|
||||
CONFIG_INTEL_ALH=y
|
||||
CONFIG_LP_MEMORY_BANKS=1
|
||||
CONFIG_HP_MEMORY_BANKS=30
|
||||
CONFIG_RIMAGE_SIGNING_SCHEMA="tgl"
|
||||
CONFIG_PM=y
|
||||
CONFIG_PM_DEVICE=y
|
||||
CONFIG_PM_DEVICE_RUNTIME=y
|
|
@ -1,7 +0,0 @@
|
|||
CONFIG_TIGERLAKE=y
|
||||
CONFIG_INTEL_DMIC=y
|
||||
CONFIG_INTEL_SSP=y
|
||||
CONFIG_INTEL_ALH=y
|
||||
CONFIG_LP_MEMORY_BANKS=1
|
||||
CONFIG_HP_MEMORY_BANKS=30
|
||||
CONFIG_RIMAGE_SIGNING_SCHEMA="tgl-h"
|
|
@ -1,4 +0,0 @@
|
|||
CONFIG_IMX8=y
|
||||
CONFIG_HAVE_AGENT=n
|
||||
CONFIG_FORMAT_CONVERT_HIFI3=n
|
||||
CONFIG_KPB_FORCE_COPY_TYPE_NORMAL=n
|
|
@ -1,4 +0,0 @@
|
|||
CONFIG_IMX8M=y
|
||||
CONFIG_HAVE_AGENT=n
|
||||
CONFIG_FORMAT_CONVERT_HIFI3=n
|
||||
CONFIG_KPB_FORCE_COPY_TYPE_NORMAL=n
|
|
@ -1,4 +0,0 @@
|
|||
CONFIG_IMX8X=y
|
||||
CONFIG_HAVE_AGENT=n
|
||||
CONFIG_FORMAT_CONVERT_HIFI3=n
|
||||
CONFIG_KPB_FORCE_COPY_TYPE_NORMAL=n
|
|
@ -1,29 +0,0 @@
|
|||
CONFIG_SOF=y
|
||||
CONFIG_LOG=y
|
||||
CONFIG_LOG_PRINTK=y
|
||||
CONFIG_BUILD_OUTPUT_BIN=n
|
||||
CONFIG_HAVE_AGENT=n
|
||||
|
||||
# Requires heap_info() be implemented, but no Zephyr wrapper
|
||||
CONFIG_DEBUG_MEMORY_USAGE_SCAN=n
|
||||
|
||||
# Ensure -O2 (or similar) is used for optimization
|
||||
CONFIG_SPEED_OPTIMIZATIONS=y
|
||||
|
||||
# Zephyr top-level default of -fno-strict-overflow is
|
||||
# not a good fit for audio DSP code
|
||||
CONFIG_COMPILER_OPT="-fstrict-overflow"
|
||||
|
||||
CONFIG_SCHED_DEADLINE=y
|
||||
CONFIG_SCHED_CPU_MASK=y
|
||||
CONFIG_SMP_BOOT_DELAY=y
|
||||
|
||||
# Fix the sys ticks value until following bugs are solved:
|
||||
# - https://github.com/zephyrproject-rtos/zephyr/issues/46378
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=15000
|
||||
CONFIG_DAI=y
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=2048
|
||||
|
||||
# SoF pins threads to specific cores. This option allows
|
||||
# Zephyr to do further cache optimizations
|
||||
CONFIG_SCHED_CPU_MASK_PIN_ONLY=y
|
|
@ -1,22 +0,0 @@
|
|||
sample:
|
||||
description: Audio with SOF
|
||||
name: sof
|
||||
common:
|
||||
tags: audio
|
||||
modules:
|
||||
- sof
|
||||
tests:
|
||||
sample.audio.sof:
|
||||
tags: sof
|
||||
build_only: true
|
||||
platform_allow: intel_adsp_cavs15 intel_adsp_cavs18 intel_adsp_cavs20
|
||||
intel_adsp_cavs25 nxp_adsp_imx8 nxp_adsp_imx8x nxp_adsp_imx8m
|
||||
|
||||
integration_platforms:
|
||||
- intel_adsp_cavs15
|
||||
- intel_adsp_cavs18
|
||||
- intel_adsp_cavs20
|
||||
- intel_adsp_cavs25
|
||||
- nxp_adsp_imx8
|
||||
- nxp_adsp_imx8x
|
||||
- nxp_adsp_imx8m
|
|
@ -1,36 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Intel Corporation.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(main, LOG_LEVEL_DBG);
|
||||
|
||||
/**
|
||||
* Should be included from sof/schedule/task.h
|
||||
* but triggers include chain issue
|
||||
* FIXME
|
||||
*/
|
||||
int sof_main(int argc, char *argv[]);
|
||||
|
||||
/**
|
||||
* TODO: Here comes SOF initialization
|
||||
*/
|
||||
|
||||
void main(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
LOG_INF("SOF on %s", CONFIG_BOARD);
|
||||
|
||||
/* sof_main is actually SOF initialization */
|
||||
ret = sof_main(0, NULL);
|
||||
if (ret) {
|
||||
LOG_ERR("SOF initialization failed");
|
||||
}
|
||||
|
||||
LOG_INF("SOF initialized");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue