PSoC >> PSoC Mixed-Signal Array

bkropf
Cypress AE


Reged: Jul 12 2007
Posts: 21
Re: Unused routines on program memory
      Fri Apr 18 2008 11:54 AM

Unfortunately, HI-TECH doesn't do any removal of assembly language routines. It either links in a whole .asm file or it doesn't.

Another way you can accomplish what you want is by adding your own source .asm file. You can cut and paste only the routines and code you want from the library .asm file (and any needed .inc or .h files). You could change the names of each of the routines in the same way. Then, your calls to the routines will only go to your custom file, and there will be no calls to routines in your library .asm file. Then, the library .asm file won't get linked in at all, whereas your customer .asm file will. Now, you're only linking in exactly the routines you want. This may be slightly tedious, but it should work fine. You also wouldn't need to worry about trusting someone else's perl script

Best regards,
Ben

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Unused routines on program memory Filippo - ELMARC Thu Apr 17 2008 03:33 AM
. * * Re: Unused routines on program memory bkropf   Fri Apr 18 2008 11:54 AM
. * * Re: Unused routines on program memory Serhiy   Fri May 09 2008 12:53 PM
. * * Re: Unused routines on program memory clydeAdministrator   Fri May 09 2008 05:21 PM
. * * Re: Unused routines on program memory Serhiy   Mon May 12 2008 06:17 AM
. * * Re: Unused routines on program memory alager   Mon Apr 21 2008 11:47 AM
. * * Re: Unused routines on program memory Filippo - ELMARC   Thu May 08 2008 05:01 AM
. * * Re: Unused routines on program memory mikerjModerator   Thu May 08 2008 05:21 AM
. * * Re: Unused routines on program memory alager   Fri Apr 18 2008 11:26 AM

Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  ndouglas, Dan Henry, jtemples, jeff, Andrew L, mikerj, dave g, meisty, josh stevo 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Thread views: 2140

Rate this thread

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5