Anduril ... 2?

The docs are taking a while mostly because I’ve hardly had any time to work on it. I have a lot of a tutorial written up, and mostly just need to make the diagrams to go along with it. The plan is to start with the simplest parts, then proceed in order of increasing complexity. People wouldn’t need to read the whole thing to use a light; just the beginning.

About short URLs, there is one which links to the latest revision in the repository, but I don’t have one specifically for the manual. I’m planning to put the tutorial up here on BLF as its own thread.

That seems to be a common issue. People don’t have bzr (or brz), which are the intended ways to access the repository… so they look for a way to download the whole thing, and can’t find it. It’s a pretty legit problem with Launchpad. However, there is a way to do it:

  1. Go to the code. Any part of the repository should be fine.
  2. Click “view revision”.
  3. Click “download tarball”.

Then extract the .tgz file.

However, if you’re going to be compiling it anyway, it’s probably easier to just use a Linux container. Compiling it can be a little tricky otherwise. So for that, the process would be a bit different…

  1. Install Debian or Ubuntu somehow (like inside of WSL, Windows Subsystem for Linux).
  2. Get root access with “sudo bash” or “su”, so you can install packages.
  3. apt install build-essential gcc-avr avr-libc binutils-avr avrdude brz make
  4. Exit the root shell with “exit” or Ctrl-D.
  5. brz branch lp:~toykeeper/flashlight-firmware/anduril2
  6. cd anduril2/ToyKeeper/spaghetti-monster/anduril
  7. make

Or something like that, anyway. Has been a long time since I set up a new host for this.

This should produce a full set of supported builds… one .hex file for each cfg-*.h file.

I’m not sure if avrdude actually works from inside of WSL. It may be necessary to flash using a Windows tool instead.