mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
USB Audio Class (UAC) output Audio codec re-binding Keyboard / Bluetooth HID HID Consumer Control (media keys) Symbol exports Other fixes IMU-based screen auto-rotate See PR for details: https://github.com/TactilityProject/Tactility/pull/655
18 lines
516 B
CMake
18 lines
516 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/../../Buildscripts/module.cmake")
|
|
|
|
file(GLOB_RECURSE SOURCE_FILES "source/*.c*")
|
|
|
|
set(REQUIRES_LIST TactilityKernel)
|
|
if (DEFINED ENV{ESP_IDF_VERSION})
|
|
# Decoder symbol exports (source/symbols.c) compile against the ESP-only audio codec component.
|
|
list(APPEND REQUIRES_LIST espressif__esp_audio_codec)
|
|
endif ()
|
|
|
|
tactility_add_module(audio-stream-module
|
|
SRCS ${SOURCE_FILES}
|
|
INCLUDE_DIRS include/
|
|
REQUIRES ${REQUIRES_LIST}
|
|
)
|