You can do this by creating your own linker description file. IIRC you can
specify it to the linker with the -t option.
----- Original Message -----
From: "Carl Hakenäs" <[email protected]>
To: <[email protected]>
Sent: Tuesday, August 19, 2008 9:17 AM
Subject: [Mspgcc-users] Compiling for custom devices (RAM & ROM)
Hello,
First, the mspgcc is a great project! Really nice!
I need my mspgcc to compile for a custom RAM/ROM size and hopefully
also custom addresses for rom&ram.
I have tried to experiment with the __data_start and __stack but i
cant make it work.
I would like to compile for a device with 5kb of RAM and 5kb of ROM.
The reason I would like to do this is because I have implemented the
MSP430 in an FPGA using VHDL and I would like to run the dhrystone
program but this requires about 5kb RAM and ROM.
I could compile for a device with lots of RAM but then the ROM file
will be huge.
Also, if I could change the location of RAM and ROM it would be really
good.
The FPGA-implementation might be at opencores.org for public download.
// Carl
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users