Closed mtt39 closed 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
I appreciate the reply. Unfortunately, after following these suggestions, I still have the same issue with the exact same output
Please post your platformio.ini
As requested
[env:esp32-s3-devkitc-1] platform = espressif32 @ 6.0.1 board = esp32-s3-devkitc-1 framework = arduino
Okay. This looks strange Inc\Documents\PlatformIO\Projects\Darko Embeded Test.pio\build\esp32-s3-devkitc-1\firmware.map:
Looks like whitespaces in path
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.
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'
The terminal process "C:\Users\mtoplack.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
Executing task: C:\Users\mtoplack.platformio\penv\Scripts\platformio.exe run --target upload
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:Inc\Documents\PlatformIO\Projects\Darko Embeded Test.pio\build\esp32-s3-devkitc-1\firmware.map: No such file or directory collect2.exe: error: ld returned 1 exit status *** [.pio\build\esp32-s3-devkitc-1\firmware.elf] Error 1 ================================================================= [FAILED] Took 21.92 seconds =================================================================