[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] malloc heap
From: |
Javier Almansa Sobrino |
Subject: |
[avr-gcc-list] malloc heap |
Date: |
Mon, 14 Jan 2008 14:43:34 +0100 |
Hello everybody. I'm writting a C proyect with avr-libc 1.6.1 and I
have some probles with __malloc_heap_start and __malloc_heap_end
initialization.
I use these line on my Makefile
$(CC)$(CFLAGS)-Wl,--defsym=__heap_start=0x800120,--defsym=_heap_end=0x800400,-Map,rs232toRS485.map-Wa,-gstabs
$^ -o $@
but I can see with avr-gdb and avarice that __malloc_heap_start and
__malloc_heap_end are not configured as I want so my program crashes.
How can I initialize this constans at compile time?
Thanks a lot
--
Nunca confies en un S.O. del que no tienes código fuente ;-)
--------------------------------
Javier Almansa Sobrino.
Ingeniero Técnico en Informática de Sistemas.
Grupo de Investigación ARCo.
Escuela Superior de Informática. Ciudad Real
Tel: (+34)926 29 53 00 Ext: 3705
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] malloc heap,
Javier Almansa Sobrino <=