[Ovmsdev] Instructions for building the "new idf" version?

Craig Leres leres at xse.com
Sun Sep 22 03:34:35 HKT 2024


On 9/21/24 02:26, Michael Geddes via OvmsDev wrote:
> I'm using esp-idf from https://github.com/espressif/esp-idf.git 
> <https://github.com/espressif/esp-idf.git>
> The previous was some months ago on release/v5.2 a36d8bc742 which ran on 
> an ovms unit not connected to a car.
> 
> I've just done a compile off v5.3 .. with a series of patches that I've 
> got from Ludovic and some extras from myself.
> 
> I've also used the latest mongoose which is annoyingly problematic as 
> they re-did the whole way it was put together making it impossible just 
> to apply patches.  I've re-implemented some of the good things they used 
> to have wrt defines and there are a couple  of things that ovms team 
> added that would be required.  One of those is that the 'certificate' is 
> meant to be a filename and there was a patch to the ovms version that 
> allowed that filename string to be the certificate itself.

The work on supporting the latest version of esp-idf sounds great. 
However I'm working on a earlier step -- the toolchain. 
crosstool-ng-1.22.0-97-gc752ad5 is based around gcc 5.2.0, I'd like to 
move to esp-13.2.0_20240530 (gcc 13.2.0) or esp-14.2.0_20240906 (gcc 
14.2.0).

What does "xtensa-esp32-elf-cc --version" say for you?

		Craig

[On my FreeBSD system]
ice 10 % xtensa-esp32-elf-cc --version
xtensa-esp32-elf-cc (crosstool-NG crosstool-ng-1.22.0-97-gc752ad5) 5.2.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[On my ubuntu test box]
sea 15 % bin/xtensa-esp32-elf-cc --version
xtensa-esp-elf-cc (crosstool-NG esp-13.2.0_20240530) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



More information about the OvmsDev mailing list