[En-Nut-Discussion] NutHeapRealloc

Thiago A. Corrêa thiago.correa at gmail.com
Wed May 21 17:04:42 CEST 2008


Hi Morty,

    Sorry for taking so long.
    I'm reviewing your patch, but I'm having some trouble compiling it. I got:

11:55:08: Located C:\programming\ethernut\nut\tools\win32\make.exe
C:/programming/ethernut/nut/arch/avr/os/context_gcc.c: In function
'NutThreadCreate':
C:/programming/ethernut/nut/arch/avr/os/context_gcc.c:336: error:
'NUTTHREADINFO' has no member named 'td_heap'
make[1]: *** [avr/os/context_gcc.o] Error 1
make: *** [all] Error 2
11:55:10: ----- 'make all' failed with error 2 -----


   Perhaps there is a file missing?

Regards,
    Thiago A. Correa

On Tue, May 6, 2008 at 12:27 PM, Moritz Struebe <morty at gmx.net> wrote:
> Looks like .zip are not welcome. Here a link:
> http://wwwcip.informatik.uni-erlangen.de/~simostro/nut.zip
>
> Morty
>
> Moritz Struebe schrieb:
>> Thiago A. Corrêa schrieb:
>>
>>>   Is there a newer version of the  NutHeapRealloc code?
>>>
>>>
>> Yes. I attached the tested one. It shouldn't be a big deal to use what
>> you like. I added quite a lot of other functions like assigning memory
>> to threads, or failing free if the dead beef is corrupted. But they are
>> ifdefed.
>>
>>
>>
>>> Kind Regards,
>>>     Thiago A. Correa
>>>
>>> On Tue, Apr 22, 2008 at 12:09 PM, Moritz Struebe <morty at gmx.net> wrote:
>>>
>>>
>>>> Ok, just ran a total of 100K malloc, realloc and free operations.
>>>>  I think my NutHeapRealloc is quite stable now. Ping me is you are
>>>>  interested.
>>>>
>>>>  Cheers
>>>>  Morty
>>>>
>>>>
>>>>  Moritz Struebe schrieb:
>>>>
>>>>
>>>>
>>>>> Hi everyone,
>>>>>
>>>>>
>>>>  >
>>>>  > I've written an nutHeapRealloc(). I didn't do intense testing yet, but I
>>>>  > think it should be working. Maybe someone wants to take a look at it.
>>>>  >
>>>>  > Morty
>>>>  >
>>>>
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>



More information about the En-Nut-Discussion mailing list