Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Arduino IDE and the Launch Bar(Completely baffled)
Arduino IDE and the Launch Bar [message #1811218] Thu, 29 August 2019 00:04 Go to next message
Keith Suddick is currently offline Keith SuddickFriend
Messages: 9
Registered: July 2018
Junior Member
Hi, I had to rebuild, from scratch, some of my PC's last week. Took the opportunity to upgrade to the latest version of Eclipse. I'd previously used the sloeber plugin for Arduino projects but that no longer seems to work - it fails when trying to create a new project.

I decided to try using the bundled Arduino IDE and succeeded in building and uploading a "blink" program. It seems that if I create a new Arduino project the IDE sets the controls on the Launch Bar appropriately - "run", the new project name, and uses the Arduino Nano I had set up as a launch target.

I have dozens (maybe hundreds) of projects I need to load back into my workspace and having tried importing a few (de-sloeberised), I can build them but I can find no way to create a launch configuration for them that refers to Arduino, if I try to simply add a new launch configuration I get multiple pages of configuration options I do not know how to complete in order to make a project I can upload to an Arduino.

I reluctantly started creating new projects and copying and pasting code from my original projects to these new ones. Then I noticed that the launch configuration doesn't change unless I do it manually... so am I going to end up with possibly hundreds of launch configurations that I have to scroll through to find the one that matches the project I have open?

I must be missing something. Can anyone help me understand?

Regards,

jarsudsco
Re: Arduino IDE and the Launch Bar [message #1811249 is a reply to message #1811218] Thu, 29 August 2019 12:55 Go to previous messageGo to next message
Keith Suddick is currently offline Keith SuddickFriend
Messages: 9
Registered: July 2018
Junior Member
Ok, maybe I made my question too generalised.

I recreated 4 simple Arduino projects in a new workspace last night and managed to get them all working, albeit in a messy way.

Today, I re-open Eclipse, re-open the simplest project - a "blink" program. Launch bar remains completely unpopulated. Nothing available to select under launch mode ("---") nor under launch configuration ("No Launch Configurations"). But the launch target dropdown has retained my Nano configuration so I select it...

http://suddick.net/public/launchbar1.png

It's very possible I'm being dim but I can find no way to populate the "launch mode" and "launch configuration" fields so I cannot "run" the project (i.e. upload it to the Nano).

The only way I seem to be able to fully populate the launch bar is to create a new project. So I created one called "test"...

http://suddick.net/public/launchbar2.png

So now I can "run" the launch configuration "test" on "Nano4"...

But... "test" is the ONLY launch configuration listed in the dropdown. The 4 for the projects I created last night are not shown - even though I seem to have found where Eclipse stores these launch configurations and they are all there...

http://suddick.net/public/launches.png

It can't be this difficult. Can anyone suggest where I'm going wrong?

Regards,

jarsudsco
Re: Arduino IDE and the Launch Bar [message #1811266 is a reply to message #1811249] Thu, 29 August 2019 21:03 Go to previous message
Keith Suddick is currently offline Keith SuddickFriend
Messages: 9
Registered: July 2018
Junior Member
I thought I had a handle on my problem... I found I could get the run configuration to stick with the project on the run button...

http://suddick.net/public/runremembered.png

Still messy but if it worked I would have happily continued. But then the configurations sometimes just disappear again - I have no idea if it's something I am doing or if this is a bug. Both of the projects in the images in this post had initially remembered their run configurations, but then...

http://suddick.net/public/rungone.png

What I currently have is completely unusable as a development environment, I've wasted several days trying to get something - that should be simple - to work. This is the first time I have been disappointed with Eclipse.

Again, any suggestions would be appreciated. I can't believe nobody else reading this is doing Arduino development with the latest Eclipse CDT and can't even tell me that they have no such problems.

jarsudsco
Previous Topic:fatal error for included header file path
Next Topic:Hover expression obscures context menu
Goto Forum:
  


Current Time: Sat Apr 27 03:41:39 GMT 2024

Powered by FUDForum. Page generated in 0.02960 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top