Modding hex

5 posts / 0 new
Last post
Dizzydj1
Offline
Last seen: 4 hours 22 min ago
Joined: 12/08/2018 - 23:57
Posts: 50
Location: United States
Modding hex

I’ve seen some similar posts of people asking how to make changes to MCU firmware or hex files or c files I’m not entirely sure I’m fairly new but I really want to be able to make changes to Anduril2 but I have had the hardest time. I’ve gone to the repository and downloaded GitHub I’ve read all sorts of forum posts and I just cannot seem to find what I need. I’m using a Mac or Android which I’ve used my Android to do all my MCU flashing and it’s worked great. If anyone is willing to either teach me or point me in the right direction or something I would be super grateful I’m even willing to pay somebody to teach me how to do this because that’s how bad I want to be able to modify or build my own firmwares. Thank you in advance to anyone that reads this post and double thank you to anyone that’s willing to help me. I know the flashlight community is vast and there’s a lot of awesome people so I have no doubt that someone will help me and then later on I can help somebody else.

dario carafa

SammysHP
SammysHP's picture
Offline
Last seen: 1 hour 15 min ago
Joined: 06/25/2019 - 14:35
Posts: 1031
Location: Germany

You’re just asking about the toolchain, not how to program, right? If you can’t program with C, it will be very hard for you.

Toolchain: avr-gcc would be a good start. That should be enough info to get you started (using your preferred search engine how to install it on your platform).

YuvalS
YuvalS's picture
Offline
Last seen: 10 hours 10 min ago
Joined: 09/26/2018 - 10:39
Posts: 507

Anduril Is a HUGE project with many files and it is super complicated.
I recommend starting with a simple FW. 
You can find some simple FW by toykeeper and others on https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/fsm/files

I also have some simple FWs on my GitHub. Take a look on the HelloWorld repository. It contains some super simple code and some basic function that are useful for flashlight FW such as sleep, adc etc.
Start with the basic and than move forward to more complex code ....

Good luck

My FW repository

My BLF/OL contest entries: 7th 8th 9th 

Dizzydj1
Offline
Last seen: 4 hours 22 min ago
Joined: 12/08/2018 - 23:57
Posts: 50
Location: United States

Thank you

dario carafa

Dizzydj1
Offline
Last seen: 4 hours 22 min ago
Joined: 12/08/2018 - 23:57
Posts: 50
Location: United States

I don’t even know what a tool chain is. I’ve asked some people and they said making some changes to Anduril2 it is really easy and you just need to download the source code make a few tweaks and then turn it back into a hex file and flash it. I’ve flashed hex onto a bunch of flashlights but that’s about it. So basically I should learn how to code in c before I even attempt making any changes to anduril?

dario carafa