Firmware modification guidelines?

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
MWPau
Master MS/Extra'er
Posts: 411
Joined: Thu Mar 03, 2011 6:24 pm

Firmware modification guidelines?

Post by MWPau »

Hi guys,

So im thinking about implementing the CAN Recieving change mentioned in the last couple of comments here: http://www.msextra.com/forums/viewtopic ... 25&t=59438
I'll be doing so with the aim of submitting it and having it merged into the next alpha/beta firmware. So i want to do it right.

I've looked around a little, and i can't seem to find any general information on how you guys (devs) like to keep the firmware organised especially regarding settings/mem page use.
For example, my change may require a 16x8 byte array for bitmasks.
Where should i put this? I gather in page28 with the other can recv settings (assuming there is room), but do i put it at the start, at the end, or doesn't it matter?
Can i eat into those reserved sections or not (what is "ind")?
etc, etc.

Thanks.
Toyota Celica GT4/Alltrac with 5S-GTE stroker (2.2L I4 turbo, high CR) on E85 w/FlexFuel.
MS3 + MS3X + KnockBoard + RTC + BT + DIY CAN-IO-Board + DIY CAN Digital Dash.
MWPau
Master MS/Extra'er
Posts: 411
Joined: Thu Mar 03, 2011 6:24 pm

Re: Firmware modification guidelines?

Post by MWPau »

No reply?

Don't you guys want any help?
Toyota Celica GT4/Alltrac with 5S-GTE stroker (2.2L I4 turbo, high CR) on E85 w/FlexFuel.
MS3 + MS3X + KnockBoard + RTC + BT + DIY CAN-IO-Board + DIY CAN Digital Dash.
Post Reply