mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 13:15:08 +08:00
Build serdis / sercon with size optimization
This commit is contained in:
@@ -175,10 +175,12 @@ add_custom_target(sercon)
|
|||||||
set_target_properties(sercon PROPERTIES
|
set_target_properties(sercon PROPERTIES
|
||||||
PRIORITY "SCHED_PRIORITY_DEFAULT"
|
PRIORITY "SCHED_PRIORITY_DEFAULT"
|
||||||
MAIN "sercon"
|
MAIN "sercon"
|
||||||
STACK_MAIN "2048")
|
STACK_MAIN "2048"
|
||||||
|
COMPILE_FLAGS "-Os")
|
||||||
|
|
||||||
add_custom_target(serdis)
|
add_custom_target(serdis)
|
||||||
set_target_properties(serdis PROPERTIES
|
set_target_properties(serdis PROPERTIES
|
||||||
PRIORITY "SCHED_PRIORITY_DEFAULT"
|
PRIORITY "SCHED_PRIORITY_DEFAULT"
|
||||||
MAIN "serdis"
|
MAIN "serdis"
|
||||||
STACK_MAIN "2048")
|
STACK_MAIN "2048"
|
||||||
|
COMPILE_FLAGS "-Os")
|
||||||
|
|||||||
Reference in New Issue
Block a user