Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozingfiretruck committed Apr 30, 2024
2 parents 12d3cad + 640ae99 commit a273f2a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 332 deletions.
2 changes: 1 addition & 1 deletion project/example_audio_flash/ci_conf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"build" : {
"chip_target": ["ec718p", "ec718pv"]
"chip_target": ["ec718p"]
}
}
331 changes: 0 additions & 331 deletions project/example_pm_hib_gpio_wakeup/inc/mem_map_7xx.h

This file was deleted.

27 changes: 27 additions & 0 deletions project/project.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,33 @@ function description_csdk()
"-Wl,--wrap=time",
{force = true})

-- 已经生效的GCC警告信息
add_cxflags("-Werror=maybe-uninitialized")
add_cxflags("-Werror=unused-value")
add_cxflags("-Werror=array-bounds")
add_cxflags("-Werror=return-type")
add_cxflags("-Werror=overflow")
add_cxflags("-Werror=empty-body")
add_cxflags("-Werror=old-style-declaration")
-- add_cxflags("-Werror=implicit-function-declaration")
add_cxflags("-Werror=implicit-int")

-- 暂不考虑的GCC警告信息
add_cxflags("-Wno-unused-parameter")
add_cxflags("-Wno-unused-but-set-variable")
add_cxflags("-Wno-sign-compare")
add_cxflags("-Wno-unused-variable")
add_cxflags("-Wno-unused-function")

-- 待修复的GCC警告信息
add_cxflags("-Wno-int-conversion")
add_cxflags("-Wno-discarded-qualifiers")
add_cxflags("-Wno-pointer-sign")
add_cxflags("-Wno-type-limits")
add_cxflags("-Wno-incompatible-pointer-types")
add_cxflags("-Wno-pointer-to-int-cast")
add_cxflags("-Wno-int-to-pointer-cast")

-- ==============================
-- === includes =====
-- SDK相关头文件引用
Expand Down

0 comments on commit a273f2a

Please sign in to comment.