2018-08-13 15:46:42 +08:00
|
|
|
cmake_minimum_required(VERSION 3.8.2)
|
2017-10-27 21:43:34 +08:00
|
|
|
set(small_freq_divider_frdm_k64f TRUE)
|
|
|
|
set(small_freq_divider_arduino_due TRUE)
|
|
|
|
set(small_freq_divider_qemu_cortex_m3 TRUE)
|
|
|
|
|
|
|
|
if(small_freq_divider_${BOARD})
|
|
|
|
set(CONF_FILE prj_small_freq_divider.conf)
|
|
|
|
else()
|
|
|
|
set(CONF_FILE prj.conf)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
2018-10-25 22:54:09 +08:00
|
|
|
project(latency_measure)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
|
|
target_sources(app PRIVATE ${app_sources})
|