Joined: Thu Feb 25, 2010 5:02 pm Posts: 88
|
|
One way would be to make sure the Flash1 area is defined in the linker file...
Then in your code locate some of your functions to this segment.
e.g. with Crossworks I would place funtions with the following syntax, your compiler should have a "section" keyword to do this.
Source code (assumes "flash1" is defined for Flash1 area):
void foobar1(void) __attribute__ ((section(".flash1"))); void foobar2(void) __attribute__ ((section(".flash1"))); ...etc...
_________________ Duane P. Fridley, IEEE CSDP Viable Bytes, Inc.
|
|