All the memory requirments on the Freertos website are for an 8-bit architecture. It says: "Using GCC and the AVR as an example, the base kernel including queues and semaphores consumes approximately 4.4KBytes." So for the AT91SAM7S256 (32-bit) will consume about 32Kbytes of Flash? Thanks for any info. Thanks.
Absolutely not. 8 bit machines can take a lot of instructions to do simple tasks. 32 bits machines can encode much more in a single instruction so your suggestion is much to simplistic. I think on ARM the kernel takes less than 8K but this depends on your compiler and optimisation.
Thanks for the great post! Any ideas on how I could get these exact numbers for the ARM? I am trying to do some research before I dive into the project! :) Thanks!
Using GCC with Rowley CrossWorks its about 7.5K with optimisation on. Regards.
Do you have any numbers for the IAR compiler? :)
Barry, Do you have any memory consumption cases for the 32-bit arm like there are for the 8-bit cases on the website? Thanks.
I suggest you download the KickStart version of the IAR compiler. This is free and can be used to build the FreeRTOS code. You can then experiment with different builds and get all the information you require. Regards.
I ran it on the IAR compiler, and I think it was about 5 k flash. Jokke
Sweet! Thanks guys! -Henk
Jokke, What about the SAM7.mac and SAM7_RAM.mac? Thanks. -Henk
Sorry, not sure your point here. What about them? These files contain macros used by the debugger to perform various tasks on debugger events (eg reset). Regards.
Looks like I posted to the wrong thread! My post would have made more sense. :) The point is that I am trying make sure I am not missing something when moving from the AT91SAM7S64 to the AT91SAM7S256. If these files should be the same then I don’t need to worry about them. -Henk
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.