[Ovmsdev] Developer environment

Tamás Kovács kommykt at gmail.com
Sun Oct 27 02:57:26 HKT 2019


I get a new computer with macOS Catalina. Now I want't to install the
developer environment. I use the following commands:

- sudo easy_install pip

- download :
https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz

- mkdir -p ~/esp

- cd ~/esp

- tar -xzf ~/Downloads/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz

- add this: “export PATH=$HOME/esp/xtensa-esp32-elf/bin:$PATH” to
~/.profile without quotes ””

Git clone the OVMS ESP IDF repository:

- git clone *https://github.com/openvehicles/esp-idf.git*
<https://github.com/openvehicles/esp-idf.git>

- cd esp-idf

- git submodule update --init –recursive

-add this: “export IDF_PATH=~/esp/esp-idf” to ~/.profile without quotes ””

Git clone the OVMS v3 repository and init the build configuration:

- git clone
*https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3.git*
<https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3.git>

- cd Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3

- git submodule update --init --recursive

- cp support/sdkconfig.default.hw31 sdkconfig

- make menuconfig

If I run the make app command I get the following error:

make app

Toolchain path: /Users/kommykt/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc

Toolchain version: crosstool-ng-1.22.0-80-g6c4433a

Compiler version: 5.2.0

App "ovms3" version: 3.2.005-81-g00ab9db0

Generating esp32.project.ld

Traceback (most recent call last):

  File "/Users/kommykt/esp/esp-idf/tools/ldgen/ldgen.py", line 113, in
<module>

    main()

  File "/Users/kommykt/esp/esp-idf/tools/ldgen/ldgen.py", line 88, in main

    sections_infos.add_sections_info(sections_info_file_obj)

  File "/Users/kommykt/esp/esp-idf/tools/ldgen/generation.py", line 618, in
add_sections_info

    raise ParseException("File " + sections_info_file.name + " is not a
valid sections info file. " + p.message)

pyparsing.ParseException: File
/Users/kommykt/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/app_trace/libapp_trace.a.sections_info
is not a valid sections info file.  (at char 0), (line:1, col:1)

make: ***
[/Users/kommykt/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/esp32/esp32.project.ld]
Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20191026/666f4f26/attachment.html>


More information about the OvmsDev mailing list