Adding a DIY Firmware Configurator; thoughts? #202
Replies: 3 comments 17 replies
-
A monumental task:) Personally, it would be convenient for me to click a button and download the compiled bin in accordance with my config - I would be sure that the sources are the latest version, that the platformIO used is the right version, not to mention that I would not need to run a virtual machine with Linux to compile myself. I don't know how you can organize such on-demand compilation.... Well and with the first part (generation) is also not very simple: at each generation I don't want to start selecting options from scratch, so you have to import the config, but you can't make UI for all options - let's say thermistors can be listed, but my extruder has 565.42 steps or bed 230x220, not standard. The task is grandiose:) |
Beta Was this translation helpful? Give feedback.
-
How about the current Firmware Selector download the conchiguration files at the same time. My attempt to naively change the config: -#define DWIN_LCD_PROUI // Pro UI by MRiscoC
+//#define DWIN_LCD_PROUI // Pro UI by MRiscoC
//#define DACAI_DISPLAY
-//#define TJC_DISPLAY
+#define TJC_DISPLAY
#if ENABLED(DWIN_LCD_PROUI) So I would like to have a look at the actual configuration files of the TJC variant :) |
Beta Was this translation helpful? Give feedback.
-
It's a great idea in some form))) I really liked the firmware in general (especially after the stock one), now want more and more. :) For example, a toolbar from EX-UI, but without advanced settings. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Introductory
If you dont know, but over at
mriscoc/Special_Configurations
you will find- Creating your own custom configuration
Which basically generates a sort of "Firmware Selector" (using Python)
Key Points
After with the help of @Mik-S-UMS for the Firmware Selector idea, I did some thinking. @yrabbit gave me an idea...
because he uses JD /
JUNCTION_DEVIATION
instead ofCLASSIC_JERK
, and also a different Thermistor type.so what I propose is what if I make something similar to mriscoc's Professional Firmware Configurator;
where one could select different Options/Features and it will either spit out the right Configuration.h|Configuration_adv.h files.
or it will somehow compile and spit out a firmware.bin file on it's own.
Reasons
So already each build release has hundreds of options to choose from. Basically, if I were to also add
JUNCTION_DEVIATION
as an option instead - it would literally double the firmware files. I mean it is a totally valid option dont get me wrong, but I'm not sure such a great idea because of the sheer amount of files, so im looking if there is a way around.First before I begin, I have already done something similar using:
configurations_Define_Configuration_adv.h|.h
configurations_Undef_Configuration_adv.h|.h.
I'm not sure if I wrote up a Wiki about it, but I should anyway, simple use instructions can be found here:
//#include "../../../configurations/_Undef_Configuration.h" // **EXPERIMENTAL** Uncomment to use
//#include "../../../configurations/_Define_Configuration.h" // **EXPERIMENTAL** Uncomment to use
//#include "../../../configurations/_Undef_Configuration_adv.h" // **EXPERIMENTAL** Uncomment to use
//#include "../../../configurations/_Define_Configuration_adv.h" // **EXPERIMENTAL** Uncomment to use
Let's get down to business
Here is the point I am trying to make, and here comes the hard part... (To see if it's worth my time DOING).
I propose I write up something similar, except perhaps use my HTML page where the Firmware Selector is.
(Just let me know if this is something I should pursue or not)
Let's say I write up an html page that works either like a simple user interface like Professional Firmware Configurator (pictured above), or the _Define|_Undef_Configuration_adv|.h (probably better suited for the more advanced user - idk, its just a list of all the options).
Then what will happen is this will either create a Codespace or it will ask a user to create a fork of the repo and use Github Actions to make their very own Release which will upload with their edited firmware.bin file.
just looking for thoughts.
I'm just curious if it is even possible for me to add such an endeavor to a webpage, or should I just make/edit a Wiki with the other thing I mention (_Define|_Undef ...)
Beta Was this translation helpful? Give feedback.
All reactions