Dr.Phillip
(Dr.Phillip)
November 19, 2019, 11:25pm
1
Hi guys,
I am going to flash my Astrolux MF01 mini (same driver board as mateminco mt07) and I was wondering where I can download all necessary Anduril files. Is there a precompiled version I can just flash or do I have to build it from source code? I am going to need to adjust some of the configuration files to make a voltage calibration (to add 0.2V to read voltage). Is the firmware one file or a whole folder of code files? This may all seem stupid but I never flashed firmware before.
atobe
(atobe)
November 19, 2019, 11:28pm
2
Dr.Phillip
(Dr.Phillip)
November 23, 2019, 3:19pm
4
ToyKeeper:
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.
Thx, I downloaded the branch “lp:~toykeeper/flashlight-firmware/fsm” because it had the code for Astrolux/Mateminco MF01 MINI. I Unzipped the tarball and found the file I needed to adjust to correct the Voltage measurement:
File: hwdef-Mateminco_MF01-Mini
Lines:
#ifndef VOLTAGE_FUDGE_FACTOR
#define VOLTAGE_FUDGE_FACTOR 5 // add 0.25V
#endif
Now that I have it, how do I run the make command in the fsm\ToyKeeper\spaghetti-monster\anduril folder?
That the part I cant figure out.
RoboEgg
(RoboEgg)
August 5, 2022, 10:53am
5
Is it just me or is anyone else getting this erro when trying to download Anduril Code?
This page isn’t working bazaar.launchpad.net is currently unable to handle this request.
HTTP ERROR 500
Download via breezy. The archive download page on launchpad is broken for years.
ICC
(ICC)
August 5, 2022, 9:41pm
7
No Breezy for Windows? What then? Where to DL Anduril2 or the other toykeeper firmware listed? Thanks
RoboEgg
(RoboEgg)
August 5, 2022, 9:51pm
8
Got you. Thanks for reply. I’m not familiar with breezy. I’ll Google it.
Bazaar should still work.
RoboEgg
(RoboEgg)
August 6, 2022, 8:19am
10
Thanks I’ll give it a go.