mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-10 14:15:22 +00:00
This commit adds the LiteX I2S devices usage example with: - i2s rx and tx initialization, - i2s rx and tx configuration, - i2s rx receiving, - i2s tx sending. An application is a simple sound loopback - it allows to connect a music source and a receiver such as headseat and listen to it. Signed-off-by: Pawel Sagan <psagan@internships.antmicro.com> Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
9 lines
209 B
CMake
9 lines
209 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(i2s_litex)
|
|
|
|
target_sources(app PRIVATE src/main.c)
|