best way to develop for stable and development branch
-
In my actual setup I user Arduino IDE 1.6 and mysensors with the 1.4 API (Mac OSX)
Now I like to play with the development branch. This should not affect my stable sketches.
Which is the best way to do this?
Ideas:
- cp config-files at startup to set different sketchbook folders
- install IDE multiple times
- change to a more professional IDE
It would be cool to have all libraries in the project folder and no dependencies between them (as it usual in eclipse or visual studio).
Any ideas appreciated...
FotoFieber
-
If you use git, all you have to do is
git checkout master
or
git checkout development
to switch between branches.I have a soft folder link from the git project to Documents/Arduino.
-
If I use github, I can not use the two branches at the same time, isn't it? (Development branch for sketch A and stable branch for sketch B.) I would have to check in and check out between editing sketch A and B? Or do I miss something?
-
No, you are right. You cannot work on them simultaneously using the same Arduino IDE.
-
Found the Eclipse Arduino Plugin
Libraries are on a project base and you can have multiple open projects.
Usage is not straight forward but I think I will get used to it.
-
Checkout git stash and git merge...
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 21 days ago -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33