6631f6cc23529b6446c89248b6e1be24147505ca
SDK-dat/C-dat/C-dat.md
| ... | ... | @@ -1,6 +1,26 @@ |
| 1 | 1 | |
| 2 | 2 | # C-dat |
| 3 | 3 | |
| 4 | + |
|
| 5 | +IntelliSense Configurations |
|
| 6 | + |
|
| 7 | +${config:idf.toolsPathWin}\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin\xtensa-esp32s3-elf-gcc.exe |
|
| 8 | + |
|
| 9 | + Cannot find: d:\Espressif\tools\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin\xtensa-esp32s3-elf-gcc.exe |
|
| 10 | + |
|
| 11 | +Include path |
|
| 12 | + |
|
| 13 | +One include path per line. |
|
| 14 | + |
|
| 15 | +${config:idf.espIdfPath}/components/** |
|
| 16 | +${config:idf.espIdfPathWin}/components/** |
|
| 17 | +${workspaceFolder}/** |
|
| 18 | +C:/Users/flushddd/Desktop/esp32projects/esp32cam/components/cam_driver/** |
|
| 19 | + |
|
| 20 | + Cannot find: d:/Espressif/frameworks/esp-idf-v5.4.1/components/ |
|
| 21 | + Cannot find: C:/Users/flushddd/Desktop/esp32projects/esp32cam/components/cam_driver/ |
|
| 22 | + |
|
| 23 | + |
|
| 4 | 24 | - [[ccache-dat]] |
| 5 | 25 | |
| 6 | 26 | command example |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-dat.md
| ... | ... | @@ -2,7 +2,26 @@ |
| 2 | 2 | |
| 3 | 3 | # ESP IDF |
| 4 | 4 | |
| 5 | -- [[C-dat]] - [[cmake-dat]] |
|
| 5 | +- [[C-dat]] - [[cmake-dat]] - [[esp-CMakelists-dat]] |
|
| 6 | + |
|
| 7 | +- [[sdkconfig-dat]] - [[menuconfig-dat]] |
|
| 8 | + |
|
| 9 | +- [[esp-idf-vscode-dat]] |
|
| 10 | + |
|
| 11 | +- [[esp-idf-error-dat]] |
|
| 12 | + |
|
| 13 | +## demo code |
|
| 14 | + |
|
| 15 | +- https://github.com/Edragon/esp-idf-code |
|
| 16 | + |
|
| 17 | +## how to use a downloaded project |
|
| 18 | + |
|
| 19 | +- replace .vscode/settings.json with your own .vscode/settings.json |
|
| 20 | +- optionally replace .vsconde/c_cpp_properties.json with your own .vscode/c_cpp_properties.json |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 24 | + |
|
| 6 | 25 | |
| 7 | 26 | ## install |
| 8 | 27 | |
| ... | ... | @@ -48,6 +67,11 @@ This archive can also be downloaded from Espressif's download server: |
| 48 | 67 | https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.0/esp-idf-v5.0.zip |
| 49 | 68 | |
| 50 | 69 | |
| 70 | +- idf install python 3.11 |
|
| 71 | +- idf-vs install python 3.8.7 |
|
| 72 | + |
|
| 73 | + |
|
| 74 | + |
|
| 51 | 75 | ### installer |
| 52 | 76 | |
| 53 | 77 |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-error-dat.md
| ... | ... | @@ -1,6 +1,23 @@ |
| 1 | 1 | |
| 2 | 2 | # esp-idf-error-dat.md |
| 3 | 3 | |
| 4 | +clean and rebuild |
|
| 5 | + |
|
| 6 | + * Executing task: e:\work-data\IDF_tools\tools\ninja\1.12.1\ninja.EXE |
|
| 7 | + |
|
| 8 | + [0/1] Re-running CMake...CMake Error: The source directory "E:/Git-category/Git-Arduino/esp-idf-code/blink/blink2-build" does not exist. |
|
| 9 | + Specify --help for usage, or press the help button on the CMake GUI. |
|
| 10 | + ninja: error: rebuilding 'build.ninja': subcommand failed |
|
| 11 | + |
|
| 12 | + FAILED: build.ninja |
|
| 13 | + E:\work-data\IDF_tools\tools\cmake\3.30.2\bin\cmake.exe --regenerate-during-build -SE:\Git-category\Git-Arduino\esp-idf-code\blink\blink2-build -BE:\Git-category\Git-Arduino\esp-idf-code\blink\blink2-build\build |
|
| 14 | + |
|
| 15 | + * The terminal process "e:\work-data\IDF_tools\tools\ninja\1.12.1\ninja.EXE" terminated with exit code: 1. |
|
| 16 | + |
|
| 17 | +--- |
|
| 18 | + |
|
| 19 | + |
|
| 20 | + |
|
| 4 | 21 | * Executing task: e:\work-data\IDF_tools\tools\cmake\3.30.2\bin\cmake.exe -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B e:\Git-category\Git-Arduino\esp-idf-code\build -S e:\Git-category\Git-Arduino\esp-idf-code -DSDKCONFIG='e:\Git-category\Git-Arduino\esp-idf-code\sdkconfig' |
| 5 | 22 | |
| 6 | 23 | CMake Error: The source directory "E:/Git-category/Git-Arduino/esp-idf-code" does not appear to contain CMakeLists.txt. |
| ... | ... | @@ -39,3 +56,61 @@ |
| 39 | 56 | |
| 40 | 57 | |
| 41 | 58 | |
| 59 | + |
|
| 60 | + |
|
| 61 | + |
|
| 62 | + |
|
| 63 | +Extracting C:\Users\Administrator\.espressif\dist\esp32ulp-elf-2.35_20220830-win64.zip to C:\Users\Administrator\.espressif\tools\esp32ulp-elf\2.35_20220830 |
|
| 64 | + |
|
| 65 | + |
|
| 66 | +Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env |
|
| 67 | + |
|
| 68 | + |
|
| 69 | + |
|
| 70 | + |
|
| 71 | + Using cached https://dl.espressif.com/pypi/certifi/certifi-2022.12.7-py3-none-any.whl (155 kB) |
|
| 72 | + Installing collected packages: windows-curses, reedsolo, pyserial, pygdbmi, pyelftools, msgpack, lockfile, bitstring, urllib3, six, pyyaml, pyparsing, pycparser, packaging, kconfiglib, idna, future, freertos_gdb, contextlib2, construct, colorama, charset-normalizer, certifi, tqdm, schema, requests, ecdsa, click, cffi, requests-toolbelt, requests-file, cryptography, cachecontrol, esptool, idf-component-manager, esp-coredump |
|
| 73 | + DEPRECATION: esp-coredump is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 |
|
| 74 | + Running setup.py install for esp-coredump ... done |
|
| 75 | + Successfully installed bitstring-3.1.9 cachecontrol-0.12.11 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-2.1.1 click-8.0.4 colorama-0.4.6 construct-2.10.68 contextlib2-21.6.0 cryptography-36.0.2 ecdsa-0.18.0 esp-coredump-1.4.2 esptool-4.4 freertos_gdb-1.0.1 future-0.18.2 idf-component-manager-1.2.1 idna-3.4 kconfiglib-14.1.0 lockfile-0.12.2 msgpack-1.0.4 packaging-22.0 pycparser-2.21 pyelftools-0.27 pygdbmi-0.9.0.2 pyparsing-3.0.9 pyserial-3.5 pyyaml-6.0 reedsolo-1.5.4 requests-2.28.1 requests-file-1.5.1 requests-toolbelt-0.10.1 schema-0.7.5 six-1.16.0 tqdm-4.64.1 urllib3-1.26.13 windows-curses-2.3.1 |
|
| 76 | + All done! You can now run: |
|
| 77 | + export.bat |
|
| 78 | + PS E:\soft\Clash.for.Windows-0.20.6-win> Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env |
|
| 79 | + |
|
| 80 | + |
|
| 81 | +export.bat |
|
| 82 | + |
|
| 83 | + PS E:\esp-idf-v5.0> .\export.bat |
|
| 84 | + Checking Python compatibility |
|
| 85 | + Setting IDF_PATH: E:\esp-idf-v5.0 |
|
| 86 | + |
|
| 87 | + Adding ESP-IDF tools to PATH... |
|
| 88 | + C:\Users\Administrator\.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin |
|
| 89 | + C:\Users\Administrator\.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin |
|
| 90 | + C:\Users\Administrator\.espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin |
|
| 91 | + C:\Users\Administrator\.espressif\tools\xtensa-esp32s2-elf\esp-2022r1-11.2.0\xtensa-esp32s2-elf\bin |
|
| 92 | + C:\Users\Administrator\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin |
|
| 93 | + C:\Users\Administrator\.espressif\tools\riscv32-esp-elf\esp-2022r1-11.2.0\riscv32-esp-elf\bin |
|
| 94 | + C:\Users\Administrator\.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin |
|
| 95 | + C:\Users\Administrator\.espressif\tools\cmake\3.24.0\bin |
|
| 96 | + C:\Users\Administrator\.espressif\tools\openocd-esp32\v0.11.0-esp32-20221026\openocd-esp32\bin |
|
| 97 | + C:\Users\Administrator\.espressif\tools\ninja\1.10.2\ |
|
| 98 | + C:\Users\Administrator\.espressif\tools\idf-exe\1.0.3\ |
|
| 99 | + C:\Users\Administrator\.espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64 |
|
| 100 | + C:\Users\Administrator\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64 |
|
| 101 | + C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env\Scripts |
|
| 102 | + E:\esp-idf-v5.0\tools |
|
| 103 | + |
|
| 104 | + Checking if Python packages are up to date... |
|
| 105 | + Constraint file: C:\Users\Administrator\.espressif\espidf.constraints.v5.0.txt |
|
| 106 | + Requirement files: |
|
| 107 | + - E:\esp-idf-v5.0\tools\requirements\requirements.core.txt |
|
| 108 | + Python being checked: C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe |
|
| 109 | + Python requirements are satisfied. |
|
| 110 | + |
|
| 111 | + Done! You can now compile ESP-IDF projects. |
|
| 112 | + Go to the project directory and run: |
|
| 113 | + |
|
| 114 | + idf.py build |
|
| 115 | + |
|
| 116 | + PS E:\esp-idf-v5.0> |
|
| ... | ... | \ No newline at end of file |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-tools/eit-install.md
| ... | ... | @@ -1,4 +0,0 @@ |
| 1 | - |
|
| 2 | - |
|
| 3 | -- idf install python 3.11 |
|
| 4 | -- idf-vs install python 3.8.7 |
|
| ... | ... | \ No newline at end of file |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-tools/eit-log.md
| ... | ... | @@ -1,56 +0,0 @@ |
| 1 | - |
|
| 2 | - |
|
| 3 | -Extracting C:\Users\Administrator\.espressif\dist\esp32ulp-elf-2.35_20220830-win64.zip to C:\Users\Administrator\.espressif\tools\esp32ulp-elf\2.35_20220830 |
|
| 4 | - |
|
| 5 | - |
|
| 6 | -Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env |
|
| 7 | - |
|
| 8 | - |
|
| 9 | - |
|
| 10 | - |
|
| 11 | - Using cached https://dl.espressif.com/pypi/certifi/certifi-2022.12.7-py3-none-any.whl (155 kB) |
|
| 12 | - Installing collected packages: windows-curses, reedsolo, pyserial, pygdbmi, pyelftools, msgpack, lockfile, bitstring, urllib3, six, pyyaml, pyparsing, pycparser, packaging, kconfiglib, idna, future, freertos_gdb, contextlib2, construct, colorama, charset-normalizer, certifi, tqdm, schema, requests, ecdsa, click, cffi, requests-toolbelt, requests-file, cryptography, cachecontrol, esptool, idf-component-manager, esp-coredump |
|
| 13 | - DEPRECATION: esp-coredump is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 |
|
| 14 | - Running setup.py install for esp-coredump ... done |
|
| 15 | - Successfully installed bitstring-3.1.9 cachecontrol-0.12.11 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-2.1.1 click-8.0.4 colorama-0.4.6 construct-2.10.68 contextlib2-21.6.0 cryptography-36.0.2 ecdsa-0.18.0 esp-coredump-1.4.2 esptool-4.4 freertos_gdb-1.0.1 future-0.18.2 idf-component-manager-1.2.1 idna-3.4 kconfiglib-14.1.0 lockfile-0.12.2 msgpack-1.0.4 packaging-22.0 pycparser-2.21 pyelftools-0.27 pygdbmi-0.9.0.2 pyparsing-3.0.9 pyserial-3.5 pyyaml-6.0 reedsolo-1.5.4 requests-2.28.1 requests-file-1.5.1 requests-toolbelt-0.10.1 schema-0.7.5 six-1.16.0 tqdm-4.64.1 urllib3-1.26.13 windows-curses-2.3.1 |
|
| 16 | - All done! You can now run: |
|
| 17 | - export.bat |
|
| 18 | - PS E:\soft\Clash.for.Windows-0.20.6-win> Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env |
|
| 19 | - |
|
| 20 | - |
|
| 21 | -export.bat |
|
| 22 | - |
|
| 23 | - PS E:\esp-idf-v5.0> .\export.bat |
|
| 24 | - Checking Python compatibility |
|
| 25 | - Setting IDF_PATH: E:\esp-idf-v5.0 |
|
| 26 | - |
|
| 27 | - Adding ESP-IDF tools to PATH... |
|
| 28 | - C:\Users\Administrator\.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin |
|
| 29 | - C:\Users\Administrator\.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin |
|
| 30 | - C:\Users\Administrator\.espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin |
|
| 31 | - C:\Users\Administrator\.espressif\tools\xtensa-esp32s2-elf\esp-2022r1-11.2.0\xtensa-esp32s2-elf\bin |
|
| 32 | - C:\Users\Administrator\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin |
|
| 33 | - C:\Users\Administrator\.espressif\tools\riscv32-esp-elf\esp-2022r1-11.2.0\riscv32-esp-elf\bin |
|
| 34 | - C:\Users\Administrator\.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin |
|
| 35 | - C:\Users\Administrator\.espressif\tools\cmake\3.24.0\bin |
|
| 36 | - C:\Users\Administrator\.espressif\tools\openocd-esp32\v0.11.0-esp32-20221026\openocd-esp32\bin |
|
| 37 | - C:\Users\Administrator\.espressif\tools\ninja\1.10.2\ |
|
| 38 | - C:\Users\Administrator\.espressif\tools\idf-exe\1.0.3\ |
|
| 39 | - C:\Users\Administrator\.espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64 |
|
| 40 | - C:\Users\Administrator\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64 |
|
| 41 | - C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env\Scripts |
|
| 42 | - E:\esp-idf-v5.0\tools |
|
| 43 | - |
|
| 44 | - Checking if Python packages are up to date... |
|
| 45 | - Constraint file: C:\Users\Administrator\.espressif\espidf.constraints.v5.0.txt |
|
| 46 | - Requirement files: |
|
| 47 | - - E:\esp-idf-v5.0\tools\requirements\requirements.core.txt |
|
| 48 | - Python being checked: C:\Users\Administrator\.espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe |
|
| 49 | - Python requirements are satisfied. |
|
| 50 | - |
|
| 51 | - Done! You can now compile ESP-IDF projects. |
|
| 52 | - Go to the project directory and run: |
|
| 53 | - |
|
| 54 | - idf.py build |
|
| 55 | - |
|
| 56 | - PS E:\esp-idf-v5.0> |
|
| ... | ... | \ No newline at end of file |