Questions tagged [version-control]

Version control refers to the management of changes made over time to a code base. Use this tag for questions about managing software and libraries.

Filter by
Sorted by
Tagged with
1
vote
1answer
364 views

Firmware backup and restore

I need to have the firmware stored somewhere on the board in order to get back to it after flashing a new firmware. Is there a way to store a backup of the firmware somewhere, and use a button to ...
8
votes
3answers
1k views

Hiding WLAN password when pushing to GitHub

I have started to use GitHub to store Arduino code. However some of my code uses the SSID and password for my WLAN which I don’t want published. A common way of handling this in non-embedded ...
2
votes
5answers
963 views

Include Git tag (or SVN revision) in Arduino sketch?

Is there any way to get the current Git tag/commit identifier into an Arduino sketch binary? For normal desktop program development, you can pull some tricks with the Makefile (as pointed out in this ...
16
votes
6answers
4k views

How can Arduino source code be tested automatically (continuous integration)?

I'd like manage my Arduino source code (projects and libraries) under source control with continuous testing. How can I automatically compile the code with continuous integration tools, to make sure ...
78
votes
7answers
38k views

How to organize my Arduino projects' structure for easy source control?

It's been a long time I've been looking for a good answer to this question. Typically, any Arduino project but the simplest one will include: The main source code file MyProject.ino Libraries ...