Eclipse builder: internal or makefile?

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
User avatar
Cesare
Posts: 38
Joined: Tue Jul 11, 2017 11:51 am
Has thanked: 4 times
Been thanked: 4 times

Eclipse builder: internal or makefile?

Post by Cesare »

Good morning to everyone,
I am a new happy ChibiOs user.
I have been developed embedded with Eclipse CDT + Gnu Arm Plugin + GCC + Openocd for several years and I always used the internal builder without using makefiles (all compiler and linker options are edited through user interface).
I imported ChibiOs in Eclipse and set the builder to external in order to use its own makefiles but I found out that I personally prefer editing options using the user interface rather then editing each makefiles.

So, my question is: are there any reason to prefer using makefiles than the internal builder?

Thank you.

PS: at the moment I am not going to use ChibiStudio.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Eclipse builder: internal or makefile?

Post by Giovanni »

Hi,

The reason is: Makefiles are modular and centralized, we can change a single .mk file and have all demos updated. Using the internal generator would mean fixing all projects manually, there are hundreds of them even not considering user projects.

Also, our makefiles handle a lot of things, make sure to replicate all the little bits and settings in your setup.

Giovanni
User avatar
Cesare
Posts: 38
Joined: Tue Jul 11, 2017 11:51 am
Has thanked: 4 times
Been thanked: 4 times

Re: Eclipse builder: internal or makefile?

Post by Cesare »

Perfectly understood.

Thank you Giovanni
Post Reply