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

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
JR01
Normal user
Posts: 260
Joined: 14 Feb 2016, 21:04
Location: South Africa

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

#1 Post by JR01 » 17 May 2020, 12:29

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 ?
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

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

#2 Post by ThomasB » 17 May 2020, 22:31

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

TD-er
Core team member
Posts: 8644
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#3 Post by TD-er » 18 May 2020, 00:09

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 :)

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

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

#4 Post by ThomasB » 18 May 2020, 00:46

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

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

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

#5 Post by grovkillen » 18 May 2020, 04:05

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.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests