diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-07-03 17:33:50 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-07-03 17:33:50 +1000 |
commit | cffba2c1c9e350bd2c64dec7d30d1360e17dbac9 (patch) | |
tree | d488c4d617cf6e46a5e7cfd1921e107595958822 /src | |
parent | 9c3935bdb409ed59889aad8b5da45302b2fb1951 (diff) | |
parent | 7f9a894587ab881ff47b6dddb17e0f441a7cfa59 (diff) | |
download | uGFX-cffba2c1c9e350bd2c64dec7d30d1360e17dbac9.tar.gz uGFX-cffba2c1c9e350bd2c64dec7d30d1360e17dbac9.tar.bz2 uGFX-cffba2c1c9e350bd2c64dec7d30d1360e17dbac9.zip |
Merge branch 'master' into eCos
Diffstat (limited to 'src')
-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 c0cce08f..7937e082 100644 --- a/src/gos/sys_options.h +++ b/src/gos/sys_options.h @@ -82,6 +82,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 */ |