How to reduce the project size.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-23 11:56 AM
Posted on June 23, 2012 at 20:56
hi,
i have the project from IAR Embedded workbench when i try to compile it size code exceed,, i am using only code size limited.this project have lot of function like LCD, Temp sensor, USART, ect..now i am just trying to use only USART and CAN function..so how i can remove those unwanted function from that project.Thanks.....
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-23 2:47 PM
Posted on June 23, 2012 at 23:47
Edit the files to remove the unused/unwanted functions?
(or disable them with #if) If complete files are unused, remove them from the project?
A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
A complex system designed from scratch never works and cannot be patched up to make it work.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-23 3:30 PM
Posted on June 24, 2012 at 00:30
thanks for your reply..
i remove some file which i dont want to use then i got likeError[Li005]: no definition for ''Stepper_Motor_Test'' [referenced from C:\Documents and Settings\RAJ\Desktop\ST\STM32F10x\IAR-STM32F107VC-SK\Test_Demo\project\EWARMv5\STM32F107VCT6\Obj\menu.o] i got some of the error like this what i can do for such error.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-23 4:48 PM
Posted on June 24, 2012 at 01:48
Remove calls to functions and files you have removed.
Alternatively start a new project and just copy in the functionality you want/need. The firmware library contains template projects which are empty, copy these to new directories.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
