View unanswered posts | View active topics It is currently Mon Oct 16, 2017 11:06 pm

Reply to topic  [ 1 post ] 
Attention Core Devs And Users 
Author Message
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14820
Location: Home sweet home!
Yes, that's just me, Sean0, and Preston! (for now, come on people, step up!)

Conditional compilation has been added for the following temporary reasons:

1) Preconfigured/tuned builds for core members who for any reason are building and burning often and require their code to actually work
2) XGATE development without affecting users who do not require XGATE functionality to run their engines.

Currently the following options are supported:

Build with XGATE enabled:

CLIFLAGS="-D XGATE=1" make clean s19

Build with specific data, settings, scheduling, etc:

CLIFLAGS="-D HOTEL=1" make clean s19
CLIFLAGS="-D PRESTO=1" make clean s19
CLIFLAGS="-D TRUCK=1" make clean s19
CLIFLAGS="-D SEANKLT1=1" make clean s19
CLIFLAGS="-D SEANKR1=1" make clean s19

If no arguments are passed, you get a non-XGATE firmware without any events scheduled.

Note, if you do:

make s19

and then run one of the above, it will not build anything as the flags do not know about time stamps. Hence the clean target being included. You don't have to clean every time, but you do have to clean before the first time with a specific CLIFLAG argument or you will not get the desired result.

To get your data/config/settings/etc into the code base, you need to meet these requirements as found in the code:

   /*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& RULES FOR HAVING CONFIG IN THE CODE &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
   /*&&&&&&&&&&&&&&& you are building frequently, for a vehicle, and contributing dev time &&&&&&&&&&&&&&&&*/

All of these will be removed once we have a loader that can do partial loads, and a tuner that can do full configuration, with save and restore in a readable format. Give it six months, I guess.



_________________ - where Open Source means Open Source, and Free means Freedom - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!

Tue Mar 22, 2011 4:31 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.