Skip to content

Commit

Permalink
[nrf noup] zephyr: Fix inclusion of QT APP
Browse files Browse the repository at this point in the history
fixup! [nrf noup] zephyr: Add support for Zephyr

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed Jun 1, 2023
1 parent 33e38ff commit f3391ef
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,22 @@ zephyr_library()
set(SOURCES_BASE ${CMAKE_CURRENT_SOURCE_DIR}/../)
# Enable of same options as upstream points to issues with Zephyr
# headers, so, for now, we disable them.
zephyr_library_compile_options(
zephyr_library_compile_options_ifdef(CONFIG_WFA_QT_CONTROL_APP
-Werror
# False positive, not going away even with null check
-Wno-format-overflow
)

zephyr_library_compile_definitions(
zephyr_library_compile_definitions_ifdef(CONFIG_WFA_QT_CONTROL_APP
CONFIG_ZEPHYR
)

zephyr_include_directories(
zephyr_include_directories_ifdef(CONFIG_WFA_QT_CONTROL_APP
${SOURCES_BASE}
${SOURCES_BASE}/zephyr/include
#${ZEPHYR_BASE}/include/zephyr/posix
)

zephyr_library_sources(
zephyr_library_sources_ifdef(CONFIG_WFA_QT_CONTROL_APP
# Zephyr's port of the Indigo API
${SOURCES_BASE}/zephyr/src/indigo_api_callback_dut.c
${SOURCES_BASE}/zephyr/src/vendor_specific_dut.c
Expand Down

0 comments on commit f3391ef

Please sign in to comment.