How to adjust stack and heap Posted by Joe.Merten on 2016-01-04 12:21 For my opinion, you should beware of syscalls.c _sbrk() evil implementation (see also here). Note also, that your linker script modifications might be overwritten every time when you use CubeMX code generation (see also st.com).