mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 01:53:34 +08:00
cmake enable -Wcast-align and disable per module
This commit is contained in:
@@ -35,8 +35,7 @@ px4_add_module(
|
||||
MAIN bl_update
|
||||
STACK_MAIN 4096
|
||||
COMPILE_FLAGS
|
||||
-Wno-cast-align # TODO: fix and enable
|
||||
SRCS
|
||||
bl_update.c
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ px4_add_module(
|
||||
MAIN hardfault_log
|
||||
STACK_MAIN 2100
|
||||
COMPILE_FLAGS
|
||||
-Wno-cast-align # TODO: fix and enable
|
||||
SRCS
|
||||
hardfault_log.c
|
||||
DEPENDS
|
||||
|
||||
Reference in New Issue
Block a user