2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-02-12 11:33:19 +08:00
|
|
|
set(BOARD intel_s1000_crb)
|
2019-09-28 07:30:42 +08:00
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
2019-02-12 11:33:19 +08:00
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
|
|
project(NONE)
|
|
|
|
|
|
|
|
target_sources(app PRIVATE src/i2s_sample.c)
|
|
|
|
|
|
|
|
if (AUDIO_PLAY_FROM_HOST)
|
|
|
|
add_compile_definitions(AUDIO_PLAY_FROM_HOST)
|
|
|
|
else ()
|
|
|
|
target_link_libraries(app PUBLIC -lm)
|
|
|
|
target_link_libraries(app PUBLIC -lc)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__extendsfdf2)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__truncdfsf2)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__divsf3)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__divdf3)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__adddf3)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__subdf3)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__ieee754_sqrtf)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__ieee754_remainderf)
|
|
|
|
target_link_libraries(app PUBLIC -Wl,-u,__nedf2)
|
|
|
|
endif ()
|