i get the following vscode console message when i attempt to compile marlin 2.1.2.5 configurations. i also get continuous pio loading messages so something isnt quite right. i have uninstalled vscode, deleted .platformio directory in my user directory, reset the marlin 2.1.2.5 environment to clear all vscode and pio files, and still get this message.
How do i fix this problem?
from VS Console:
Could not fetch project targets for ‘STM32F103RC_maple’ environment => Error: Traceback (most recent call last):
File “”, line 6, in
File “C:\Users\daven.platformio\penv\Lib\site-packages\platformio\project\helpers.py”, line 153, in load_build_metadata
_load_build_metadata(project_dir, missed_env_names, build_type)
File “C:\Users\daven.platformio\penv\Lib\site-packages\platformio\project\helpers.py”, line 185, in _load_build_metadata
raise exception.UserSideException(result.output)
platformio.exception.UserSideException: Processing STM32F103RC_maple (board: genericSTM32F103RC; platform: ststm32@~12.1; framework: arduino)
Tool Manager: Installing platformio/framework-arduinoststm32-maple @ ~3.10000.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: framework-arduinoststm32-maple@3.10000.201129 has been installed!
Tool Manager: Installing platformio/tool-stm32duino @ *
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-stm32duino@1.0.2 has been installed!
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: Redirecting...
PLATFORM: ST STM32 (12.1.1) > STM32F103RC (48k RAM. 256k Flash)
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 256KB Flash
DEBUG: Current (blackmagic) External (blackmagic, cmsis-dap, jlink, stlink)
PACKAGES:
- framework-arduinoststm32-maple @ 3.10000.201129 (1.0.0)
- tool-stm32duino @ 1.0.2
- toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing SoftwareSerialM
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: SoftwareSerialM@1.0.0 has been installed!
Found 28 compatible libraries
Scanning dependencies…
Dependency Graph
|-- SoftwareSerialM @ 1.0.0
|-- STM32ADC @ 1.0
|-- EEPROM
|-- Wire @ 1.0
|-- USBComposite for STM32F1 @ 0.99
|-- Servo(STM32F1) @ 1.1.2
Building in release mode
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\daven\Marlin Master Directory\Marlin-2.1.2.5\.pio\build\STM32F103RC_maple\idedata.json’:
File “C:\Users\daven.platformio\penv\Lib\site-packages\platformio\builder\main.py”, line 226:
with open(
========================= [FAILED] Took 100.10 seconds =========================
Environment Status Duration
STM32F103RC_maple FAILED 00:01:40.100
==================== 1 failed, 0 succeeded in 00:01:40.100 ====================