Dead editor

tcoleman978

New member
Gentlemen:
I've just got back to a new project. Was having SD problems... Oh need to update my library's...used the new Arduino IDE to update Teensyduino.
The bad news is .. No More Sloeber! Arduino IDE is still the same lousy(sorry) editor. What do I do now? Can I convince Sloeber to work with the new libraries?
I'm distressed and desperate. I really don't want to have to learn Another platform. Or even to still work in Eclipse. At least that will have some familiarity(I hope).
Am I "up the creek"?
 
Update:
I did an update to my old Arduino 1.8.16 IDE to the new Teensyduino 1.59. boy mistake, now I get this:

C:\arduino-1.8.16\hardware\teensy\avr\cores\teensy4/IntervalTimer.h:114:36: error: 'is_arithmetic_v' is not a member of 'std'; did you mean 'is_arithmetic'?
114 | static_assert(std::is_arithmetic_v<period_t>, "Period must be arithmetic");
| ^~~~~~~~~~~~~~~
| is_arithmetic

So now what is wrong and can I undo it? As I can't use Sloeber at all now. I have very little hair left to lose.
 
You can always get back to a working system by just reinstalling. Just download a fresh copy of Arduino's installer and a fresh copy of the Teensyduino installer (scroll down to "Arduino 1.8.x...").

On Arduino's website you might have to click a few times to get to archives of older copies. On the PJRC page, you have to scroll down (unless you have a huge screen) because the info about newer versions is at the top.

If you have anything important inside your old copy of C:\arduino-1.8.16, make a backup copy. Then just delete C:\arduino-1.8.16. Run Arduino's installer, which defaults to C:\Program Files (x86)\Arduino, so watch for when it asks the path to install. Likewise when you run the Teensyduino installer, if you installed Arduino in the default place it will be found automatically, but if not, you have to navigate to the location. Teensyduino installer checks for a supported copy of Arduino IDE and won't enable the "Next" button until you click a folder which has it.

It's really that simple. Just delete the messed up copy, then run both installers to get a fresh known-good install.

What you should *not* do is grab newer core library files from github or another copy of Arduino and put them into an old Arduino IDE. Those files also depend on the toolchain version, and many of the libraries depend on specific stuff within those core library files, and some features like serial monitor for various USB types depend on patches to the IDE's Java code. This is the reason why PJRC created a special installer for all the pre-2.0.0 Arduino versions (where very early ones lacked any installer and 1.6.x to 1.8.x has an inadequate installer).

Use the installer. It always delivers a complete set of files that were well tested to work together.

This is only about use of Arduino IDE. I can't comment about what works with Eclipse and Sloeber.
 
Well, I did install the 1.8.x version of the 1.59 into the 1.8.x location. So I don't understand the IntervalTimer library error. Should all work together.

Ok, I'm back. It was an experience but after a Sloeber update A bunch of re-setting up (and down).
All is once again working.
Thank you for your patience.
 
Considered using Platform IO? I'm using it with Teensyduino 1.59 very happily and with VS Code quite a nice editing environment etc.
 
Considered using Platform IO? I'm using it with Teensyduino 1.59 very happily and with VS Code quite a nice editing environment etc.
If you were going to change I would recommend Visual Studio (Community (free) Edition) with Visual Micro. You get all the standardisation of using Arduino IDE with the modern Visual Studio editor. Platform IO gives too many problems..tried it, did no like it.
 
Keep in mind Visual Studio with Visual Micro is Windows only. It does not work on Linux or Mac platforms.
 
Back
Top