IDE 1.8.0 Released -- update: 1.8.10

Ace_Tech:
pert, what theme are you using at the moment?

It's funny, I've created three themes and updated two more which had been broken by changes in the Arduino IDE some years ago:

but I actually just use the standard Arduino theme. Although I don't have the best vision, it works fine for me. However, I understand that the standard theme poses severe accessibility issues for some users, which is why I took the time to learn how the Arduino IDE's theme system works and documented what I learned:

I did use my "Arduino-retro" theme for a little while, but only because it's kind of fun to have a modern Arduino IDE that looks like the version from 2006.

Ace_Tech:
i just had a look at your per1234 (per1234) / Repositories · GitHub , and saw some of your code in your libraries.
very legible and quite good syntax-highlighted.

Thanks! I try to make my projects very accessible. Even if nobody else benefits from it, I know I'll appreciate it when I come back to work on them after a long time.

Ace_Tech:
could you point me at the thread on that subject? i'm a noob on this forum - i don't know how to search it very well yet. :slight_smile:

This was the original discussion, where it first became possible to edit libraries in-place using the Arduino IDE:

I was using the Arduino IDE to edit libraries before that, but I had a hacky system where the edited libraries were in a separate folder (so that they were not read-only) and then I had a program running that watched that folder for changes and then copied the modified library to the libraries folder.

It's difficult to find information on the forum because there are just so many threads. It's really not a good way to store knowledge, which is unfortunate since there is a huge amount of valuable information buried in all the noise here. I found a few relevant threads:

I know the topic has come up quite a few times other than that. The discussion ends up being about the same every time. Someone either asks if it can be done or complains that it can't be done, people recommend their favorite editors or alternative IDEs, I give my spiel about how to do it in the Arduino IDE.

I run Arduino IDE from the Raspberry Pi B; it is version 1.0.1.

I have run the update and upgrades from sudo but the version remains the same.

I downloaded the Arduino 1.8.7 Linux Arm zip file.

Two questions: Is the Linux Arm the right version when running from the Pi?
Are there any step by step instruction for update IDE with the zip file?

Believe me I looked for a long time and couldn't find any information.

Regards,

JustRoger

JustRoger:
I have run the update and upgrades from sudo but the version remains the same.

The Arduino IDE version in the package manager is extremely outdated due to insufficient licensing documentation in the more modern versions of the Arduino IDE:

I thought it was Arduino IDE 1.0.5, but regardless, you should never install the Arduino IDE from a package manager (e.g. apt-get). Always download the official version from http://www.arduino.cc/en/Main/Software.

JustRoger:
Is the Linux Arm the right version when running from the Pi?

Yes.

JustRoger:
Are there any step by step instruction for update IDE with the zip file?

How about the ones I already gave you earlier today?:

pert:

  • Download the latest "Linux ARM" version of the Arduino IDE from https://www.arduino.cc/en/Main/Software
  • Right click on the downloaded file and select "Extract Here". The folder arduino-1.8.7 will be extracted from the downloaded file.
  • You can move this folder to any convenient location on your drive.
  • To start the Arduino IDE, run the file arduino-1.8.7/arduino.

There is also an install script but it's not necessary to run that. It just creates a shortcut on your desktop.

JustRoger:
Believe me I looked for a long time and couldn't find any information.

If you're going to ask for help here on the forum, the least you could do is read the responses from the people trying to help you. I probably spent at least 5 minutes writing that reply because I actually booted up my RPi to make sure I got it right. There are plenty of other things I could spend my Saturday doing.

Geez don't be so harsh. I did come back but couldn't find any replies; my fault because of noobi to the forum. However I do appreciate the reply.

Well Pert,

Thanks for the support, I appreciate it and have successfully installed the latest revision. When trying to upload a sketch it is asking me for a port but I think I can figure that out.

Again, I am a noob and apologize for not seeing your first reply.

Regards,

JustRoger

OK Pert,

Of course the port problem was resolved easily and my sketch compiles successfully. However during the upload I get an error:

/home/pi/Desktop/arduino-1.8.7/hardware/tools/avr/bin/avrdude: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17' not found (required by /home/pi/Desktop/arduino-1.8.7/hardware/tools/avr/bin/avrdude)
An error occurred while uploading the sketch

I went through the sudo apt-get update and sud apt-get upgrade but the error still persists. Any suggestions?

Thanks again,

Just Roger

Well I decided to update from Wheezy to Jessie because of the GLIBC error I was getting during uploading after installing Arduino IDE version 1.8.7. Did a lot of online research and decided that this would solve the problem. There may be an easier way but I couldn't find it.

Just finished and everything and I am now able to use Arduino IDE 1.8.7 to successfully compile and upload.

Again thanks for the help Pert.

If anyone is interested here is how I made the transition:

  1. Backed up my sketches to a stick.
  2. I made sure Wheezy was up to date by running the following commands:

%sudo apt-get update
%sudo apt-get upgrade
%sudo apt-get dist-upgrade

  1. Substituted Jessie for wheezy in files: source.list, collabora.list, and raspi.list with the following commands
    %sed -i 's/wheezy/jessie/g' /etc/apt/sources.list
    %sed -i 's/wheezy/jessie/g' /etc/apt/sources.list.d/collabora.list
    %sed -i 's/wheezy/jessie/g' /etc/apt/sources.list.d/raspi.list

  2. Rebooted the Arduino
    %sudo reboot

  3. Now updated Jessie

%sudo apt-get update
%sudo apt-get upgrade
%sudo apt-get dist-upgrade

  1. Confirmed that the Raspbian version is now Jessie:

%hostnamectl

It now lists Jessie. I was able to successfully compile and upload sketches using Arduino IDE version 1.8.7

Now I am a noob at this and appreciate the support of Pert and the online documentation provided by LINUXCONFIG.org and raspberrypi.stackexchange.com. I basically combined all the information received into the procedure above.

Again I have only been using the system for a short time after these changes and it appears to be working fine but only time will tell.

Additionally, when prompted during the long process I just selected the default options (hitting return) assuming they were default for a reason. Some of the other options may be better but I just stuck with the default.

I'm glad to hear it's working now. I had turned on my RPi to look into this but you solved it before I had gotten around to it. It wouldn't have helped anyway since I'm using Raspbian Stretch.

Enjoy!
Per

hello friends
iam form Egypt and i just have received Arduino and LCD with a lot of pins
idon't know how to start
any help ??

First of all: Welcome to this forum.

What LCD, what Arduino ????

Before we can give you precise assistance, pls start with reading the guidelines of this forum and come back with your question(s) in a way that we don't have to ask our crystal balls what you might have in mind. :confused:

Pretty good.

Hi All! +Karma to the developers who keep making Arduino bigger and better.

I need some advice.

I just tried to update to v1.8.7 to replace a good installation of v1.8.5 that I have used since Jan/2018. No joy!

The v1.8.7 installer reported success but the IDE would not run past the splash screen and ended without displaying any error messages. I uninstalled and reinstalled several times, downloaded and installed a fresh copy, ditto, restarted after a fresh installation, ditto, downloaded and installed v1.8.6, ditto, and finally reinstalled v1.8.5 to get Arduino IDE running just fine again.

Can anyone help me troubleshoot the v1.8.7 installation? Here are some of my system particulars:

  • Windows VISTA Home Premium, 64-bit, SP2
    Intel Core Duo CPU, E7000 @2.66GHz, 4GB RAM
  • Arduino IDE installed at \Program Files (x86)\Arduino\
  • Arduino sketches and libraries installed at \Documents\Arduino\
  • Java on system is (older) Java 7 Update 5 (7.0.5.0),
    but I see that Arduino v1.8.5 packs its own (later) version of Java

Thanks for your time to consider and answer.

Steve

stever2018:
the IDE would not run past the splash screen and ended without displaying any error messages.

Please run the file arduino_debug.exe from the command line. You'll find it in the Arduino IDE installation folder. After the IDE fails to load you should see some output in the command line window. Copy that output and paste it here, using code tags (</> button on the toolbar).

Hi pert!

OK. I did as you suggested. This time Arduino v1.8.7 did run AOK! I suspect the difference may have been that I manually deleted the working installation of v1.8.5 through the Control Panel | Programs and Features, while previously I had allowed the Arduino Windows installer to do the removal of the old version. I will go through the whole process again, both ways, to test this hypothesis. But it is late now so it will have to be tomorrow PM.

I did run Arduino_debug.exe and saw the command window debug output. It shows no sign of errors at this point:

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Program Files (x86)\Arduino>arduino_debug.exe
Loading configuration...
Initializing packages...
Preparing boards...
Starting...

Thanks for you input so far. I would like to find out why I had such trouble on the first round of installations and I will followup and provide any additional information I can.

Steve

Hi pert!

I deviated from the approach I originally conceived but in the end I did not have any problems upgrading from a good installation of Arduino v1.8.5 to v1.8.7 using the Windows installer provided. I suspect that my troubles were due to some messy housekeeping after many upgrades from the early days of Arduino. Mea culpa! The only tip I can offer is that if anyone is having a problem similar to mine, then clean out Arduino and start fresh.

Thank you again for your attention and suggestion to help me debug this problem.

For the record, here is a summary of the steps I took and results:

  1. Uninstalled all traces of Arduino (within reason, not the USB and DFU drivers):
    a. Removed Arduino v1.8.5 using Control Panel | Programs and Features
    (This removes \Program Files (x86)\Arduino\ files)
    b. Deleted \Documents\Arduino\ folder
    c. Deleted \AppData\Local\Arduino15\ folder (hidden under User)
    d. cleaned out a few remaining registry entries with "Arduino" in them
    e. Restarted the system

  2. Completed a new installation of Arduino v1.8.5, which had previously worked for me
    a. whole installation went AOK and the IDE ran fine
    b. installed SAM boards v1.6.11, megaAVR boards v1.6.3 and updated AVR boards to v1.6.3
    c. compiled sketch BlinkWithoutDelay for Due AOK
    d. copied Arduino_STM32 to \Documents\Arduino\hardware\ folders and
    installed STM32 Windows drivers (Maple_serial)
    e. closed Arduino IDE and restarted it

  3. Changed board to Generic STM32F103C series
    a. opened the STM32 Blink example sketch, edited it for the Blue Pill LED pin
    b. compiled and uploaded the sketch AOK and sketch ran AOK

  4. Completed a new installation of Arduino v1.8.7
    a. used/allowed Arduino v1.8.7 Windows installer to remove the previous v1.8.5 installation AOK
    b. compiled, uploaded and ran the same sketch AOK
    c. edited a slightly different sketch (fast Blink), compiled, uploaded and ran it AOK

That was enough for me! I have landed where I wanted to be originally. The cause of my troubles is still somewhat mysterious but they can be overcome. This may have been a tempest in a teapot but I really appreciate that this forum is here to ask and receive help.

Steve

I'm glad to hear it's working for you now. Thanks for sharing your findings. I'm sure anyone else having this problem will be very grateful. Enjoy!
Per

Hi, i have this problem;

In file included from C:\Users\Admin\Documents\Arduino\sketch_nov11a\sketch_nov11a.ino:4:0:

C:\Users\Admin\Documents\Arduino\libraries\MCUFRIEND_kbv/MCUFRIEND_kbv.h:16:26: fatal error: Adafruit_GFX.h: No such file or directory

compilation terminated.

exit status 1
Erro ao compilar para a placa Arduino/Genuino Uno.

Any 1 know who to fix?
Thanks.

Hi LuisSousa, welcome.

Yes, you fix it yourself.

Seems like you didn't install all required libraries.
I don't know whether Adafruit_GFX.h is included in the MCUFRIEND_kbv library or not, so you should check that.
If it is not, install that library by using the library manager.
I have it installed for some time already, so i can't tell you whether it came as part of something else or not.
Also check to see you need other libraries as well for this sketch of yours.

By the way, this thread wasn't meant for questions like this.
Please be sure you put you questions in the correct location.
That way, chances are a lot better you will be promptly helped with some suiting suggestions.

Hi!
I wrote a C++ class on debian stretch on a raspberry that communicates with an Adafruit ItsyBitsy M4 or a Feather Express M4 using libusb. Well - native USB is a little bit more tricky and I would not molest anyone when I would be unsure that there is something really strange going on:

  • When compiling my code for the Feather with Arduino IDE 1.8.5, all works fine. The Raspi sends something, and the Feather responds accordingly, and all is fine.
  • That works also when I use the terminal of the Arduino IDE. I send something, and the feather reacts. I use "Serial.write()" to send data via USB and "Serial.read()" on the Feather.

When uploading the code from Arduino IDE 1.8.7

  • all works fine with the IDE terminal
  • when connecting with the Raspberry and my C++ program, I can send data which are recognized by the Feather (at least I think so - i fire up the red LED on pin 13 for certain characters, and turn it off with others) but
  • i cannot send anything ... both with the ItsyBitsy M4 and the Feather Express M4!!!

I have not tried it yet with another native USB board such as the Teensy, but this is really strange - does someone have an idea???
yours
wolfi
PS: cross posted this also in the Adafruit forum

ARDUINO 1.8.8 2018.12.07

[ide]
* Fixed: command line parsing of version parameters when installing cores/libraries
* Platform indexes are now downloaded using https
* Fixed: on some newer linux distrubitions, NPE when loading GTK look-and-feel without libgtk2 installed
* MacOSX: added touch bar support
* MacOSX: do not exit app after closing last window
* Fixed: serial monitor timestamps not always printed. Thanks @nitram509
* Kill active programmer if still alive after closing last IDE window
* Fixed: "Export compiled binary" now works also with unsaved sketches
* Improved automatic port re-selection after upload
* Added scroller to "INCOMPATIBLE" examples menu

[wifi-firmware]
* Added firmware upgrade for NINA-based boards