6be45c2a18
Until now the whole USB device stack code is located in the top subsys/usb directory. Move it to own directory in preparation for upcoming extension and rework of USB support. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
13 lines
436 B
CMake
13 lines
436 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(wpanusb)
|
|
|
|
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/net/ip)
|
|
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/net/l2)
|
|
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/usb/device)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|