Skip to content

Instantly share code, notes, and snippets.

@sidprice
Created March 12, 2021 22:29
Show Gist options
  • Save sidprice/1e746a1cf91b2ba119a103cd3e2963da to your computer and use it in GitHub Desktop.
Save sidprice/1e746a1cf91b2ba119a103cd3e2963da to your computer and use it in GitHub Desktop.
<<<<<<<<<<<<<<<< Startup pof the Powershell CLI: >>>>>>>>>>>>>>>>>>>>
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
Setting PYTHONNOUSERSITE, was not set
Using Python in C:/esp/tools/.espressif/python_env/idf4.2_py3.8_env/Scripts
Python 3.8.7
Using Git in C:/Program Files/Git/cmd/
git version 2.30.0.windows.2
Setting IDF_PATH: C:\esp\esp-idf
Adding ESP-IDF tools to PATH...
Not using an unsupported version of tool cmake found in PATH: 3.19.4. To use it, run 'C:\esp\tools\.espressif\python_env\idf4.2_py3.8_env\Scripts\python.exe C:\esp\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool openocd-esp32 found in PATH: unknown. To use it, run 'C:\esp\tools\.espressif\python_env\idf4.2_py3.8_env\Scripts\python.exe C:\esp\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool ninja found in PATH: 1.10.2. To use it, run 'C:\esp\tools\.espressif\python_env\idf4.2_py3.8_env\Scripts\python.exe C:\esp\esp-idf\tools\idf_tools.py export --prefer-system'
Name Value
---- -----
OPENOCD_SCRIPTS C:\esp\tools\.espressif\tools\openocd-esp32\v...
IDF_CCACHE_ENABLE 1
IDF_PYTHON_ENV_PATH C:\esp\tools\.espressif\python_env\idf4.2_py3...
Added to PATH
-------------
C:\esp\esp-idf\components\esptool_py\esptool
C:\esp\esp-idf\components\app_update
C:\esp\esp-idf\components\espcoredump
C:\esp\esp-idf\components\partition_table
C:\esp\tools\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\esp\tools\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\esp\tools\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\esp\tools\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\esp\tools\.espressif\tools\cmake\3.16.4\bin
C:\esp\tools\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin
C:\esp\tools\.espressif\tools\ninja\1.10.0\
C:\esp\tools\.espressif\tools\idf-exe\1.0.1\
C:\esp\tools\.espressif\tools\ccache\3.7\
C:\esp\tools\.espressif\python_env\idf4.2_py3.8_env\Scripts
C:\esp\esp-idf\tools
%PATH%
Checking if Python packages are up to date...
Python requirements from C:\esp\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
PS C:\esp\esp-idf>
<<<<<<<<<<<<< Change to project folder and run idf.py build >>>>>>>>>>>>>>>>>>>>>>>>>
PS C:\esp\esp-idf> f:
PS F:\> cd .\DataRoot\Projects\esp-at\
PS F:\DataRoot\Projects\esp-at> idf.py build
Executing action: all (aliases: build)
Running cmake in directory f:\dataroot\projects\esp-at\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 f:\dataroot\projects\esp-at"...
Previous HEAD position was e7ac221b4 Merge branch 'bugfix/authmode_degrade_fix_v4.0_1' into 'release/v4.0'
Switched to branch 'release/v4.0'
M components/bt/controller/lib
M components/bt/host/nimble/nimble
M components/coap/libcoap
M components/esp_wifi/lib_esp32
M components/esptool_py/esptool
M components/lwip/lwip
M components/mbedtls/mbedtls
M components/mqtt/esp-mqtt
Your branch is up to date with 'origin/release/v4.0'.
From https://github.com/espressif/esp-idf
0bfff0b25..0b1bc0b5b release/v3.3 -> origin/release/v3.3
fa2c4fe62..ce2c615bb release/v4.2 -> origin/release/v4.2
Already up to date.
Note: switching to 'e7ac221b42517df8196c8b88cc9ac8dfb63db0f6'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at e7ac221b4 Merge branch 'bugfix/authmode_degrade_fix_v4.0_1' into 'release/v4.0'
CMake Warning at esp-idf/tools/cmake/idf.cmake:14 (message):
IDF_PATH environment variable is different from inferred IDF_PATH.
Check if your project's top-level CMakeLists.txt includes the right
CMake files. Environment IDF_PATH will be used for the build.
Call Stack (most recent call first):
esp-idf/tools/cmake/project.cmake:7 (include)
CMakeLists.txt:92 (include)
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.30.0.windows.2")
-- IDF_TARGET not set, using default target: esp32
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project version: v2.1.0.0_esp32s2
-- Building ESP-IDF components for target esp32
warning: AT_COMMAND_TERMINATOR (defined at F:/DataRoot/Projects/esp-at/main/Kconfig:38) has leading or trailing whitespace in its prompt
warning: style: quotes recommended around default value for string symbol AT_CUSTOMIZED_PARTITION_TABLE_FILE (defined at F:/DataRoot/Projects/esp-at/components/customized_partitions/Kconfig.projbuild:17)
warning: the choice symbol FATFS_LFN_HEAP (defined at C:/esp/esp-idf/components/fatfs/Kconfig:96) is selected by the following symbols, but select/imply has no effect on choice symbols
- AT_FS_COMMAND_SUPPORT (defined at F:/DataRoot/Projects/esp-at/main/Kconfig:186, F:/DataRoot/Projects/esp-at/main/Kconfig:232)
- AT_FS_COMMAND_SUPPORT (defined at F:/DataRoot/Projects/esp-at/main/Kconfig:186, F:/DataRoot/Projects/esp-at/main/Kconfig:232)
warning: the choice symbol WL_SECTOR_SIZE_512 (defined at C:/esp/esp-idf/components/wear_levelling/Kconfig:21) is selected by the following symbols, but select/imply has no effect on choice symbols
- AT_FS_COMMAND_SUPPORT (defined atLoading defaults file F:/DataRoot/Projects/esp-at/module_config/module_esp32_default/sdkconfig.defaults...
F:/DataRoot/Projects/esp-at/module_config/module_esp32_default/sdkconfig.defaults:32 CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG was replaced with CONFIG_COMPILER_OPTIMIZATION_DEFAULT
F:/DataRoot/Projects/esp-at/module_config/module_esp32_default/sdkconfig.defaults:139 CONFIG_ESP32_DEBUG_STUBS_ENABLE was replaced with CONFIG_ESP_DEBUG_STUBS_ENABLE
C:\Users\sid\AppData\Local\Temp\confgen_tmp67vhhztc:18 line was updated to CONFIG_BOOTLOADER_WDT_ENABLE=n
C:\Users\sid\AppData\Local\Temp\confgen_tmp67vhhztc:33 line was updated to CONFIG_PARTITION_TABLE_MD5=n
F:/DataRoot/Projects/esp-at/main/Kconfig:186, F:/DataRoot/Projects/esp-at/main/Kconfig:232)
- AT_FS_COMMAND_SUPPORT (defined at F:/DataRoot/Projects/esp-at/main/Kconfig:186, F:/DataRoot/Projects/esp-at/main/Kconfig:232)
warning: the default selection CONFIG_PHY_IP101 (undefined) of <choice PHY_MODEL> (defined at F:/DataRoot/Projects/esp-at/main/Kconfig:200) is not contained in the choice
-- Found PythonInterp: C:/esp/tools/.espressif/python_env/idf4.2_py3.8_env/Scripts/python.exe (found version "3.8.7")
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- App "esp-at" version: v2.1.0.0_esp32s2
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-nano.ld
-- Adding linker script F:/DataRoot/Projects/esp-at/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script C:/esp/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script C:/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld
Parsing CSV input...
Verifying table...
CMake Error at components/customized_partitions/CMakeLists.txt:20 (esptool_py_flash_project_args):
Unknown CMake command "esptool_py_flash_project_args".
-- Configuring incomplete, errors occurred!
See also "F:/DataRoot/Projects/esp-at/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
PS F:\DataRoot\Projects\esp-at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment