On 26 Oct 2019, at 19:57, Tamás Kovács <kommykt@gmail.com> wrote: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
- 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
- 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 appToolchain path: /Users/kommykt/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gccToolchain version: crosstool-ng-1.22.0-80-g6c4433aCompiler version: 5.2.0App "ovms3" version: 3.2.005-81-g00ab9db0Generating esp32.project.ldTraceback (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 mainsections_infos.add_sections_info(sections_info_file_obj)File "/Users/kommykt/esp/esp-idf/tools/ldgen/generation.py", line 618, in add_sections_inforaise 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
#!/bin/sh# sudo easy_install pip# pip install --user pyserial# brew install ccache cmake ninja# /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -m pip install --user -r /Users/plord/src/ovms/esp/esp-idf/requirements.txtset -eXTENSA=xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gzif [ ! -d esp ]thenif [ ! -f ${XTENSA} ]thenfimkdir espcd esptar -xzf ../${XTENSA}cd esp-idfgit submodule update --init --recursivecd ../..fi. env.shif [ ! -d Open-Vehicle-Monitoring-System-3 ]thencd Open-Vehicle-Monitoring-System-3elsecd Open-Vehicle-Monitoring-System-3git pullficd vehicle/OVMS.V3git submodule update --init --recursivecp support/sdkconfig.default.hw31 sdkconfigmake menuconfigmake app
PATH=$(pwd)/esp/xtensa-esp32-elf/bin:$PATHexport PATHIDF_PATH=$(pwd)/esp//esp-idfexport IDF_PATH