platformio / platform-espressif32

Espressif 32: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif32
Apache License 2.0
936 stars 635 forks source link

ESP32-S3-DevKitC-1 Build Issue #1034

Closed mtt39 closed 1 year ago

mtt39 commented 1 year ago

I am having issues being able to build for this board using platformio, but have no issues using the Arduino IDE. Attached is the terminal output with the error at the bottom. I have come across some older issues that produce a similar issue, but was unable to find any solutions. Any help is much appreciated

Processing esp32-s3-devkitc-1 (platform: espressif32@2.0.0; board: esp32-s3-devkitc-1; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------------------------------------Platform Manager: Installing espressif32 @ 2.0.0 Downloading [####################################] 100% Unpacking [####################################] 100% Platform Manager: espressif32@2.0.0 has been installed! Error: Unknown board ID 'esp32-s3-devkitc-1'

Processing esp32-s3-devkitc-1 (platform: espressif32; board: esp32-s3-devkitc-1; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html PLATFORM: Espressif 32 (6.0.1) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM) HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, 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) PACKAGES:

Jason2866 commented 1 year ago

Delete the folder c:/users/mtoplack/.platformio/ Platformio will rebuild. Probably you have old stuff there which generates this issue. Use platform = espressif32 @ 6.0.1

Do NOT use whitespaces in path of your project

mtt39 commented 1 year ago

I appreciate the reply. Unfortunately, after following these suggestions, I still have the same issue with the exact same output

Jason2866 commented 1 year ago

Please post your platformio.ini

mtt39 commented 1 year ago

As requested

[env:esp32-s3-devkitc-1] platform = espressif32 @ 6.0.1 board = esp32-s3-devkitc-1 framework = arduino

Jason2866 commented 1 year ago

Okay. This looks strange Inc\Documents\PlatformIO\Projects\Darko Embeded Test.pio\build\esp32-s3-devkitc-1\firmware.map: Looks like whitespaces in path

mtt39 commented 1 year ago

Ah, thank you there were actually two white space issues, first with the project name and also since this computer is set up with OneDrive. I have corrected both of these issues and now my project builds successfully.