<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Zdravím,</p>
    <p>Normálně používám PIO a Wemos D1 ESP32, framework Arduino a to
      funguje bez problémů.</p>
    <p>TeĎ jsem zkoušel vaši kombinaci a to proběhlo taky OK - teda
      trvalo to tak 10 minut, ale normálně doběhlo. I prázdný projekt
      jde zkompilovat. Nicméně to teď nemám do čeho nahrát - nemám tu po
      ruce žádnou ESP32.</p>
    <p>Mám:</p>
    <p>Deepin Linux 20.2.1 (based Debian 10)</p>
    <p>Atom 1.57.0</p>
    <p>PIO 5.1.1.</p>
    <p>Petr<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Dne 23. 05. 21 v 13:43 Jan Půhoný
      napsal(a):<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEwSxSG+sPn+61yNxaj9s8NOWgnUY6itDzn+18gtd4wiYby+nA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hmm, tak fakt už nevím. Zkoušel jsem vytvořit
        projekt pro Node MCU ESP32S. To prostě zaboha nejde. Skončí to
        při nejlepším touto hláškou:
        <div><br>
        </div>
        <div><span
style="color:rgb(152,152,152);font-family:-apple-system,BlinkMacSystemFont,"Segoe
            UI","PingFang SC","Hiragino Sans
            GB","Microsoft YaHei","Helvetica
            Neue",Helvetica,Arial,sans-serif,"Apple Color
            Emoji","Segoe UI Emoji","Segoe UI
            Symbol";font-size:14px;background-color:rgb(37,37,38)">PIO
            Core Call Error: "The current working directory
C:\\Users\\uživatel\\Documents\\Prace\\Moje_projekty\\_ovladani_topeni\\ESP32-2019-ovladani_topeni\\platformio\\topeniESP32
            will be used for the project.\r\n\r\nThe next
            files/directories have been created in
C:\\Users\\uživatel\\Documents\\Prace\\Moje_projekty\\_ovladani_topeni\\ESP32-2019-ovladani_topeni\\platformio\\topeniESP32\r\ninclude
            - Put project header files here\r\nlib - Put here project
            specific (private) libraries\r\nsrc - Put project source
            files here\r\nplatformio.ini - Project Configuration
            File\r\n\n\nError: Processing nodemcu-32s (platform:
            espressif32; board: nodemcu-32s; framework:
espidf)\r\n--------------------------------------------------------------------------------\r\nVerbose
            mode can be enabled via `-v, --verbose`
            option\r\nCONFIGURATION: <a
href="https://docs.platformio.org/page/boards/espressif32/nodemcu-32s.html\r\nPLATFORM"
              moz-do-not-send="true">https://docs.platformio.org/page/boards/espressif32/nodemcu-32s.html\r\nPLATFORM</a>:
            Espressif 32 (3.2.0) > NodeMCU-32S\r\nHARDWARE: ESP32
            240MHz, 320KB RAM, 4MB Flash\r\nDEBUG: Current (esp-prog)
            External (esp-prog, iot-bus-jtag, jlink, minimodule,
            olimex-arm-usb-ocd, olimex-arm-usb-ocd-h,
            olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)\r\nPACKAGES:
            \r\n - framework-espidf 3.40200.210118 (4.2.0) \r\n -
            tool-cmake 3.16.4 \r\n - tool-esptoolpy 1.30000.201119
            (3.0.0) \r\n - tool-idf 1.0.1 \r\n - tool-mconf
            1.4060000.20190628 (406.0.0) \r\n - tool-ninja 1.9.0 \r\n -
            toolchain-esp32ulp 1.22851.191205 (2.28.51) \r\n -
            toolchain-xtensa32 2.80400.210211 (8.4.0)\r\nReading CMake
            configuration...\r\n-- Found Git: C:/Program
            Files/Git/cmd/git.exe (found version \"2.14.1.windows.1\")
            \r\n-- The C compiler identification is GNU 8.4.0\r\n-- The
            CXX compiler identification is GNU 8.4.0\r\n-- The ASM
            compiler identification is GNU\r\n-- Found assembler:
C:/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe\r\n--
            Check for working C compiler:
C:/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe\r\n--
            Check for working C compiler:
            C:/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe
            -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting
            C compiler ABI info - done\r\n-- Detecting C compile
            features\r\n-- Detecting C compile features - done\r\n--
            Check for working CXX compiler:
C:/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-g++.exe\r\n--
            Check for working CXX compiler:
            C:/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-g++.exe
            -- works\r\n-- Detecting CXX compiler ABI info\r\n--
            Detecting CXX compiler ABI info - done\r\n-- Detecting CXX
            compile features\r\n-- Detecting CXX compile features -
            done\r\n-- Project is not inside a git repository, or git
            repository has no commits; will not use 'git describe' to
            determine PROJECT_VER.\r\n-- Building ESP-IDF components for
            target esp32\r\n-- Configuring incomplete, errors
            occurred!\r\nSee also
\"C:/Users/uĹľivatel/Documents/Prace/Moje_projekty/_ovladani_topeni/ESP32-2019-ovladani_topeni/platformio/topeniESP32/.pio/build/nodemcu-32s/CMakeFiles/CMakeOutput.log\".\r\n\r\nfatal:
            Not a git repository (or any of the parent directories):
            .git\r\nTraceback (most recent call last):\r\n\r\n File
\"C:\\.platformio\\packages\\framework-espidf\\tools\\kconfig_new\\prepare_kconfig_files.py\",
            line 96, in <module>\r\n\r\n
            _prepare_source_files(env)\r\n\r\n File
\"C:\\.platformio\\packages\\framework-espidf\\tools\\kconfig_new\\prepare_kconfig_files.py\",
            line 67, in _prepare_source_files\r\n\r\n
            _write_source_file(env_dict['COMPONENT_KCONFIGS'],
            env_dict['COMPONENT_KCONFIGS_SOURCE_FILE'])\r\n\r\n File
\"C:\\.platformio\\packages\\framework-espidf\\tools\\kconfig_new\\prepare_kconfig_files.py\",
            line 63, in _write_source_file\r\n\r\n with
            open(config_file, 'w', encoding='utf-8') as
            f:\r\n\r\nFileNotFoundError: [Errno 2] No such file or
            directory:
'C:/Users/u┼żivatel/Documents/Prace/Moje_projekty/_ovladani_topeni/ESP32-2019-ovladani_topeni/platformio/topeniESP32/.pio/build/nodemcu-32s/<a
              href="http://kconfigs.in" moz-do-not-send="true">kconfigs.in</a>'\r\n\r\nTraceback
            (most recent call last):\r\n\r\n File
\"C:\\.platformio\\packages\\framework-espidf\\tools\\kconfig_new\\confgen.py\",
            line 641, in <module>\r\n\r\n main()\r\n\r\n File
\"C:\\.platformio\\packages\\framework-espidf\\tools\\kconfig_new\\confgen.py\",
            line 261, in main\r\n\r\n config =
            kconfiglib.Kconfig(args.kconfig)\r\n\r\n File
\"C:\\.platformio\\packages\\framework-espidf\\tools\\kconfig_new\\kconfiglib.py\",
            line 947, in __init__\r\n\r\n self._init(filename, warn,
            warn_to_stderr, encoding)\r\n\r\n File
\"C:\\.platformio\\packages\\framework-espidf\\tools\\kconfig_new\\kconfiglib.py\",
            line 1085, in _init\r\n\r\n self._parse_block(None,
            self.top_node, self.top_node).next = None\r\n\r\n File
\"C:\\.platformio\\packages\\framework-espidf\\tools\\kconfig_new\\kconfiglib.py\",
            line 2970, in _parse_block\r\n\r\n raise
            KconfigError(\r\n\r\nkconfiglib.KconfigError:
            C:/.platformio/packages/framework-espidf/Kconfig:165:
'C:/Users/u┼żivatel/Documents/Prace/Moje_projekty/_ovladani_topeni/ESP32-2019-ovladani_topeni/platformio/topeniESP32/.pio/build/nodemcu-32s/<a
              href="http://kconfigs_projbuild.in" moz-do-not-send="true">kconfigs_projbuild.in</a>'
            not found (in 'source
            \"$COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE\"'). Check that
            environment variables are set correctly (e.g. $srctree,
            which is unset or blank). Also note that unset environment
            variables expand to the empty string.\r\n\r\nCMake Error at
C:/.platformio/packages/framework-espidf/tools/cmake/kconfig.cmake:225
            (message):\r\n Failed to run confgen.py\r\n
(c:\\.platformio\\penv\\scripts\\python.exe;C:/.platformio/packages/framework-espidf/tools/kconfig_new/confgen.py;--kconfig;C:/.platformio/packages/framework-espidf/Kconfig;--sdkconfig-rename;C:/.platformio/packages/framework-espidf/sdkconfig.rename;--config;C:/Users/uĹľivatel/Documents/Prace/Moje_projekty/_ovladani_topeni/ESP32-2019-ovladani_topeni/platformio/topeniESP32/sdkconfig;--env-file;C:/Users/uĹľivatel/Documents/Prace/Moje_projekty/_ovladani_topeni/ESP32-2019-ovladani_topeni/platformio/topeniESP32/.pio/build/nodemcu-32s/config.env).\r\n
            Error 1\r\nCall Stack (most recent call first):\r\n
            C:/.platformio/packages/framework-espidf/tools/cmake/build.cmake:442
            (__kconfig_generate_config)\r\n
            C:/.platformio/packages/framework-espidf/tools/cmake/project.cmake:395
            (idf_build_process)\r\n CMakeLists.txt:3
            (project)\r\n\r\n\r\n\r\n========================= [FAILED]
            Took 11.25 seconds ==========</span></div>
        <div><font face="-apple-system, BlinkMacSystemFont, Segoe UI,
            PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica
            Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
            UI Emoji, Segoe UI Symbol" color="#989898"><span
              style="font-size:14px"><br>
            </span></font></div>
        <div><font face="-apple-system, BlinkMacSystemFont, Segoe UI,
            PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica
            Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
            UI Emoji, Segoe UI Symbol" color="#989898"><span
              style="font-size:14px">Zkoušel jsem restarty, spustit jako
              správce, chová se to pořád stejně. Prostě to ani nezaloží
              projekt.</span></font></div>
        <div><font face="-apple-system, BlinkMacSystemFont, Segoe UI,
            PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica
            Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
            UI Emoji, Segoe UI Symbol" color="#989898"><span
              style="font-size:14px"><br>
            </span></font></div>
        <div><font face="-apple-system, BlinkMacSystemFont, Segoe UI,
            PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica
            Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
            UI Emoji, Segoe UI Symbol" color="#989898"><span
              style="font-size:14px">Funguje Vám ještě někomu platformio
              pro ESP32?</span></font></div>
        <div><font face="-apple-system, BlinkMacSystemFont, Segoe UI,
            PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica
            Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe
            UI Emoji, Segoe UI Symbol" color="#989898"><span
              style="font-size:14px"><br clear="all">
            </span></font>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>Pro např. Arduino MEGE2560 jde projekt normálně
                      přes toho průvodce vytvořit.</div>
                    <div><br>
                    </div>
                    <div>Díky,</div>
                    <div><br>
                    </div>
                    <div>Honza Půhoný</div>
                    <div><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">pá 21. 5. 2021 v 20:26
          odesílatel Jaroslav Buchta <<a
            href="mailto:jaroslav.buchta@hascomp.cz"
            moz-do-not-send="true">jaroslav.buchta@hascomp.cz</a>>
          napsal:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div>Me to slo bez problemu, ale par minut instalace
              netrvala, spis par desitek nebo mozna i nejake hodiny,
              nevim uz.</div>
            <div>To prostredi je na jednu stranu hezke a celkem funkcni,
              ale zacina mi dost vadit, ze si zije dost vlastnim zivotem
              a vsechno v nem neskutecne dlouho trva. Zatim to na ESP32
              pouzivam ale nemam z toho velkou radost. Navic to ma proti
              IDF nestandardni strukturu adresaru projektu, nejak si to
              osetri, aby to prelozilo ale...</div>
            <div><br>
            </div>
            <div>Dne 21.05.2021 v 20:21 Jan Půhoný napsal(a):<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr"><br clear="all">
                <div>
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div>Dobrý večer,</div>
                        <div><br>
                        </div>
                        <div>chtěl jsem si pohrát s ESP32 a Platform IO,
                          které jsem po pomoci z konference krásně
                          rozchodil s normálním Arduinem, ale zaboha mi
                          nejde vytvořit projekt s ESP32.</div>
                        <div><br>
                        </div>
                        <div>Vyberu desku, vyberu NodeMCU-32S, jako
                          framework jsem chtěl zkusit Esspressif IoT
                          Development Framework, dám finish a pak to
                          píše:</div>
                        <div><br>
                        </div>
                        <div>Please wait...<br>
                          The first initialization requires Internet
                          connection and may take a while (need to
                          install dependent toolchains, frameworks,
                          SDKs).<br>
                          Please be patient and let the initialization
                          complete.<br>
                        </div>
                        <div><br>
                        </div>
                        <div>Jenže jsem to pustil ráno točí se to tady
                          už na pozadí celý den. </div>
                        <div><br>
                        </div>
                        <div>Čekal bych, že to bude trvat pár minut.
                          Zkusil jsem to znovu po restartu a stejné
                          chování.</div>
                        <div><br>
                        </div>
                        <div>Nezkoušel jste to někdo?</div>
                        <div><br>
                          Díky,</div>
                        <div><br>
                        </div>
                        <div>Honza Půhoný</div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
HW-list mailing list  -  sponsored by <a href="http://www.HW.cz" target="_blank" moz-do-not-send="true">www.HW.cz</a>
<a href="mailto:Hw-list@list.hw.cz" target="_blank" moz-do-not-send="true">Hw-list@list.hw.cz</a>
<a href="http://list.hw.cz/mailman/listinfo/hw-list" target="_blank" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
            </blockquote>
            <p><br>
            </p>
          </div>
          _______________________________________________<br>
          HW-list mailing list  -  sponsored by <a
            href="http://www.HW.cz" rel="noreferrer" target="_blank"
            moz-do-not-send="true">www.HW.cz</a><br>
          <a href="mailto:Hw-list@list.hw.cz" target="_blank"
            moz-do-not-send="true">Hw-list@list.hw.cz</a><br>
          <a href="http://list.hw.cz/mailman/listinfo/hw-list"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://list.hw.cz/mailman/listinfo/hw-list</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
HW-list mailing list  -  sponsored by <a class="moz-txt-link-abbreviated" href="http://www.HW.cz">www.HW.cz</a>
<a class="moz-txt-link-abbreviated" href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a>
<a class="moz-txt-link-freetext" href="http://list.hw.cz/mailman/listinfo/hw-list">http://list.hw.cz/mailman/listinfo/hw-list</a>
</pre>
    </blockquote>
  </body>
</html>