Go Down

Topic: IDE parameters ? (Read 308 times) previous topic - next topic

mistofeles

Is there some way to save the project parameters in IDE ?

Now, when I open a project, IDE loads the parameters it has used last time.
I have built something for Arduino Nano, so there are the Nano parameters, when I open a project for NodeMCU or Arduino Mega.
Every time I build something, I must copy the parameters in my project book to copy them back to IDE by hand.

Not very professional, if I may say.

There should be a way to save the parameters to the same folder, where the .ino -file sleeps. And it should happend automatically.
Or the parameters should be possible to save as #include clauses to the ino itself -automatically and so that you can modify them with your own little hands.

The same way IDE should check librasy and conf files first from the ino folder.
for example I made changes to SoftwareSerial configuration and now I must make and remake it every time I change the project, where I use SoftwareSerial.

(I have been working with uP projects for over 30 years)

Robin2

I use the Geany editor and I have written this simple Python program to compile and upload programs using the Arduino command line. As you will see I include the settings, such as board and port, in comments at the top of my .ino file

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

pert

Is there some way to save the project parameters in IDE ?
No. It's not possible with the standard Arduino IDE, though it has been requested from time to time over the years. The Arduino developers have expressed some interest in adding this sort of feature. If you submitted a pull request adding this feature, I'm sure they would be willing to consider merging it. You can see the previous discussions on this topic in the following links and the links that web off of them:
https://github.com/arduino/Arduino/issues/1481
https://github.com/arduino/Arduino/issues/7324
https://groups.google.com/a/arduino.cc/forum/#!msg/developers/GD8SOD1zAz8/Zi-SL7RiAAAJ

The Arduino Web Editor does already have this functionality.

The same way IDE should check librasy and conf files first from the ino folder.
for example I made changes to SoftwareSerial configuration and now I must make and remake it every time I change the project, where I use SoftwareSerial.
It's not clear what you mean by that. Please explain.

Go Up