It’s not usually a good idea to download individual files. Get the whole repository instead, to make sure all the files are the same version. Mismatched versions can cause all sorts of problems.
If you have bzr, it should only require running “bzr branch lp:flashlight-firmware” or “bzr branch lp:~toykeeper/flashlight-firmware/fsm” to get everything.
But if you don’t have bzr (it has issues on Windows), there’s still a reasonably easy way to do it:
- Go to Flashlight Firmware Repository in Launchpad
- Click “Code”
- Click the branch you want
- Click the first number under “Recent revisions”
- Click “download tarball”
- Unzip the tarball file
This should get you everything in the repository, with the directory structures still intact.
On a suitable command-line-based interface, the code can then be built by going into the anduril directory and running “make”. This compiles one .hex file for each cfg-*.h file it finds. So, you should be able to edit a cfg file or make a new one, and it’ll then be included in the full set of builds.
That doesn’t work in Atmel Studio though… in that, it’ll probably be easier to just uncomment the line at the top of anduril.c which specifies which config file to use.