Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. best way to develop for stable and development branch

best way to develop for stable and development branch

Scheduled Pinned Locked Moved Development
6 Posts 3 Posters 1.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • FotoFieberF Offline
    FotoFieberF Offline
    FotoFieber
    Hardware Contributor
    wrote on last edited by
    #1

    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 :-1:
    • 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

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • FotoFieberF Offline
        FotoFieberF Offline
        FotoFieber
        Hardware Contributor
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          No, you are right. You cannot work on them simultaneously using the same Arduino IDE.

          1 Reply Last reply
          0
          • FotoFieberF Offline
            FotoFieberF Offline
            FotoFieber
            Hardware Contributor
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            • blaceyB Offline
              blaceyB Offline
              blacey
              Admin
              wrote on last edited by
              #6

              Checkout git stash and git merge...

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              17

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              Posts


              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular