mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-13 06:21:56 +00:00
There are a small handful of samples that still utilize <board.h> include, to minimize the use of <board.h> to these specific cases and allow us to remove adding the board dir to the top level include search path, we explicitly in each sample add the specific board dir it needs. For the microbit cases these could be replaced by DTS support in the future when the pwm_nrf5_sw supports DTS. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
8 lines
240 B
CMake
8 lines
240 B
CMake
cmake_minimum_required(VERSION 3.8.2)
|
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(gpio_counter)
|
|
|
|
target_sources(app PRIVATE src/main.c)
|
|
zephyr_include_directories($ENV{ZEPHYR_BASE}/boards/x86/up_squared)
|