Page 1 of 1

where is 'pre_extra_script.py' to compile customer firmware? // or use Custom.h ? (let's fix the instructions then...

Posted: 17 May 2020, 12:29
by JR01
In instructions:

In https://espeasy.readthedocs.io/en/lates ... platformio

It says "If that’s working, you can open the file “pre_extra_script.py” and add or remove the plugins and controllers you need. "

I cannot find the file "pre_extra_script.py" - where is it? Or did the instructions change to compile a custom firmware?

I assume this is pre the Custom.h instructions ?

Re: where is 'pre_extra_script.py' to compile customer firmware? // or use Custom.h ? (let's fix the instructions then..

Posted: 17 May 2020, 22:31
by ThomasB
I looked around and it seems that the file has changed names. See pre_custom_<>.py files shown here:
https://github.com/letscontrolit/ESPEas ... /tools/pio

- Thomas

Re: where is 'pre_extra_script.py' to compile customer firmware? // or use Custom.h ? (let's fix the instructions then..

Posted: 18 May 2020, 00:09
by TD-er
Yep I moved them to a tools/pio directory, but forgot to update the documentation about it.
I'm not yet used to that idea that stuff is actually documented, so I missed updating it :)

Re: where is 'pre_extra_script.py' to compile customer firmware? // or use Custom.h ? (let's fix the instructions then..

Posted: 18 May 2020, 00:46
by ThomasB
Yes, unfortunately the docs are way out of sync with the ongoing code changes. I've run into many situations where I've needed to use the source code distribution to find out how to use a feature.

- Thomas

Re: where is 'pre_extra_script.py' to compile customer firmware? // or use Custom.h ? (let's fix the instructions then..

Posted: 18 May 2020, 04:05
by grovkillen
I have finally started to think up a more robust procedure for my personal workflow regarding the wiki. I hope to start follow it once the GUI has been incorporated into the release cycle. Sorry for this mess.