Hi everyone,
I'd like to change the alignment mode for my K60FN1M0 MCU on the TWRK60F120 evaluation board. I'm using IDE Codewarrior 10.6 and GCC toolkit.
In fact, I'm even not sure if it's a compiler configuration or we should change somewhere in the codes manually
Please help me, many thanks!
Hello Kenan:
What is exactly the change you want to do? Is this about something like structure padding/packing? Or about how the linker organizes variables, code and memory space?
Please let us know more details.
Regards!
Jorge Gonzalez
Hi Jorge,
Thanks for your reply!
In fact, I'm trying to run FreeRTOS + lwIP communication stack on this TWRK60F120 board. Then in order to configure lwIP, something about the "memory alignment" is needed, which should be set to values like 4, 2, etc.
So, is this "memory alignment" setting declared somewhere in program as a "global variable"? Can we at meantime change it only for some structures or variables in program?
And if the alignment mode is predeclared, usually where should it be, in the liker file?
Thanks very much:smileywink: