<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I just pushed a solution for this.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 24.02.2018 um 21:52 schrieb Stephen
Casner:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.OSX.2.21.1802241246590.97343@auge.attlocal.net">
<pre wrap="">This needs some help, but I don't qualify as a 'make' guru.
Just now I pulled to get the new ovms_time and ran 'make' (within
emacs, as I usually do so I can jump to the source files for errors).
That compiled just the new module as expected. Then I wanted to run
it, so in the shell I did "make flash monitor". That proceded to run
GENCONFIG and recompile everything.
While working on the updates last evening I observed that every time I
did "make flash monitor" it would recompile ovms_version and link even
though I had just done a 'make' beforehand.
-- Steve
On Thu, 22 Feb 2018, Mark Webb-Johnson wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Michael,
Our own version is set in main/ovms.h as:
#define OVMS_VERSION "3.0.990"
That is used to generate metrics, on boot.
I have just committed (and pushed) a re-work of this to do something similar to what you show here. Downside is that the main/ovms_version module has to be rebuilt each build.
OVMS > metrics list m.version
m.version 3.0.990-6-ga45e575/factory/main build (idf v3.1-dev-392-g3d5f7b3e) Feb 22 2018 11:16:23
Any ‘make’ gurus out there that want to improve it, please go ahead. Perhaps we can somehow depend it on the main ovms.o (so it only builds when that changes)?
Regards, Mark
</pre>
<blockquote type="cite">
<pre wrap="">On 17 Feb 2018, at 7:26 AM, Michael Balzer <a class="moz-txt-link-rfc2396E" href="mailto:dexter@expeedo.de"><dexter@expeedo.de></a> wrote:
That's set at…
balzer@leela:~/esp/esp-idf> git show v3.1-dev
commit 22489d70214a5b7650ab197ffd6ab73e9c50a772
Merge: c4448714 f58c5b21
Author: Jiang Jiang Jian <a class="moz-txt-link-rfc2396E" href="mailto:jack@espressif.com"><jack@espressif.com></a> <a class="moz-txt-link-rfc2396E" href="mailto:jack@espressif.com"><mailto:jack@espressif.com></a>
Date: Fri Dec 1 22:06:43 2017 +0800
Merge branch 'bugfix/wdt_periph_enable' into 'master'
watchdogs: make sure timer group peripherals are enabled
See merge request !1623</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
</blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="160">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>