<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font face="Arial" size="3"><font color="808080"><font color="000000"><span style="background-color: rgb(51, 51, 51);"><span style="background-color: rgb(255, 255, 255);">Hi Michael,<br>
<br>
</span></span></font></font></font>
<div style="color: rgb(0, 0, 0); font-size: 16px;">
<div><font color="808080" face="Arial" size="3"><font color="003366">> The Github hex files are missing the SEVCON functions. You need to download the latest hex release from the german forum or compile yourself.</font></font><font face="Arial" size="3"><br>
<br>
thank you for the clarification. I was not sure what functionnalities were covered by that hex file. I wanted to be able to build the hex on my own since I'll need to make some changes to the code during my project.<br>
</font><font color="808080" face="Arial" size="3"><br>
<font color="003366">> To compile yourself you need to define these (and only these) compiler flags:<br>
</font></font><font color="003366"><font face="Arial" size="3">> OVMS_CAR_NONE<font color="003366">
<br>
<font color="003366">> </font>[<font color="003366">..]</font></font></font></font><font face="Arial" size="3"><font color="808080"><font color="003366"><br>
> ...and you need to manually exclude source files "acc.c", "logging.c" and all other "vehicle*.c" from the build</font><br>
<br>
<font color="000000"><font color="000000">I have removed the "-DOVMS_LOGGINGMODULE"
<font color="000000">option<font color="000000"></font></font> <font color="000000">
in</font> the makefile and added </font></font></font></font><font face="Arial" size="3"><font color="808080"><font color="000000"><font color="000000"><span style="background-color:white;">"OVMS_TWIZY_BATTMON<font color="000000">"</font> and<font color="000000">
<font color="000000">"</font></font>OVMS_TWIZY_CFG</span>". The other compiler flags were already
<font color="000000">present so there was no need to add them.</font></font></font></font></font><font face="Arial" size="3"><font color="000000"> (I was I confused at first bec<font color="000000">ause</font></font></font><font face="Arial" size="3"><font color="000000">
 I <font color="000000">added "#define" </font>for the whole list of compiler flags in
</font></font><font face="Arial" size="3"><font color="000000"><font face="Arial" size="3"><font color="000000">"ovms.def",
<font color="000000">and </font>it didn't turn out well)</font></font></font></font><font face="Arial" size="3"><font color="808080"><font color="000000">.<br>
I<font color="000000"> have excluded "acc.c" a<font color="000000">nd "logging.c<font color="000000">" from the
<font color="000000">build<font color="000000">, but</font></font></font></font></font><font color="000000"> I have
<font color="000000">kept</font> "vehicle.c", "vehicle_none.c" and "vehicle_twizy.c" as I assumed they were necessary.
</font></font></font></font><font face="Arial" size="3"><font color="000000"><font color="000000"><br>
I don't have <font color="000000">compilation</font></font> errors <font color="000000">
<font color="000000">any more</font>, so I guess I didn't do everything wrong<font color="000000">.
<font color="000000">:)</font></font> <br>
<font color="000000">I will now <font color="000000">flash <font color="000000">the module
</font>an<font color="000000">d </font></font></font>test if the CFG commands work.
<font color="000000"><font color="000000"></font></font></font><br>
<br>
<font color="003366">> Be sure to also disable any flow </font></font><font color="808080"><font color="003366">control. Depending on your serial adapter, another parameter init and/or hardware reconnect may be necessary. Also make sure your serial device is
 writable by your login, to be sure launch minicom as root.</font><br>
</font></font><font color="808080" face="Arial"></font><font face="Arial"><br>
Thank you for the suggestions, I am going to explore all possibilities. I have already tried logging in root, and I sudo all the time, but unfortunately that didn't help. I will look into any parameters specific to my hardware and maybe try with a different
 computer / cable / terminal. <br>
<br>
I'll keep you posted on any advance I make.<br>
<br>
Regards,<br>
Julien</font><br>
</div>
</div>
</div>
</body>
</html>