Re: [Ovmsdev] CFG commands on RT_Production
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)
Jeff, It should be sufficient, for the Nissan Leaf, to use the V2_EXPERIMENTAL build and select NL and the vehicle type. You also need to make sure you've got the new style Nissan Leaf OBDII cable (with the EV bus CAN pins, not the CAR CAN bus). Regards, Mark. On 24 Sep, 2014, at 3:06 pm, Aatheus <virtualhermit@gmail.com> wrote:
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)
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
participants (2)
-
Aatheus -
Mark Webb-Johnson