[En-Nut-Discussion] NutHeapAlloc Error?

Timothy M. De Baillie debaillie at ciholas.com
Thu Oct 16 17:22:41 CEST 2008


Nathan Moore wrote:
> On Thu, Oct 16, 2008 at 12:09 AM, Tim DeBaillie <debaillie at ciholas.com>wrote:
>
>   
>>  From what I can tell, it would/could occur on ALL of the supported
>> processors. The part that allows this to happen in the first place is
>> that the heap size can be initialized to a NON-word boundary length.
>>     
>
>
> I don't think it's an issue for AVR because it's native word size is 1 byte.
>
> Nathan
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
>   
You are correct. This only affects any 32 bit word boundary processors. 
So the "else" fix could go inside of a:

#if defined(ARCH_32BIT)

Thanks,

Tim



More information about the En-Nut-Discussion mailing list