Go Down

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

Jantje

@Juraj

spot on :-)

thanks

Sloeber is actually SLOEBER and stands for Software Library for Open Boards in an Eclipse Runtime.
Or it is a acronym of the name of my cat -featured at the beginning of most of my Sloeber video's- who just happened to die at the time we needed to find a name because eclipse legal didn"t approve "Arduino Eclipse plugin"

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 -

mb111

It has to be "Software Library for Open Boards in an Eclipse Runtime."
Who would EVER! call their cat SLOEBER?



Hm,...wait.. maybe you.

belzebuthb

Hi everyone !
I want to add an option on this window (See the attached capture), with a library or an other solution.
It's possible ?

Thanks :)



Juraj

Hi everyone !
I want to add an option on this window (See the attached capture), with a library or an other solution.
It's possible ?

Thanks :)



in boards.txt. in Arduino IDE this is in Tools menu

belzebuthb

in boards.txt. in Arduino IDE this is in Tools menu

Ok thanks !
And how do I add a variable in boards.txt to use after in my code?


Juraj

Ok thanks !
And how do I add a variable in boards.txt to use after in my code?


see the boards.txt file. you will see how the existing menus are defined.
https://arduino.github.io/arduino-cli/latest/platform-specification/#boardstxt

belzebuthb

see the boards.txt file. you will see how the existing menus are defined.
https://arduino.github.io/arduino-cli/latest/platform-specification/#boardstxt
I saw, but I don't understand how to link boards.txt to my program.  :smiley-confuse:
For example, if I put an option to choose CAN (1 or 2 or 3), how can I get it back in my program? 

Juraj

I saw, but I don't understand how to link boards.txt to my program.  :smiley-confuse:
For example, if I put an option to choose CAN (1 or 2 or 3), how can I get it back in my program?
if it is an option in platform.txt the you can set its value.
and you can set -D with 'extra' flags over platform.txt

belzebuthb

if it is an option in platform.txt the you can set its value.
and you can set -D with 'extra' flags over platform.txt
Thanks a lot  :D :D :D

belzebuthb

Sorry I ask a lot of questions  :smiley-evil:
Is it possible to do write conditioner in boards.txt?

For example if CAN1 select, display baudrate selector



Thanks  :)

Juraj

Sorry I ask a lot of questions  :smiley-evil:
Is it possible to do write conditioner in boards.txt?

For example if CAN1 select, display baudrate selector



Thanks  :)
I think it is not possible, but I am not an expert in this.

belzebuthb


Jantje

Is it possible to do write conditioner in boards.txt?

For example if CAN1 select, display baudrate selector
This is mostly done by using the otion not--used baud rate 1, baud rate 2 ... as options for CAN1
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 -

vicente95650

I installed, on a windows 10 machine,  the windows version 4.3.3 of Sloeber  64-bit bundle as recommended and made sure paths are short and pathnames do not have spaces etc. When I execute  Sloeber-ide the first time it shows some errors along with the message that "Failed to configer Sloeber". Here are the errors copied from the Error Log. I repeated the install on a mac and got a similar error message. Is this something I can ignore? I am a beginner at this. I have previously attempted to install the Sloeber plugin on Yakindu SCT and got the same error; that is why I attempted to install using the method recommended in the Baeyens website.


eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -perspective io.sloeber.application.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -perspective io.sloeber.application.perspective

io.sloeber.core
Error
Tue Nov 17 07:45:39 PST 2020
Failed to configer Sloeber

eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -perspective io.sloeber.application.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -perspective io.sloeber.application.perspective

io.sloeber.core
Error
Tue Nov 17 07:45:39 PST 2020
Failed to install [DEPRECATED] Arduino mbed-enabled Boards


eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -perspective io.sloeber.application.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -perspective io.sloeber.application.perspective

io.sloeber.core
Error
Tue Nov 17 07:45:39 PST 2020
Failed to download "http://downloads.arduino.cc/cores/ArduinoCore-mbed-nonexistant.tar.bz2".

java.io.IOException: Failed to download url http://downloads.arduino.cc/cores/ArduinoCore-mbed-nonexistant.tar.bz2 error code is: 404
   at io.sloeber.core.api.PackageManager.myCopy(PackageManager.java:778)
   at io.sloeber.core.api.PackageManager.myCopy(PackageManager.java:740)
   at io.sloeber.core.managers.InternalPackageManager.downloadAndInstall(InternalPackageManager.java:351)
   at io.sloeber.core.managers.InternalPackageManager.downloadAndInstall(InternalPackageManager.java:130)
   at io.sloeber.core.managers.InternalPackageManager.startup_Pluging(InternalPackageManager.java:101)
   at io.sloeber.core.Activator$2.run(Activator.java:247)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -perspective io.sloeber.application.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -perspective io.sloeber.application.perspective

io.sloeber.core
Warning
Tue Nov 17 07:45:39 PST 2020
Failed to download url http://downloads.arduino.cc/cores/ArduinoCore-mbed-nonexistant.tar.bz2

java.io.IOException: Failed to download url http://downloads.arduino.cc/cores/ArduinoCore-mbed-nonexistant.tar.bz2 error code is: 404
   at io.sloeber.core.api.PackageManager.myCopy(PackageManager.java:778)
   at io.sloeber.core.api.PackageManager.myCopy(PackageManager.java:740)
   at io.sloeber.core.managers.InternalPackageManager.downloadAndInstall(InternalPackageManager.java:351)
   at io.sloeber.core.managers.InternalPackageManager.downloadAndInstall(InternalPackageManager.java:130)
   at io.sloeber.core.managers.InternalPackageManager.startup_Pluging(InternalPackageManager.java:101)
   at io.sloeber.core.Activator$2.run(Activator.java:247)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)


eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -perspective io.sloeber.application.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -perspective io.sloeber.application.perspective

io.sloeber.core
Warning
Tue Nov 17 07:45:39 PST 2020
Failed to download url http://downloads.arduino.cc/cores/ArduinoCore-mbed-nonexistant.tar.bz2 error code is: 404


eclipse.buildId=unknown
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -perspective io.sloeber.application.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -perspective io.sloeber.application.perspective

org.eclipse.egit.ui
Warning
Tue Nov 17 07:44:52 PST 2020
Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\vicen'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

Jantje

Sloeber does not come with any platform (read boards) so it tries to install a platform and the platform sloeber tries to install has been deprecated.
Solution
install the platform of your choice at window->preferences->arduino->platform&boards
press on the > untill you can select a version you want to install
select apply and close and wait for it to finish (look at bottom right)
You are ready to roll
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 -

Go Up