Hi there,
I downloaded espeasy mega (source code) from the github. Now I have created a bin file with Atom / Platformio.
Where or how is determined which devices are compiled with???
Plugins are in the src folder. I would like to create a bin file according to my needs.
Many Thanks
Thoralf
Select ESPEasy plugin compile with Atom ???
Moderators: grovkillen, Stuntteam, TD-er
Re: Select ESPEasy plugin compile with Atom ???
Atom (with PlatformIO installed) does have an environment selector in the lower left corner.
You can select a "custom" environment to build.
Then you rename the "Custom_sample.h" file to "Custom.h" and select which plugins you like to have in the build.
The build process detects if the Custom.h file exists and if it does, it will use that one as configuration for your build.
You can select a "custom" environment to build.
Then you rename the "Custom_sample.h" file to "Custom.h" and select which plugins you like to have in the build.
The build process detects if the Custom.h file exists and if it does, it will use that one as configuration for your build.
Re: Select ESPEasy plugin compile with Atom ???
Hi there,
that was the crucial clue. Many Thanks!!!
For example, if I want to add a VL53l0x (_P133 plugin) I copy the "_P133_VL53L0X.ino" into the src folder and the library into the lib folder. Then as you have described in the "custom.h" the reference for the VL53loX and then compile.
I tested your hint and only activated one sensor in "custom.h" and, as I had hoped, only one sensor was selected on the ESPEasy surface under "device".
That's exactly how I wanted it. Super!!!!
many Greetings
Thoralf
that was the crucial clue. Many Thanks!!!
For example, if I want to add a VL53l0x (_P133 plugin) I copy the "_P133_VL53L0X.ino" into the src folder and the library into the lib folder. Then as you have described in the "custom.h" the reference for the VL53loX and then compile.
I tested your hint and only activated one sensor in "custom.h" and, as I had hoped, only one sensor was selected on the ESPEasy surface under "device".
That's exactly how I wanted it. Super!!!!
many Greetings
Thoralf
Re: Select ESPEasy plugin compile with Atom ???
You're welcome.
Have fun!
Have fun!
Re: Select ESPEasy plugin compile with Atom ???
Hi there,
I still have a question about compiling. Sometimes I get the error message at the bottom left in Atom: "Custom: Build with error highlighting (dev_ESP8266_4096)".
Sometimes it still compiles a file and sometimes it doesn't. The file created is called "ESP_Easy_mega_20210116_custom_ESP8266_4M1M.bin" and works for my ESP 8266 too.
Atom apparently has a problem with the name "dev_ESP8266_4096". But where do you adjust that. I haven't changed anything regarding this designation.
many Greetings
Thoralf
I still have a question about compiling. Sometimes I get the error message at the bottom left in Atom: "Custom: Build with error highlighting (dev_ESP8266_4096)".
Sometimes it still compiles a file and sometimes it doesn't. The file created is called "ESP_Easy_mega_20210116_custom_ESP8266_4M1M.bin" and works for my ESP 8266 too.
Atom apparently has a problem with the name "dev_ESP8266_4096". But where do you adjust that. I haven't changed anything regarding this designation.
many Greetings
Thoralf
Re: Select ESPEasy plugin compile with Atom ???
I did use Atom for a while when developing for ESPEasy, but since I learned about VS code, I have not used Atom anymore as it was having lots of strange issues when working with such large projects as ESPEasy is.
So I suggest to have a look at VS code.
So I suggest to have a look at VS code.
Re: Select ESPEasy plugin compile with Atom ???
Hi there,
Thanks for your tip. The installation went without any problems.
Was able to create a bin file immediately and without much knowledge.
Will probably change.
Thoralf
Thanks for your tip. The installation went without any problems.
Was able to create a bin file immediately and without much knowledge.
Will probably change.
Thoralf
Who is online
Users browsing this forum: No registered users and 33 guests