Which config.h file to use?

Printer firmware discussion
Post Reply
kharrisma
Reactions:
Posts: 5
Joined: June 8th, 2023, 8:13 pm
3D Printer(s): Creality Ender 3

Which config.h file to use?

Post by kharrisma »

Hi Forum Folke,

Likely a stupid newbie question, but WHICH *.h file am I supposed to use to set up my firmware: configuration.h, configuration_adv.h, or BOTH in some manner I have yet to discover? My current understanding is use configuration.h if you're just sticking with basic settings, and use configuration_adv.h if you want to set both basic AND advanced settings? Don't see how I could use both of them! Thanks a ton!
User avatar
Country_Bubba
Reactions:
Posts: 63
Joined: June 8th, 2019, 10:12 am
3D Printer(s): Tronxy X5S-400, Ender5
Contact:

Re: Which config.h file to use?

Post by Country_Bubba »

I am assuming that your talking about these files in Marlin? If so, when compiled the system will use both of them regardless of what changes you may make.
Having said that, there are a ton of options in each of these files that can be changed to suit your needs/desires.
You might peruse YouTube to see how to configure marlin. There are many good examples of what options might be changed.
When I was doing this, I viewed many and setup a spread sheet of the items (and values) that I wanted to change and used that as a check list.
HTH

Country
User avatar
Roberts_Clif
Reactions:
Posts: 1480
Joined: March 25th, 2017, 8:17 am
Location: Washington, State USA
3D Printer(s): Hictop 3DP11/12

Re: Which config.h file to use?

Post by Roberts_Clif »

BOTH configuration.h, configuration_adv.h are needed though configuration_adv.h have a lot of options that in simple mode work with default.

Most popular 3D Printers have a starting Marlin configuration.h that will supervise until you learn to configure you own custom config.
What 3D Printer are you look for configs for.
leoa69
Reactions:
Posts: 1
Joined: August 23rd, 2024, 3:33 pm
3D Printer(s): Binder jetting

Re: Which config.h file to use?

Post by leoa69 »

Country_Bubba wrote: October 1st, 2023, 8:46 am I am assuming that your talking about these files in Marlin? If so, when compiled the system will use both of them regardless of what changes you may make.
Having said that, there are a ton of options in each of these files that can be changed to suit your needs/desires.
You might peruse YouTube to see how to configure marlin. There are many good examples of what options might be changed.
When I was doing this, I viewed many and setup a spread sheet of the items (and values) that I wanted to change and used that as a check list.
HTH

Country
Are the files in Marlin firmware used automatically during compilation regardless of changes? How can I manage and customize the options? Any tips on configuring Marlin, like using YouTube Vanced tutorials or making a checklist?
User avatar
Country_Bubba
Reactions:
Posts: 63
Joined: June 8th, 2019, 10:12 am
3D Printer(s): Tronxy X5S-400, Ender5
Contact:

Re: Which config.h file to use?

Post by Country_Bubba »

In order to compile, all the files will be used in its entirety or partially as required by the compiler.
I use Visual Studio as the text editor to make the changes and do the compiling. You 'can' use a plain text editor such as notepad++, but still have to have a compiler to finish the project. There are several YouTube tutorials that I have seen over the years and suggest you do a search. I say this rather than giving a list as things have changed over the years (for the better) which such features as auto build. There have probably been several updates since my last use a bit over a year ago so a lot of what I would say could be outdated and wrong. Doing current research is your best friend.

As for a checklist, as previously indicated, I setup a spreadsheet with main headings which indicated the source of my desires such as requirements for Octoprint, ideas from various forums such as this, youtube creators etc.
Then break this down to the actual search terms that might be needed to be sure certain commands as needed are properly set. and finally check boxes when the change is made in the .h file(s).

Then start out finding the factory files for your printer to be used as a base (and keep the originals as backups in case you bork something along the way, you can go back and try again (yep, been there done that for sure).

HTH

Country
Post Reply

Return to “Firmware”