■ FIGURE 19. TortoiseSVN Add a File.
■ FIGURE 20. Directory Tree After File Added.
■ FIGURE 21. TortoiseSVN Select SVN Commit.
■ FIGURE 22. Tortoise SVN Commit (with spelling error!).
Internet cooperates with the directories we have on our
PC. Let’s create a simple test file in the Documentation
directory: test.txt with the single line: ‘This is a test of
avrtoolbox.’ We right-click on the file and then select Add
... as shown in Figure 19.
Now we see that the folder icons have changed as
shown in Figure 20. The avrtoolbox and the
Documentation directories have a red dot exclamation
mark on them indicating that they are no longer in sync
with the repository. To get them in sync, we right-click on
the avrtoolbox directory and select SVN Commit as
shown in Figure 21. This brings up a familiar window to
which we add a comment about our file as shown in
Figure 22 (with spelling error!). This syncs the PC and the
repository so we get Figure 23.
What Happens If We Change The File?
Let’s add a sentence to our test.txt file: ‘This line
added to generate a changed file.’ We get the red icons
as in Figure 24. Only this time, one is added to the test.txt
file. So, we repeat the stuff we did earlier. We right-click
on test.txt, select TortoiseSVN Commit, and click our way
through the process including signing in again, etc., to
commit the newest version and change the icon back
56 February 2011
■ FIGURE 23. Greenlights all the way!
■ FIGURE 24. TortoiseSVN Test File Changed.
■ FIGURE 25. Google Code Test File in Directories.
So, What Do We Have Now
In Google Code?
Let’s look in our project directories in Figure 25. Now
it’s time to play with this a bit. Go to the Google Code
project and click on things and see what happens. For
instance, click on the test.txt file and you’ll see not only
the text in the file but the revision history.
This was a lot for one article. I’ll be writing about
many new AVR tools and putting the source code in our
open source project. My hope is that some energetic folks
will join in and help make this a really useful tool for the
Let’s Not Forget
The first thing you are going to forget is that the
Google Code repository sign-in requires a different
password than your Google account. Also, you will create
directory paths with spaces or weird characters that
avrdude won’t take, so don’t do that either.
Next month, we’re going to bring all these organizing
principles together and use them for a serial library. If you
just can’t wait and want to get a good leg up on C and
the AVR while helping support your favorite magazine and
technical writer, then buy my C Programming book and
Butterfly projects kit from the Nuts & Volts website. NV