Question
How to put HAL ISR into SRAM?
Posted on July 04, 2016 at 07:53
My current SRAM usage on STM32F042 is miniscule. Since there doesn't appear to be a way to shut off parts of the SRAM for lower current usage (am I wrong?), the next best thing I can do to save power is to move frequently executed functions into SRAM. I know how to do this with my own code, but since I am regenerating the CubeMx code frequently (still in active development), whatever I modify in the stm32f0xx_it.c will be overwritten.
Any suggestions? Thanks for reading. #cubemx-hal-isr