PlatformIO Community

Help skr pro v1.2

hi can any one help newbie here i am trying to compile stock skr marlin firmware and keep getting this error

collect2.exe: error: ld returned 1 exit status
*** [.pio\build\BIGTREE_SKR_PRO\firmware.elf] Error 1
========================================================== [FAILED] Took 553.47 seconds ==========================================================
Environment      Status    Duration
---------------  --------  ------------
BIGTREE_SKR_PRO  FAILED    00:09:13.472
===================================================== 1 failed, 0 succeeded in 00:09:13.472 =====================================================

The error message above that is important. ld returned 1 exist status just means “sorry linking no work”.

We’d also need to know your exact Marlin configuration (used Marlin version, used configuration files, used environment, if you build via Auto Marlin or pure PlatformIO) to be of any substantial help.

Hi maxgerhardt i am using bigtreetech SKR pro 1.1 marlin 2.0 downloaded from bigtreetech github page and i used auto marlin to build but i get the same error from platformIO

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\BIGTREETECH-SKR-PRO-V1.1-master\firmware\SKR ProV1.1-Marlin_v2.0-Demo> platformio run -e BIGTREE_SKR_PRO
Processing BIGTREE_SKR_PRO (platform: ststm32@~6.1.0; board: BigTree_SKR_Pro; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/BigTree_SKR_Pro.html
PLATFORM: ST STM32 (6.1.1) > STM32F407ZG (192k RAM. 1024k Flash)
HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (stlink) External (jlink, stlink)
PACKAGES: 
 - framework-arduinoststm32 4.10700.200103 (1.7.0) 
 - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 8 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <U8glib-HAL> 0.4.1
|   |-- <Wire> 1.0
|   |-- <SPI> 1.0
|-- <SPI> 1.0
|-- <Servo> 1.1.2
|-- <IWatchdog> 1.0.0
|-- <Wire> 1.0
|-- <EEPROM> 2.0.1
Building in release mode
Linking .pio\build\BIGTREE_SKR_PRO\firmware.elf
c:/users/nikka's/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file C:/Users/Nikkas/.platformio/packages/framework-arduinoststm32@4.10700.200103/variants/BIGTREE_SKR_PRO_1v1/ldscript.ld -fmerge-all-constants -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Os -mthumb -mcpu=cortex-m4 --specs=nano.specs -Wl,--gc-sections,--relax -Wl,--check-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--defsym=LD_MAX_SIZE=1048576 -Wl,--defsym=LD_MAX_DATA_SIZE=196608 -Wl,--defsym=LD_FLASH_OFFSET=0x0 .pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/PeripheralPins.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/variant.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/HardwareSerial.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/HardwareTimer.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/IPAddress.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Print.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/RingBuffer.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Stream.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Tone.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/USBSerial.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WInterrupts.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WMath.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WSerial.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WString.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/abi.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/avr/dtostrf.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/board.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/hooks.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/itoa.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/main.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/new.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/pins_arduino.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_can.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cec.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_comp.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_comp_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cordic.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cortex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_crc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_crc_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dfsdm.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dfsdm_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma2d.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dsi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_exti.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fdcan.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_firewall.c.o 
.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ramfunc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmac.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmpi2c.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmpi2c_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_gfxmmu.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_gpio.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_gpio_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hash.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hash_ex.c.o 
.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hcd.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hrtim.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hsem.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_i2c.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_i2c_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_i2s.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_i2s_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ipcc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_irda.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_iwdg.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_jpeg.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_lcd.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_lptim.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ltdc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ltdc_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_mdios.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_mdma.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_mmc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_mmc_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_msp_template.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_nand.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_nor.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_opamp.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_opamp_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ospi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pccard.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pcd.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pcd_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pka.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pwr.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pwr_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_qspi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ramecc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rcc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rcc_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rng.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rtc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rtc_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sai.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sai_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sd.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sd_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sdadc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sdram.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_smartcard.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_smartcard_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_smbus.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_spdifrx.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_spi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_spi_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sram.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_swpmi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_tim.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_tim_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_timebase_rtc_alarm_template.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_timebase_rtc_wakeup_template.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_timebase_tim_template.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_tsc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_uart.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_uart_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_usart.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_usart_ex.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_wwdg.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_adc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_bdma.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_comp.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_cordic.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_crc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_crs.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_dac.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_delayblock.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_dma.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_dma2d.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_exti.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_fmac.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_fmc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_fsmc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_gpio.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_hrtim.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_i2c.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_lptim.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_lpuart.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_mdma.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_opamp.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_pka.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_pwr.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_rcc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_rng.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_rtc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_sdmmc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_spi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_swpmi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_tim.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_ucpd.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_usart.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_usb.c.o 
.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_utils.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/PortNames.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/analog.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/bootloader.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/clock.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/core_callback.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/dwt.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/hw_config.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/interrupt.cpp.o 
.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/low_power.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/pinmap.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/rtc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/spi_com.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/startup_stm32yyxx.S.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/stm32_def.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/stm32_eeprom.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/system_stm32yyxx.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/timer.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/twi.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/uart.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/cdc/cdc_queue.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/cdc/usbd_cdc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/cdc/usbd_cdc_if.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/hid/usbd_hid_composite.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/hid/usbd_hid_composite_if.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usb_device_core.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usb_device_ctlreq.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usb_device_ioreq.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usbd_conf.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usbd_desc.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usbd_ep_conf.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usbd_if.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/syscalls.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_analog.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_digital.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_pulse.cpp.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_shift.c.o .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_time.c.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/HAL.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/HAL_SPI.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/MarlinSerial.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/Sd2Card_sdio_stm32duino.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/Servo.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/SoftwareSerial.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/eeprom_flash.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/eeprom_sdcard.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/eeprom_sram.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/eeprom_wired.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/fastio.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/tft/tft_fsmc.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/tft/tft_spi.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/tft/xpt2046.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/timers.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/usb_serial.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/watchdog.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/HAL_spi_L6470.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/backtrace/backtrace.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/backtrace/unwarm.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/backtrace/unwarm_arm.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/backtrace/unwarm_thumb.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/backtrace/unwarmbytab.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/backtrace/unwarmmem.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/backtrace/unwinder.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/backtrace/unwmemaccess.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/eeprom_api.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/eeprom_if_i2c.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/eeprom_if_spi.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/esp_wifi.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/HAL/shared/servo.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/MarlinCore.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/core/serial.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/core/utility.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/feature/babystep.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/feature/bedlevel/bedlevel.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/feature/caselight.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/feature/leds/neopixel.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/calibrate/G28.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M200-M205.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M220.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M221.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M301.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M302.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M304.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M575.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M672.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/config/M92.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M108_M112_M410.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M111.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M120_M121.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M17_M18_M84.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M211.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M226.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M280.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M350_M351.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M380_M381.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M400.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M42.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M80_M81.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M85.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M993_M994.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M997.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/M999.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/control/T.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/eeprom/M500-M504.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/feature/digipot/M907-M910.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/gcode.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/geometry/G92.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/geometry/M206_M428.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/host/M110.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/host/M113.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/host/M114.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/host/M115.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/host/M118.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/host/M119.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/lcd/M0_M1.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/lcd/M117.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/lcd/M145.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/lcd/M300.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/motion/G0_G1.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/motion/G2_G3.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/motion/G4.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/parser.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/queue.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M1001.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M20.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M21_M22.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M23.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M24_M25.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M26.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M27.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M28_M29.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M30.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M32.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M33.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M34.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M524.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/sd/M928.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/stats/M31.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/stats/M75-M78.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/temp/M104_M109.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/temp/M105.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/temp/M106_M107.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/temp/M140_M190.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/temp/M141_M191.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/temp/M155.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/temp/M303.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/gcode/units/M82_M83.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/lcdprint_u8g.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/status_screen_DOGM.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/status_screen_lite_ST7920.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/u8g_dev_ssd1306_sh1106_128x64_I2C.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/u8g_dev_st7565_64128n_HAL.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/u8g_dev_st7920_128x64_HAL.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/u8g_dev_uc1701_mini12864_HAL.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/u8g_fontutf8.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/ultralcd_DOGM.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/extui/anycubic_chiron_lcd.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/extui/anycubic_i3mega_lcd.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/extui/ui_api.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/fontutils.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/lcdprint.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_advanced.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_configuration.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_custom.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_game.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_main.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_media.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_mixer.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_motion.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_temperature.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/menu/menu_tune.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/touch/touch_buttons.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/lcd/ultralcd.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/libs/BL24CXX.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/libs/W25Qxx.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/libs/buzzer.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/libs/crc16.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/libs/numtostr.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/libs/stopwatch.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/libs/vector_3.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/endstops.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/motion.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/planner.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/servo.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/settings.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/stepper.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/stepper/indirection.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/temperature.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/module/tool_change.cpp.o 
.pio/build/BIGTREE_SKR_PRO/src/src/sd/Sd2Card.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/sd/SdBaseFile.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/sd/SdFatUtil.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/sd/SdFile.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/sd/SdVolume.cpp.o .pio/build/BIGTREE_SKR_PRO/src/src/sd/cardreader.cpp.o -LC:/users/nikkas/.platformio/platforms/ststm32@6.1.1/ldscripts: No such file or directory
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\BIGTREE_SKR_PRO\firmware.elf] Error 1
========================================================== [FAILED] Took 126.38 seconds ==========================================================
Environment      Status    Duration
---------------  --------  ------------
BIGTREE_SKR_PRO  FAILED    00:02:06.381
===================================================== 1 failed, 0 succeeded in 00:02:06.381 ===================================================== 
PS C:\BIGTREETECH-SKR-PRO-V1.1-master\firmware\SKR ProV1.1-Marlin_v2.0-Demo> echo "done" >C:\Users\Nikka's\AppData\Local\Temp\ipc
>>

I don’t see the Marlin source code at the page https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1. Please provide a link.

Nah, I downloaded it and it compiles fine for me. Can’t reproduce the issue.

$ pio run
Processing BIGTREE_SKR_PRO (platform: ststm32@~6.1.0; board: BigTree_SKR_Pro; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Tool Manager: Installing framework-arduinoststm32 @ >=4.10700,<4.10800
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: framework-arduinoststm32 @ 4.10700.200103 has been installed!
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/BigTree_SKR_Pro.html
PLATFORM: ST STM32 (6.1.1) > STM32F407ZG (192k RAM. 1024k Flash)
HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (stlink) External (jlink, stlink)
PACKAGES: 
 - framework-arduinoststm32 4.10700.200103 (1.7.0) 
 - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing U8glib-HAL @ 0.4.1
Library Manager: U8glib-HAL @ 0.4.1 has been installed!
Found 11 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <U8glib-HAL> 0.4.1
|   |-- <Wire> 1.0
|   |-- <SPI> 1.0
|-- <SPI> 1.0
|-- <Servo> 1.1.2
|-- <IWatchdog> 1.0.0
|-- <Wire> 1.0
|-- <EEPROM> 2.0.1
Building in release mode
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/PeripheralPins.c.o
[..]
Building .pio/build/BIGTREE_SKR_PRO/firmware.bin
Checking size .pio/build/BIGTREE_SKR_PRO/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]   7.3% (used 14404 bytes from 196608 bytes)
Flash: [=         ]  14.6% (used 153396 bytes from 1048576 bytes)
== [SUCCESS] Took 99.85 seconds ==

Try to open a CLI and execute pio upgrade --dev to get the latest core version.

Otherwise, try the compiling the project in a shorter path or enable Windows long paths. Maybe even the apostrophe in your username makes problems?

thank you so much i added a new user with no apostrophe and upgraded --dev and it worked successfully compile

Hi maxgerhardt mate i’m hoping you can help me again i was not happy with skr stock firmware so i am try to get the latest marlin 2.0.8.2 setup with my skr pro 1.2 board and i am getting this error

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Marlin-2.0.8.2> platformio run -e BIGTREE_SKR_PRO
Processing BIGTREE_SKR_PRO (platform: ststm32@~12.1; board: marlin_BigTree_SKR_Pro; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Nikka\\.platformio\\packages\\framework-arduinoststm32@4.10900.200819\\variants\\MARLIN_BIGTREE_SKR_PRO_11':
  File "C:\Users\Nikka\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 175:
    env.SConscript(item, exports="env")
  File "C:\Users\Nikka\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
  File "C:\Users\Nikka\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Marlin-2.0.8.2\buildroot\share\PlatformIO\scripts\generic_create_variant.py", line 48:
    os.mkdir(variant_dir)
=========================================================== [FAILED] Took 4.04 seconds ===========================================================
Environment      Status    Duration
---------------  --------  ------------
BIGTREE_SKR_PRO  FAILED    00:00:04.042
===================================================== 1 failed, 0 succeeded in 00:00:04.042 ===================================================== 
PS C:\Marlin-2.0.8.2> echo "done" >C:\Users\Nikka\AppData\Local\Temp\ipc
PS C:\Marlin-2.0.8.2>

Can’t reproduce the issue. If I take the 2.0.8.2 Marlin version and get the configuration files for the SKR Pro 1.2 board of that same version into the Marlin/ folder and execute the compilation command…

>pio run -e BIGTREE_SKR_PRO
Processing BIGTREE_SKR_PRO (platform: ststm32@~12.1; board: marlin_BigTree_SKR_Pro; framework: arduino)
------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing ststm32 @ ~12.1
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Platform Manager: ststm32 @ 12.1.1 has been installed!
The platform 'ststm32@~12.1' has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/marlin_BigTree_SKR_Pro.html
PLATFORM: ST STM32 (12.1.1) > STM32F407ZG (192k RAM. 1024k Flash)
HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (stlink) External (jlink, stlink)
PACKAGES:
 - framework-arduinoststm32 4.10900.200819 (1.9.0)
 - framework-cmsis 2.50501.200527 (5.5.1)
 - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
Converting Marlin.ino
[...]
RAM:   [=         ]   7.8% (used 15240 bytes from 196608 bytes)
Flash: [==        ]  18.5% (used 193700 bytes from 1048576 bytes)
Building .pio\build\BIGTREE_SKR_PRO\firmware.bin
============================================ [SUCCESS] Took 128.06 seconds ============================================

Environment      Status    Duration
---------------  --------  ------------
BIGTREE_SKR_PRO  SUCCESS   00:02:08.060
============================================= 1 succeeded in 00:02:08.060 =============================================

… everything works.

Try and remove all folders within C:\Users\Nikka\.platformio\packages\ and C:\Users\Nikka\.platformio\platforms\ to get a clean PlatformIO package installation. They will be redownloaded on the next compilation run.

i think it might be the configuration files i used they where different to the one you used but i cant work out how to download just the config files you linked in your reply

Just download the whole repo and navigate to the folder. It’s quicker than going to each file, clicking “Raw” and saving it.

i still get the same error i don’t have any \packages\ or \platforms\ in my .pio folder am i missing something

.pio is wrong. It is C:\Users\<user>\.platformio.

thanks max you are a legend deleting files did the trick that’s twice you have worked out my problems cant thank you enough