You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The default implementation of _sbrk() (in common/retarget.cpp) for GCC_ARM requires one-region model (heap and stack share one region), which doesn't
23
-
* fit two-region model (heap and stack are two distinct regions), for example, NUMAKER-PFM-NUC472 locates heap on external SRAM. Define __wrap__sbrk() to
24
-
* override the default _sbrk(). It is expected to get called through gcc hooking mechanism ('-Wl,--wrap,_sbrk') or in _sbrk().
21
+
/* Support heap with two-region model
22
+
*
23
+
* The default implementation of _sbrk() (in mbed_retarget.cpp) for GCC_ARM requires one-region
24
+
* model (heap and stack share one region), which doesn't fit two-region model (heap and stack
25
+
* are two distinct regions), e.g., stack in internal SRAM/heap in external SRAM on NUMAKER_PFM_NUC472.
26
+
* Hence, override _sbrk() here to support heap with two-region model.
* The default implementation of _sbrk() (in common/retarget.cpp) for GCC_ARM requires one-region model (heap and stack share one region), which doesn't
23
-
* fit two-region model (heap and stack are two distinct regions), for example, NUMAKER-PFM-NUC472 locates heap on external SRAM. Define __wrap__sbrk() to
24
-
* override the default _sbrk(). It is expected to get called through gcc hooking mechanism ('-Wl,--wrap,_sbrk') or in _sbrk().
21
+
/* Support heap with two-region model
22
+
*
23
+
* The default implementation of _sbrk() (in mbed_retarget.cpp) for GCC_ARM requires one-region
24
+
* model (heap and stack share one region), which doesn't fit two-region model (heap and stack
25
+
* are two distinct regions), e.g., stack in internal SRAM/heap in external SRAM on NUMAKER_PFM_NUC472.
26
+
* Hence, override _sbrk() here to support heap with two-region model.
* The default implementation of _sbrk() (in common/retarget.cpp) for GCC_ARM requires one-region model (heap and stack share one region), which doesn't
23
-
* fit two-region model (heap and stack are two distinct regions), for example, NUMAKER-PFM-NUC472 locates heap on external SRAM. Define __wrap__sbrk() to
24
-
* override the default _sbrk(). It is expected to get called through gcc hooking mechanism ('-Wl,--wrap,_sbrk') or in _sbrk().
21
+
/* Support heap with two-region model
22
+
*
23
+
* The default implementation of _sbrk() (in mbed_retarget.cpp) for GCC_ARM requires one-region
24
+
* model (heap and stack share one region), which doesn't fit two-region model (heap and stack
25
+
* are two distinct regions), e.g., stack in internal SRAM/heap in external SRAM on NUMAKER_PFM_NUC472.
26
+
* Hence, override _sbrk() here to support heap with two-region model.
* The default implementation of _sbrk() (in common/retarget.cpp) for GCC_ARM requires one-region model (heap and stack share one region), which doesn't
23
-
* fit two-region model (heap and stack are two distinct regions), for example, NUMAKER-PFM-NUC472 locates heap on external SRAM. Define __wrap__sbrk() to
24
-
* override the default _sbrk(). It is expected to get called through gcc hooking mechanism ('-Wl,--wrap,_sbrk') or in _sbrk().
21
+
/* Support heap with two-region model
22
+
*
23
+
* The default implementation of _sbrk() (in mbed_retarget.cpp) for GCC_ARM requires one-region
24
+
* model (heap and stack share one region), which doesn't fit two-region model (heap and stack
25
+
* are two distinct regions), e.g., stack in internal SRAM/heap in external SRAM on NUMAKER_PFM_NUC472.
26
+
* Hence, override _sbrk() here to support heap with two-region model.
* The default implementation of _sbrk() (in common/retarget.cpp) for GCC_ARM requires one-region model (heap and stack share one region), which doesn't
23
-
* fit two-region model (heap and stack are two distinct regions), for example, NUMAKER-PFM-NUC472 locates heap on external SRAM. Define __wrap__sbrk() to
24
-
* override the default _sbrk(). It is expected to get called through gcc hooking mechanism ('-Wl,--wrap,_sbrk') or in _sbrk().
21
+
/* Support heap with two-region model
22
+
*
23
+
* The default implementation of _sbrk() (in mbed_retarget.cpp) for GCC_ARM requires one-region
24
+
* model (heap and stack share one region), which doesn't fit two-region model (heap and stack
25
+
* are two distinct regions), e.g., stack in internal SRAM/heap in external SRAM on NUMAKER_PFM_NUC472.
26
+
* Hence, override _sbrk() here to support heap with two-region model.
0 commit comments