[Ovmsdev] /store gone (was: Re: Awfully quiet out there)
casner at acm.org
Sun Feb 25 04:52:47 HKT 2018
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.
On Thu, 22 Feb 2018, Mark Webb-Johnson wrote:
> 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
> > On 17 Feb 2018, at 7:26 AM, Michael Balzer <dexter at expeedo.de> wrote:
> > That's set at…
> > balzer at leela:~/esp/esp-idf> git show v3.1-dev
> > commit 22489d70214a5b7650ab197ffd6ab73e9c50a772
> > Merge: c4448714 f58c5b21
> > Author: Jiang Jiang Jian <jack at espressif.com> <mailto:jack at espressif.com>
> > 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
More information about the OvmsDev