Arduino IDE
https://www.arduino.cc/en/software
The open-source Arduino Software (IDE) makes it easy to write code and upload it to the board. This software can be used with any Arduino board.
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout CrossToolchain:avr/Arduino && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
0001-use-installed-libastylej.patch | 0000001179 1.15 KB | |
0002-use-installed-avr-gcc.patch | 0000001274 1.24 KB | |
0003-drop-avr-toolchain-bundle.patch | 0000001215 1.19 KB | |
0004-cross-arch-build-xml.patch | 0000001685 1.65 KB | |
0005-Use-installed-arduino-builder.patch | 0000001232 1.2 KB | |
0006-Use-installed-liblistSerialsj.patch | 0000002105 2.06 KB | |
0007-Fix-arch-bits-as-lib-suffix-for-x86.patch | 0000000910 910 Bytes | |
Arduino-1.8.19.tar.gz | 0034715155 33.1 MB | |
Arduino.changes | 0000031497 30.8 KB | |
Arduino.rpmlintrc | 0000000108 108 Bytes | |
Arduino.spec | 0000008911 8.7 KB | |
library_index.json.gz | 0002212998 2.11 MB | |
library_index.json.sig | 0000000543 543 Bytes | |
package_index.json.gz | 0000045357 44.3 KB | |
package_index.json.sig | 0000000543 543 Bytes | |
platform.keys.rewrite.txt | 0000007194 7.03 KB | |
platform.local.txt | 0000000568 568 Bytes |
Latest Revision
Stefan Seyfried (seife)
committed
(revision 65)
try to fix java version dependency to avoid runtime errors
Comments 30
Hi Klaus, any idea, what's going wrong here? I've tried to force a linux64 build already, but ant insists in building some winwoes stuff :-(.
While at it, how do you generate Arduino-kit?
Thanks for making me aware of this. facepalm. I have 1.8.10 almost ready.
Arduino-kit is created by building Arduino locally with 'tetra': https://github.com/moio/tetra
Hey Klaus, thanks for caring, excellent news. Due to the hype around ESP8266 and ESP32, these packages will get more attention/attraction soon.
Close, but: arduino Picked up JAVA_TOOL_OPTIONS: java.lang.UnsatisfiedLinkError: Can't load library: /usr/share/java/Arduino-1.8.10/lib/liblistSerialsj.so at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2620) at java.base/java.lang.Runtime.load0(Runtime.java:767) at java.base/java.lang.System.load(System.java:1834) at processing.app.Platform.loadLib(Platform.java:149) at processing.app.Platform.<clinit>(Platform.java:144) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:315) at processing.app.BaseNoGui.initPlatform(BaseNoGui.java:514) at processing.app.Base.<init>(Base.java:205) at processing.app.Base.main(Base.java:150) Can't load library: /usr/share/java/Arduino-1.8.10/lib/liblistSerialsj.so Cannot load native library /usr/share/java/Arduino-1.8.10/lib/liblistSerialsj.so The program has terminated!
Looks like /usr/share/java/Arduino-1.8.10/lib/ contains some more dangling links for me:
lrwxrwxrwx 1 root root 22 16. Dez 12:50 jna-platform.jar -> ../../jna-platform.jar lrwxrwxrwx 1 root root 29 16. Dez 12:50 libastylej.so -> ../../../../lib/libastylej.so lrwxrwxrwx 1 root root 34 16. Dez 12:50 liblistSerialsj.so -> ../../../../lib/liblistSerialsj.so
Please do a "zypper in jna-contrib" - this will fix the jna-platform.jar link. And for the other two: cd /usr/share/java/Arduino-1.8.10/lib sudo rm libastylej.so liblistSerialsj.so sudo ln -s ../../../../lib64/libastylej.so . sudo ln -s ../../../../lib64/liblistSerialsj.so .
Argh, no formatting :-/ All the 'sudo' commands are on separate lines.
yeah, that did it... Thanks
Well, even after applying those fixes, this package doesn't work for me.
Any compilation fails with:
/usr/share/java/Arduino-1.8.10/arduino-builder [...] Using board 'esp32' from platform in folder: /home/hp/.arduino15/packages/esp32/hardware/esp32/1.0.4 Using core 'esp32' from platform in folder: /home/hp/.arduino15/packages/esp32/hardware/esp32/1.0.4 Detecting libraries used... "/home/hp/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++" [...] Generating function prototypes... "/home/hp/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-g++" [...] ctags pattern is missing
Error compiling for board ESP32 Dev Module.
If I build/execute Arduino from GIT repo (1.8.10 as well as master), all works fine, and ctags exists:
find . -name *ctags* ./build/linux/work/tools-builder/ctags ./build/linux/work/tools-builder/ctags/5.8-arduino11/ctags
I suspect, that some stuff being pulled in the "ant dist; ant run" state is missing here.
Do you have 'ctags' installed ?
You're not building with OpenSUSE tools here, you're using the xtensa-esp32 toolchain. Where does this toolchain look for ctags ?
Oops, sorry for the delay: ctags is executed from arduino-builder, and the one from this repo is significantly older (1.3.25), than the one from the git repo (1.5.0). That's most probably related.
Thanks for the reminder to update arduino-builder. However, I believe you have a different problem since I cannot reproduce it with arduino-builder-1.3.25.
Also, building later versions of arduino-builder quickly gets you into go language dependency hell (and devel:languages:go is not well maintained :-( )
Been there, didn't like it..
Does this problem also happen with a different board, like Arduino Uno ?
No, Arduino is okay, but both, esp8266 as well as esp32 fail with the same issue.
Thanks, I can reproduce it now.
Here's a workaround:
Edit ~/.arduino15/packages/esp32/hardware/esp32/1.0.4/platform.txt and add the following line tools.ctags.pattern=ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
Even better: Don't edit platform.txt. Instead, create a new file at ~/.arduino15/packages/esp32/hardware/esp32/1.0.4/platform.local.txt with a single line reading 'tools.ctags.pattern=ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"' (without the single quotes ;-))
Do the same for ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.3/platform.local.txt
Yeah, that fixed it for both apostate targets. Thanks a lot!
Hi Klaus! Please add the creation file arduino.desktop!
Where would I find this ? Upstream doesn't provide it.
Hi! '/usr/share/java/Arduino-1.8.10/lib/desktop.template' See '/usr/share/java/Arduino-1.8.10/install.sh' for more information.
Done. Thanks for pointing this out !
Any particular reason for
ExclusiveArch: i586, x86_64
? https://www.arduino.cc/en/Guide/Linux talks about "32, 64 and ARM versions", so it might be worth a try, no?Main problem is creating the build environment (in Arduino-kit), which I create on my (x86_64) workstation by building Arduino locally. Host-specific binaries are downloaded during the build.
Arduino-kit would need to be enhanced by aarch64 (+ armv7 ?!) binaries.
When will builds for Arduino and its dependencies for Leap 15.3 be fixed?
15.3 was missing Java:packages for openjfx, this is fixed now.
Please note that the Java-based Arduino software will be replaced by a JavaScript/TypeScript based "arduino-ide" soon.