heap: increased size (#3924)

* reduced reserved memory size for system stack; added temporary markup to monitor usage
* fbt: relink elf file on linker script change; removed debug memory fill
* Make PVS Happy
* Make doxygen happy

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
hedger 2024-10-14 19:26:17 +01:00 committed by RogueMaster
parent fda44a0584
commit b03c5fe604
3 changed files with 3 additions and 2 deletions

View file

@ -232,6 +232,7 @@ fwelf = fwenv["FW_ELF"] = fwenv.Program(
sources,
LIBS=fwenv["TARGET_CFG"].linker_dependencies,
)
Depends(fwelf, fwenv["LINKER_SCRIPT_PATH"])
# Firmware depends on everything child builders returned
# Depends(fwelf, lib_targets)

View file

@ -3,7 +3,7 @@ ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_stack_end = 0x20030000; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_stack_size = 0x1000; /* required amount of stack */
_stack_size = 0x200; /* required amount of stack */
MEMORY {
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K

View file

@ -3,7 +3,7 @@ ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_stack_end = 0x20030000; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_stack_size = 0x1000; /* required amount of stack */
_stack_size = 0x200; /* required amount of stack */
MEMORY {
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K