diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/AVR-ATmega128-GCC/Makefile | 2 | ||||
-rw-r--r-- | demos/AVR-ATmega128-GCC/chconf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/AVR-ATmega128-GCC/Makefile b/demos/AVR-ATmega128-GCC/Makefile index 89b5118ff..f291af1fb 100644 --- a/demos/AVR-ATmega128-GCC/Makefile +++ b/demos/AVR-ATmega128-GCC/Makefile @@ -109,7 +109,7 @@ ASRC = # Optimization level, can be [0, 1, 2, 3, s].
# 0 = turn off optimization. s = optimize for size.
# (Note: 3 is not always the best optimization level. See avr-libc FAQ.)
-OPT = s
+OPT = 2
# Debugging format.
diff --git a/demos/AVR-ATmega128-GCC/chconf.h b/demos/AVR-ATmega128-GCC/chconf.h index 6ec07fca9..a3e829134 100644 --- a/demos/AVR-ATmega128-GCC/chconf.h +++ b/demos/AVR-ATmega128-GCC/chconf.h @@ -117,7 +117,7 @@ * provide the \p __heap_base__ and \p __heap_end__ symbols.
* @note requires \p CH_USE_HEAP.
*/
-#define CH_HEAP_SIZE 128
+#define CH_HEAP_SIZE 512
/** Configuration option: enforces the use of the C-runtime \p malloc() and
* \p free() functions as backend for the system heap allocator.*/
|