platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
93 stars 62 forks source link

Could not initialize project #1021

Closed YGDL closed 4 years ago

YGDL commented 4 years ago

PIO Core Call Error: "The current working directory F:\project\ESP32 project\JJ\HH will be used for the project.\r\n\r\nThe next files/directories have been created in F:\project\ESP32 project\JJ\HH\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 esp32cam (platform: espressif32; board: esp32cam; framework: espidf)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32cam.html\r\nPLATFORM: Espressif 32 1.12.4 > AI Thinker ESP32-CAM\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.40001.200521 (4.0.1) \r\n - tool-cmake 3.16.4 \r\n - tool-esptoolpy 1.20600.0 (2.6.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.190618 (2.28.51) \r\n - toolchain-xtensa32 2.80200.200226 (8.2.0)\r\nError: Detected a whitespace character in project paths.\r\n========================== [FAILED] Took 1.22 seconds =========================="

valeros commented 4 years ago

Looks like you have a whitespace character in your project name ESP32 project. Starting with ESP-IDF v4.0 it's not allowed.