Well sort of. All MPLAB C30 projects require a device-specific linker script. However, starting with MPLAB IDE 8.00, you no longer need to explicitly add a .gld file to your project. If you don't specify a .gld file in your project, the project manager will use a default name based on your selected device. When the project manager calls the linker, it passes the default linker-script name to the compilation shell via the -T option. The tools will know where to find the default linker script for the device.
This new feature in MPLAB IDE 8.00 makes creating and sharing projects much simpler. It also simplifies changing devices. Go ahead... try it. Remove your .gld file from your project tree and do a Project Build All.
Move to Wordpress
6 years ago
1 comment:
thanks. that's a great tip.
Post a Comment