upsilon/software/CMakeLists.txt

19 lines
705 B
CMake
Raw Normal View History

2022-07-13 12:07:03 -04:00
cmake_minimum_required(VERSION 3.20.0)
2023-04-04 12:24:10 -04:00
# These must come BEFORE the zephyr package declaration.
set(DTC_OVERLAY_FILE "../firmware/overlay.dts")
set(BOARD "litex_vexriscv")
set(EXTRA_CFLAGS "-Wfatal-errors -Werror -Wno-error=unused-const-variable -Wno-error=unused-variable -Wno-error=unused-function")
include("../firmware/overlay.cmake")
2022-07-13 12:07:03 -04:00
find_package(Zephyr)
2023-04-03 13:00:55 -04:00
project(upsilon)
2022-07-13 12:07:03 -04:00
include_directories("../firmware")
2023-04-04 12:04:06 -04:00
include_directories("src/")
2023-04-03 13:00:55 -04:00
include_directories("../creole")
include_directories("../firmware/rtl/control_loop")
2022-07-13 12:07:03 -04:00
2023-04-04 12:24:10 -04:00
# Add all source files here.
2023-04-04 12:04:06 -04:00
target_sources(app PRIVATE src/access.c src/buf.c src/main.c src/sock.c ../creole/creole.c)
2023-04-07 14:46:07 -04:00
# target_sources(app PRIVATE src/tests/test_ethernet.c)