E-switch UI Development / FSM

1024 posts / 0 new
Last post
gchart
gchart's picture
Offline
Last seen: 15 hours 45 min ago
Joined: 03/19/2016 - 11:57
Posts: 3158
Location: Central IL

I knew that sounded familiar: https://budgetlightforum.com/comment/1748085#comment-1748085

Your code looks pretty good, Tom. I just threw it into my Anduril2 branch with very minor tweaks. Hopefully TK will merge my branch into hers again sometime. I also made sure my branch was completely up-to-date with TK’s (thru her rev 613). If you would please, pull down the code, compile it, and throw it onto a light (perhaps your Mateminco MT01 mentioned in the post above?) and make sure everything’s good to go.

Tom E
Tom E's picture
Offline
Last seen: 3 hours 29 min ago
Joined: 08/19/2012 - 08:23
Posts: 14731
Location: LI NY

Ok, you remember my changes better than I do! smile Facepalm

Oh crap! I  pulled earlier this morn, been sync'ing my local up and came across this FSM thing I keep forgetting about... Facepalm again.

Will pull again. Actually sounds like TK has more in the works based on feedback she's been getting here: https://budgetlightforum.com/comment/1795408#comment-1795408

Actually the only local changes I have to worry about was that FSM one and cfg and hwdef files. I got a lot of custom defs, then a couple settings I always use, etc. Between her and you, all my local mods starting with Anduril V1 are in the new Anduril 2 baseline.

 Right now I got one set of Anduril 2 sources all in the same folder, and 2 solution/projects: for the 85 and 1634. My 1616 build is separate, so I need to bring it in to the common Anduril 2 folder, then I can build anything right in Microchip Studio for Win all from one common source code base! With (Microchip Studio (MS), only way I could set up different MCU's successfully was to create the project from scratch. It's really not that bad though, goes quick, specially since all the source code is in one folder. You do, however, have to mark all the .c files that are include'd with a "Build Acttion" of "None" so it doesn't try compiling them. It's a little pain but I understand why TK did it.

The way it's done (TK and you) with switches to support 3 different sub-families of AVR's is pretty cool.

Tom E
Tom E's picture
Offline
Last seen: 3 hours 29 min ago
Joined: 08/19/2012 - 08:23
Posts: 14731
Location: LI NY

Ok, finished the updates and now have it setup, building, for 3 projects for the 85, 1634 and 1616 all from one source code set. Easy now... smile

I did a 1634 build using:

    #undef USE_THERMAL_REGULATION

It built ok, and with a smaller size of about 900 bytes, so I think this will kill thermal reg effectively. Will try it, hopefully with nothing burning... smile

 

Pages