CMakeLists.txt 336 Bytes
Newer Older
Clément Foucher's avatar
Clément Foucher committed
1
2
3
4
5
6
7
8
9
10
11
if(CONFIG_OWNTECH_DAC_DRIVER)
  # Select directory to add to the include path
  zephyr_include_directories(./public_include)
  # Define the current folder as a Zephyr library
  zephyr_library()
  # Select source files to be compiled
  zephyr_library_sources(
    ./src/stm32_dac_driver.c
    ./src/owntech_dac_configure.c
    )
endif()