15 lines
351 B
CMake
15 lines
351 B
CMake
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
# Set board root to find our custom board
|
|
set(BOARD_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(ews_canfd_cdc_composite)
|
|
|
|
target_sources(app PRIVATE
|
|
src/main.c
|
|
src/cdc_handler.c
|
|
src/pfet_control.c
|
|
src/gs_usb_can.c
|
|
src/usb_gs_usb_class.c
|
|
) |