Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need to compile individual c modules instead of the whole project

Status
Not open for further replies.

*anita*

Newbie level 3
Joined
Sep 2, 2012
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
Hello ,
When we have a project containing thousands of c modules , in order to build all the files , it will take lot of time. Is there a way that if we make changes in one c file , we should be able to build only that c file and flash that part alone. I know that this is not so straight forward. But i think in linux kernel modules works something like this. I would like peoples to share their views on this so that it would help me understand the practical difficulties.

Regards,
Anita.
 

It probably depends on the microcontroller, compiler & IDE. Using PICs with MPLAB and Hitech/Microchip C compiler it will normally only build the changed modules but download the whole program. You can 'manually' specify the area to program so if you forced certain modules into certain places you could possibly only partially flash it, but usually flashing doesn't take too long so I am not sure it is worth the effort.

Keith
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top