Rework the sample to use the new USB device stack and the new DAP backend and align the sample with the WebUSB sample which has a similar BOS descriptor. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
11 lines
329 B
CMake
11 lines
329 B
CMake
# Copyright (c) 2023 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(dap)
|
|
|
|
include(${ZEPHYR_BASE}/samples/subsys/usb/common/common.cmake)
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|