Flashlight Firmware Repository

No, just use the FET on the 7135 pin of the MCU.

I have flashed drivers in the past. But after 2 computer crashes and many motorcycle crashes I can’t seam to put it all together again.

I have used ToyKeepers README file.
I believe I have downloaded all the necessary files to my HOME folder.
I have connected with an Attiny85.

After compiling an untouched rampingiosv3.c just to test.
I get 6 pages of errors.

Basically a few #warning “device type not defined and #error Requested EEPROM_BYTES too big

then about 5 pages of undeclared and implicit declaration.

I believe I am missing a library, or don’t have library in path.

Linux or Windows? I’m guessing Linux since you referenced a Home folder. If Linux, are you using the “build-all.sh” script or are you trying to build a single config? When downloading the files, did you maintain all of the folder structures? If not and you just stuck all of the files in the same folder, you’d need to fix the directories for all of the #includes.

Using Ubuntu. Vim. avr-gcc. Do I need to add anything to avr-gcc rampingiosv3.c when compiling?

No. But I wouldn’t compile with gcc directly. Use the build-all.sh build script.

Does anyone else’s build-all.sh build script not compile 1634 hexes? All the attiny85 hexes show up but none of the 1634 ones get created for me.

Do your config files for the 1634 targets include this towards the top?

// ATTINY: 1634

And does your build-all.sh script include this line?

ATTINY=$(grep 'ATTINY:' $TARGET | awk '{ print $3 }')

I dunno. I’ve been downloading my files directly from the latest revisions on launchpad.

https://code.launchpad.net/~toykeeper/flashlight-firmware/trunk

Is this the right place to get them? I just click the number, 247 at the moment, and then click download tarball

I guess I have to add those lines in if they’re not they’re already?

On another note, how do you guys bring the spaghetti monster files into a project? Do you just copy paste into the project’s folder? I’m not sure how to open anduril in atmel studio as a project so I can build natively in atmel.

The old guides I could find on blf have lost their images/are out of date

That’s an ancient version, many years old. Which version do you want?

Anduril 1: fsm : Code : Flashlight Firmware Repository
Anduril 2: anduril2 : Code : Flashlight Firmware Repository

Oh I see. Thanks for the link. Is “download tarball” the right button to click?

Don’t know, I use brz on the command line. If it downloads the full repo head it should be correct.

Hello, new user here.

I have been looking for a source code of this 7135 driver: 淘宝网 - 淘!我喜欢

5modes: Low-Medium-High ,Recycling; Double-Click at any mode turn to strobe mode; Three times Click at any mode enters into stepless dimming mode (In the current state, the brightness first decreases and then rises. When it reaches lowest or highest, it will flash once and wait for 1 second to continue to increase or decrease. When it is turned off at any time in the stepless dimming state, the brightness at the time of shutdown can be saved.)

So far I haven’t found the code. Does it even exist in this repository?

I would like to modify it with a few elements of TK’s crescendo firmware. For example, I don’t need strobo, but I would definitely use battery check instead.

I’m not an expert, but I believe Crescendo is designed to be used on attiny 13A, 25, 45 or 85 MCU’s. (on the 13A there are reduced features) Those are all 8 pin devices. The driver pictured appears to have 10 pins. I don’t have any idea what that is but my guess is that it might not be easy to get crescendo to run on that MCU. Chances are there is no open source code for the firmware on that driver, but I am guessing.

Oh,I didn’t spot it had 10 pins. I thought all of the 7135 drivers are attinys. Too bad, I have already ordered a couple of those. Maybe I can live with them, but i will surely miss battcheck.

Maybe that chip is CH552E or CH554E

Hey I’m sorry if this isn’t the right place to ask this. If it isn’t, please direct me to the correct place. But I was wondering if someone could make a custom anduril mod for me?

Someone might be able to. Are you looking for a pre-compiled hex file? You might want to briefly describe what you’re looking to have done.

Yes, I just want a hex file that I can flash to my d4v2. And I just want some of the strobe modes removed, and one strobe mode modified. I will pay for the services btw.

Is it Anduril 1 or 2? What mode you need to be removed and what mode need to be changed? For what light?

Question…
Is this the place where I can write or suggest modifications about anduril 2 or there is an other thread? (Like “Anduril…2?” By Toykeeper)
I want to help but I desire I am in the right position
Thanks

I have a fork of Anduril 2 with a simple bash script i wrote to make it easy to flash emisar/noctigon lights.

I tried to do feature changes in Pull Requests, so if you only want specific changes, you can look through those to find what to change.

I also have the open source anduril 2 hex files for easy flashing.