Build serdis / sercon with size optimization

This commit is contained in:
Lorenz Meier 2016-09-04 21:44:30 +02:00
parent 07966de432
commit 3aa66da20f
2 changed files with 8 additions and 4 deletions

View File

@ -201,9 +201,11 @@ set(config_io_extra_libs
add_custom_target(sercon)
set_target_properties(sercon PROPERTIES
PRIORITY "SCHED_PRIORITY_DEFAULT"
MAIN "sercon" STACK_MAIN "2048")
MAIN "sercon" STACK_MAIN "2048"
COMPILE_FLAGS "-Os")
add_custom_target(serdis)
set_target_properties(serdis PROPERTIES
PRIORITY "SCHED_PRIORITY_DEFAULT"
MAIN "serdis" STACK_MAIN "2048")
MAIN "serdis" STACK_MAIN "2048"
COMPILE_FLAGS "-Os")

View File

@ -204,10 +204,12 @@ add_custom_target(sercon)
set_target_properties(sercon PROPERTIES
PRIORITY "SCHED_PRIORITY_DEFAULT"
MAIN "sercon"
STACK_MAIN "2048")
STACK_MAIN "2048"
COMPILE_FLAGS "-Os")
add_custom_target(serdis)
set_target_properties(serdis PROPERTIES
PRIORITY "SCHED_PRIORITY_DEFAULT"
MAIN "serdis"
STACK_MAIN "2048")
STACK_MAIN "2048"
COMPILE_FLAGS "-Os")