Вычистил из примера Freertos. То что осталось - какой-то там
вебсервер... coocox
-O1
Program Size:
text data bss dec hex
36701 2492 10028 49221 c045
-O2
text data bss dec hex
37013 2492 10028 49533 c17d
-O3
text data bss dec hex
43261 2492 10020 55773 d9dd
-Os
text data bss dec hex
35485 2492 10020 47997 bb7d