Thank you for posting this info! I was able to get the experimental Nissan Leaf code to compile and (sort of) do useful things now. The configuration that I had to use was V2_EXPERIMENTAL. I cloned it to be V2_EXPERIMENTAL_LEAF. I set these flags: OVMS_CAR_NONE OVMS_HW_V2 OVMS_DIAGMODULE OVMS_INTERNALGPS OVMS_NISSANLEAF OVMS_LOGGINGMODULE OVMS_POLLER OVMS_ODBII OVMS_TRACK I also excluded acc.c and all of the other vehicle source files except for these: vehicle_nissanleaf.c vehicle_none.c vehicle_odbii.c vehicle_track.c vehicle.c Now the hex file builds and the OVMS v2 module is able to give me a different inaccurate battery percentage (0% instead of 80%). Progress? :) -Jeff Orr Message: 2 Date: Mon, 22 Sep 2014 20:02:47 +0200 From: Michael Balzer <dexter@expeedo.de> Subject: Re: [Ovmsdev] CFG commands on RT_Production To: ovmsdev@lists.teslaclub.hk Message-ID: <54206447.5010806@expeedo.de> Content-Type: text/plain; charset="windows-1252"; Format="flowed" (snip) To compile yourself you need to define these (and only these) compiler flags: OVMS_CAR_NONE OVMS_CAR_RENAULTTWIZY OVMS_HW_V2 OVMS_DIAGMODULE OVMS_INTERNALGPS OVMS_TWIZY_BATTMON OVMS_TWIZY_CFG ...and you need to manually exclude source files "acc.c", "logging.c" and all other "vehicle*.c" from the build, because otherwise... (snip)