Reducing code size.
Posted: Mon Oct 10, 2016 6:16 pm
(and/or RAM).
I have an application where I got the 16k version of the STM32F042. Stupid: should've gotten the 32k version. Anyway, my application barely fits in the 15k available for program memory.
One of the things I saw was an "thread-exit" function that was taking some space. I start the threads (main+one other), and never exit. I thought I remembered seeing here some way to disable code generation for the exit-a-thread part of chibios.
Is that still possible?
I have an application where I got the 16k version of the STM32F042. Stupid: should've gotten the 32k version. Anyway, my application barely fits in the 15k available for program memory.
One of the things I saw was an "thread-exit" function that was taking some space. I start the threads (main+one other), and never exit. I thought I remembered seeing here some way to disable code generation for the exit-a-thread part of chibios.
Is that still possible?