diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2016-01-11 08:03:16 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2016-01-11 08:03:16 +0100 |
commit | a76c17684096b82225be269f32edb0a228909893 (patch) | |
tree | 2ad02971dc7954873827988c8fd8e2f789f5302a | |
parent | 1ad99cbe4a3629e0460ef484c3eef6b177cedd9b (diff) | |
download | uGFX-a76c17684096b82225be269f32edb0a228909893.tar.gz uGFX-a76c17684096b82225be269f32edb0a228909893.tar.bz2 uGFX-a76c17684096b82225be269f32edb0a228909893.zip |
Revert "Setting the default heap size to 5120 bytes to avoid confusion due to linker errors when no malloc() / free() are available"
This reverts commit ed9a422d81994047edc59794ff26bbcc1f7ea6c5.
-rw-r--r-- | docs/releases.txt | 1 | ||||
-rw-r--r-- | gfxconf.example.h | 2 | ||||
-rw-r--r-- | src/gos/gos_options.h | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/docs/releases.txt b/docs/releases.txt index 953a8445..5f0b693b 100644 --- a/docs/releases.txt +++ b/docs/releases.txt @@ -10,7 +10,6 @@ FEATURE: Added Altera-MAX10-NEEK board support FIX: Vastly improving keyboard widget default rendering FEATURE: Added ILI9342 driver FIX: Fixing issues where wrong 'progress' color from widget style palette was used -CHANGE: Default heap size set to 5120 byes when using RAW32 port *** Release 2.4 *** diff --git a/gfxconf.example.h b/gfxconf.example.h index d58a1b0e..03f1f264 100644 --- a/gfxconf.example.h +++ b/gfxconf.example.h @@ -48,7 +48,7 @@ // #define GFX_CPU GFX_CPU_UNKNOWN // #define GFX_CPU_NO_ALIGNMENT_FAULTS FALSE // #define GFX_CPU_ENDIAN GFX_CPU_ENDIAN_UNKNOWN -// #define GFX_OS_HEAP_SIZE 5120 +// #define GFX_OS_HEAP_SIZE 0 // #define GFX_OS_NO_INIT FALSE // #define GFX_OS_INIT_NO_WARNING FALSE // #define GFX_OS_PRE_INIT_FUNCTION myHardwareInitRoutine diff --git a/src/gos/gos_options.h b/src/gos/gos_options.h index c61b407f..0c6fd7a7 100644 --- a/src/gos/gos_options.h +++ b/src/gos/gos_options.h @@ -182,7 +182,7 @@ #endif /** * @brief How much RAM should uGFX use for the heap when using its own internal heap allocator - * @details Defaults to 5120. + * @details Defaults to 0. * @note Only used when the internal ugfx heap allocator is used * (GFX_USE_OS_RAW32, GFX_USE_OS_ARDUINO, GFX_US_OS_KEIL, GFX_USE_OS_CMSIS) * @note If 0 then the standard C runtime malloc(), free() and realloc() @@ -193,7 +193,7 @@ * is added allowing the user to add extra memory blocks to the heap. */ #ifndef GFX_OS_HEAP_SIZE - #define GFX_OS_HEAP_SIZE 5120 + #define GFX_OS_HEAP_SIZE 0 #endif /** @} */ |