In my Keil project I have .SCT file where the heap and stack regions are defined. In addition to that I also saw these regions defined in startup_<STM_device>.s file as well. I'm unsure if they're in use or can be removed, if not required. Someone please help me find the reason for this memory allocation twice.