Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 2-region model for HEAP and Stack Memory #9571

Merged
merged 40 commits into from Feb 27, 2019
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
a322327
Use 2-region memory model in ARM rtos-less builds.
mprse Jan 31, 2019
e60a0f4
Remove duplicated _mbed_user_setup_stackheap, __rt_lib_init definitions.
mprse Jan 31, 2019
9c11288
mbed_retarget.cpp: Fixed style
mprse Jan 31, 2019
26a6a9a
Add RAM memory model update document
deepikabhavnani Feb 1, 2019
a1fe750
Interrupt stack is always explicitly specified, hence other condition…
deepikabhavnani Feb 4, 2019
41eaefe
Update memory model for stack and heap memory
deepikabhavnani Feb 6, 2019
8b02a60
TARGET_ARM_FM: Set the heap size and limit
deepikabhavnani Feb 6, 2019
25bceda
TARGET_Atmel: Set the heap size and limit
deepikabhavnani Feb 6, 2019
5e4dcab
Target_Cypress: Set the heap limit
deepikabhavnani Feb 6, 2019
e03455a
Target_Freescale: Set the heap size and limit
deepikabhavnani Feb 6, 2019
25a127e
target_Gigadevice: Set the heap size and limit
deepikabhavnani Feb 6, 2019
8c63dbe
Target_Maxim: Setup heap limit and size
deepikabhavnani Feb 6, 2019
b2e189f
Target_Nuvoton: Remove target specific implementation of _sbrk
deepikabhavnani Feb 6, 2019
57b9ccc
Target_NXP: Setup heap limit and size
deepikabhavnani Feb 7, 2019
73f4a52
Target_ONSEMI: Setup heap limit and size
deepikabhavnani Feb 7, 2019
a814078
Target_UNO_91H: Remove custom _sbrk, update heap limits
deepikabhavnani Feb 7, 2019
c85ca4d
TARGET_RENESAS: _sbrk updated to use limits from linker files no need…
deepikabhavnani Feb 7, 2019
1f57568
TARGET_Silicon_Labs Setup heap limit and size
deepikabhavnani Feb 7, 2019
e522c46
Target_STM:_sbrk updated to use limits from linker files no need to s…
deepikabhavnani Feb 7, 2019
72ae546
TARGET_TOSHIBA :Setup heap limit and size
deepikabhavnani Feb 7, 2019
c6a72f2
TARGET_TT: Setup heap limit and size
deepikabhavnani Feb 7, 2019
462f339
TARGET_Wiznet: Setup heap limit and size
deepikabhavnani Feb 7, 2019
537b364
Resolve build/type cast errors
deepikabhavnani Feb 7, 2019
d0cc7ac
Target_Cypress: Update linker files to add heap limit
deepikabhavnani Feb 10, 2019
9ed7e4d
Remove unnecessary endif
deepikabhavnani Feb 10, 2019
9d1ce66
ISR_STACK_START/ HEAP_START defines not used by GCC_ARM toolchain
deepikabhavnani Feb 10, 2019
b36147f
ISR_Stack_start/size defines are not needed, use linker file defines
deepikabhavnani Feb 10, 2019
f13a3e3
Fix GCC _sbrk allocation
deepikabhavnani Feb 11, 2019
e7e9e07
Update K64F linker files for general solution of 2-ram regions
deepikabhavnani Feb 11, 2019
9231e26
Corrected main thread stack size, was accidently updated by removing …
deepikabhavnani Feb 12, 2019
2a1211a
Add heaplimit to NRF52 devices
deepikabhavnani Feb 12, 2019
1a1c74c
mbed_rtx.h not to include in platform
deepikabhavnani Feb 12, 2019
38e9314
Add missing space in linker script
deepikabhavnani Feb 12, 2019
c5ad5f6
Target_Freescale:Add heap section
deepikabhavnani Feb 12, 2019
60e7a7d
Add heap section to linker file
deepikabhavnani Feb 13, 2019
f518a69
Remove unused heap_size define
deepikabhavnani Feb 13, 2019
0d4d45e
Spell correction in design doc
deepikabhavnani Feb 18, 2019
dab2a30
Target_Freescale: Add heap section in linker files
deepikabhavnani Feb 20, 2019
387e4ca
New heap can be equal to heap limit for last chunk
deepikabhavnani Feb 21, 2019
49266c1
Remove TOOLCHAIN_GCC_CW_NEWLIB files
deepikabhavnani Feb 22, 2019
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

TARGET_ARM_FM: Set the heap size and limit

  • Loading branch information...
deepikabhavnani committed Feb 6, 2019
commit 8b02a60b941856a5e022976e90041485d4b892ee
@@ -202,6 +202,7 @@ SECTIONS
PROVIDE(end = .);
__HeapBase = .;
*(.heap*)
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
__HeapLimit = .;
__heap_limit = .; /* Add for _sbrk */
} > RAM
@@ -202,6 +202,7 @@ SECTIONS
PROVIDE(end = .);
__HeapBase = .;
*(.heap*)
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
__HeapLimit = .;
__heap_limit = .; /* Add for _sbrk */
} > RAM
@@ -202,6 +202,7 @@ SECTIONS
PROVIDE(end = .);
__HeapBase = .;
*(.heap*)
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
__HeapLimit = .;
__heap_limit = .; /* Add for _sbrk */
} > RAM
@@ -202,6 +202,7 @@ SECTIONS
PROVIDE(end = .);
__HeapBase = .;
*(.heap*)
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
__HeapLimit = .;
__heap_limit = .; /* Add for _sbrk */
} > RAM
@@ -202,6 +202,7 @@ SECTIONS
PROVIDE(end = .);
__HeapBase = .;
*(.heap*)
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
__HeapLimit = .;
__heap_limit = .; /* Add for _sbrk */
} > RAM
@@ -24,7 +24,6 @@
#define INITIAL_SP (ZBT_SRAM2_START + ZBT_SRAM2_SIZE)
#endif


#endif /* defined(TARGET_...) */

#endif /* MBED_MBED_RTX_H */
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.