Skip to content

Commit

Permalink
iut: add -Werror to make all warnings into errors
Browse files Browse the repository at this point in the history
Detect and suppress all build warnings on time.
  • Loading branch information
kwd-doodling committed Nov 9, 2023
1 parent 3e438e0 commit 7b4c256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zephyr/iut_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(iut_test)

zephyr_linker_sources(RODATA custom-sections.ld)
zephyr_cc_option(-Werror)

target_include_directories(app PRIVATE ./include)

Expand Down

0 comments on commit 7b4c256

Please sign in to comment.