Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 398040 times) previous topic - next topic

Jantje

Quote
I thought there must be something similar for Sloeber, but I can't find any doco.
If there is documentation it is not on sloeber.io. I never heard of this.
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

william_ferguson_au

#1081
Nov 29, 2018, 02:20 pm Last Edit: Nov 29, 2018, 02:20 pm by william_ferguson_au
So is there any way from within Sloeber to include a binary file (such as an SSL certificate) into the compiled application binary?

Jantje

Quote
So is there any way from within Sloeber to include a binary file (such as an SSL certificate) into the compiled application binary?
This is a very open question which doesn't mean anything implementation wise.
Answering it even openly I say "yes".
Yes because sloeber is opensource and as such you can modify anything (but you can't because you don't have the time)

If you want a real answer you will have to be less open in your question.
What one needs to know is:
Which commands need to be executed at which time.

As a shortcut: take a look at project properties->arduino->compile options
There you can append to the build commands

You can run a extra command before building. To do so go to
Project properties->C/C++build->settings->build steps
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

ov10fac

I am not a long time sloeber user, but have used the underlying program Eclipse for Java, PHP and C++ programming.  If I were interested in doing what you want to do, I would first look into make files for C++ to see if it can even be done.  If you can do the import with a make file, there should be a way to alter the build commands to include the file you want.  The trick may be to not just import it, but to be able to access the data once you have the program compiled.

Just some thoughts that may be way out in space.

jschw

Hey guys, first of all, great plugin! Far more comfortable than the Arduino IDE.

But one question: Is there a way to upload the binaries created from sloeber without eclipse via commandline with the esptool.exe? Can the command be displayed which is launched by sloeber after compilation? The console output in eclipse seems to be incomplete.

edit: Additional info: I want to flash an ESP32 (WEMOS Lolin32).

GonzaloCG

Hello, is it possible to create project folders ?, for example, a folder "library tests", another "hardware tests" another "prototypes", etc., and within these put the projects. I have reached the point where I have about 30 projects and maintaining order is complicated, so creating sub-folders would be very useful. if this is already implemented, how is it done ?, I have tried the menus that I had available, the one to create folders only makes it inside the folder of a project therefore it does not work.

I also have to mention that I have found a problem, the version 2.5.0 of the ESP8266 core has so many configurations that some do not reach to be visible in the project configuration, for which I can not select the ones that are hidden, leaving the core unused. Also note that there is a large empty space at the beginning of the list of properties.
My operating system is Windows 8, also provide Windows 7 and the same thing happens. My version of Sloeber is 4.3.1 in both tests.

by the way, excellent plugin, since I met him I have not used Arduino IDE ...

cwichel

Hello!

It's possible to use Sloeber to program an AVR MCU without Arduino.h (not including it/compiling it)?

Thanks!

Go Up