Hi all,
I want to know whether it is possible to provide an specific area of memory using the Linker Directive File.
I know this can be done using a different compiler but just not if GCC can do this.
E.g.
In default.ld
In test.cCode:SECTION { SOME_MEMORY_ADDRESS 0xFF100000 LENGTH(4) : }
Thanks, ;-)Code:#define RSET_CPU_REG (0xFF100000) int main() { *((unsigned int*)RSET_CPU_REG) = 0x0000003F; return 0; }
Rudolf



LinkBack URL
About LinkBacks


