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
Visit site
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.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…