diff options
author | pashamray <pashamray@gmail.com> | 2014-07-05 13:50:36 +0300 |
---|---|---|
committer | pashamray <pashamray@gmail.com> | 2014-07-05 13:50:36 +0300 |
commit | d16f51c67b8ccd578b8df69464da05618a10608d (patch) | |
tree | c22331789e0fc40b2c6b4bc60159b236fab7492f /src/gos/sys_options.h | |
parent | d8d47f804e245b48afbc0058aa3731c58934dfda (diff) | |
parent | 5dba30b0a8e6c7a171784b18019974336ab633a8 (diff) | |
download | uGFX-d16f51c67b8ccd578b8df69464da05618a10608d.tar.gz uGFX-d16f51c67b8ccd578b8df69464da05618a10608d.tar.bz2 uGFX-d16f51c67b8ccd578b8df69464da05618a10608d.zip |
master слито с pcf8812
Diffstat (limited to 'src/gos/sys_options.h')
-rw-r--r-- | src/gos/sys_options.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gos/sys_options.h b/src/gos/sys_options.h index cfbed057..c7376878 100644 --- a/src/gos/sys_options.h +++ b/src/gos/sys_options.h @@ -75,6 +75,19 @@ #ifndef GFX_FREERTOS_USE_TRACE #define GFX_FREERTOS_USE_TRACE FALSE #endif + /** + * @brief How much RAM should uGFX use for the heap + * @details Defaults to 0. Only valid with GFX_USE_OS_RAW32 + * @note If 0 then the standard C runtime malloc(), free() and realloc() + * are used. + * @note If it is non-zero then this is the number of bytes of RAM + * to use for the heap (gfxAlloc() and gfxFree()). No C + * runtime routines will be used and a new routine @p gfxAddHeapBlock() + * is added allowing the user to add extra memory blocks to the heap. + */ + #ifndef GOS_RAW_HEAP_SIZE + #define GOS_RAW_HEAP_SIZE 0 + #endif /** @} */ #endif /* _GOS_OPTIONS_H */ |