Marlin 2.0.5.3 compilation error, SKR Pro board

Created on 13 Jun 2020  路  13Comments  路  Source: MarlinFirmware/Marlin

Compiling Marlin 2.0.5.3 with my custom configuration files for dual extruder
This is for a SKR Pro v1.1 dual extruder, with TMC2209 and sensorless homing/probing enabled.

Here is the error during compilation with VS Code:

configs.zip

Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usb_device_ctlreq.c.o /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/cdc/usbd_cdc.c: In function 'USBD_CDC_DataIn': /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/cdc/usbd_cdc.c:650:3: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? PCD_HandleTypeDef *hpcd = pdev->pData; ^~~~~~~~~~~~~~~~~ USBD_HandleTypeDef /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/cdc/usbd_cdc.c:654:65: error: request for member 'IN_ep' in something not a structure or union if ((hcdc->TxLastLength > 0U) && ((hcdc->TxLastLength % hpcd->IN_ep[epnum].maxpacket) == 0U)) {

All 13 comments

Need top part of log that shows what versions of frameworks and libraries your using.

sorry, here is the complete log:
`> Executing task in folder Marlin-2.0.5.3: platformio run <

Processing BIGTREE_SKR_PRO (platform: ststm32; 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 5.6.0 > STM32F407ZG (192k RAM. 1024k Flash)
HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (stlink) External (jlink, stlink)
PACKAGES:

  • framework-arduinoststm32 3.10601.190716 (1.6.1)
  • toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
    Converting Marlin.ino
    LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 18 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- 1.5.0
    | |-- 1.0
    |-- 0.6.2
    | |-- 1.0
    |-- 1.4.0
    |-- 0.4.1
    | |-- 1.0
    | |-- 1.0
    |-- 1.2.1
    | |-- 1.3.2
    | | |-- 1.0
    | | |-- 1.0
    |--
    | |-- 1.0
    |-- 0.8.0
    |--
    |--
    | |-- 1.0
    |--
    |-- 1.0
    |-- 1.1.2
    |-- 1.0.0
    |-- 1.0
    Building in release mode
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/PeripheralPins.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/variant.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/HardwareSerial.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/IPAddress.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Print.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/RingBuffer.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Stream.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Tone.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/USBSerial.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WInterrupts.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WMath.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WSerial.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WString.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/abi.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/avr/dtostrf.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/board.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/hooks.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/itoa.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/main.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/new.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/pins_arduino.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_can.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cec.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_comp.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_comp_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cortex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_crc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_crc_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dfsdm.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dfsdm_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma2d.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dsi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_exti.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fdcan.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_firewall.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ramfunc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmpi2c.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmpi2c_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_gfxmmu.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_gpio.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_gpio_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hash.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hash_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hcd.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hrtim.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_hsem.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_i2c.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_i2c_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_i2s.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_i2s_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ipcc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_irda.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_iwdg.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_jpeg.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_lcd.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_lptim.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ltdc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ltdc_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_mdios.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_mdma.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_mmc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_mmc_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_msp_template.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_nand.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_nor.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_opamp.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_opamp_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ospi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pccard.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pcd.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pcd_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pka.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pwr.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_pwr_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_qspi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_ramecc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rcc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rcc_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rng.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rtc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_rtc_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sai.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sai_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sd.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sd_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sdadc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sdram.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_smartcard.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_smartcard_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_smbus.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_spdifrx.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_spi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_spi_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_sram.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_swpmi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_tim.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_tim_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_timebase_rtc_alarm_template.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_timebase_rtc_wakeup_template.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_timebase_tim_template.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_tsc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_uart.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_uart_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_usart.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_usart_ex.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_wwdg.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_adc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_bdma.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_comp.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_crc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_crs.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_dac.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_delayblock.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_dma.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_dma2d.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_exti.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_fmc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_fsmc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_gpio.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_hrtim.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_i2c.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_lptim.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_lpuart.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_mdma.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_opamp.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_pka.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_pwr.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_rcc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_rng.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_rtc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_sdmmc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_spi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_swpmi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_tim.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_ucpd.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_usart.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_usb.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/LL/stm32yyxx_ll_utils.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/PortNames.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/analog.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/bootloader.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/clock.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/core_callback.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/dwt.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/hw_config.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/interrupt.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/low_power.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/pinmap.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/rtc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/spi_com.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/startup_stm32yyxx.S.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/stm32_def.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/stm32_eeprom.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/system_stm32yyxx.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/timer.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/twi.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/uart.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/cdc/cdc_queue.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/cdc/usbd_cdc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/cdc/usbd_cdc_if.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/hid/usbd_hid_composite.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/hid/usbd_hid_composite_if.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usb_device_core.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usb_device_ctlreq.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usb_device_ioreq.c.o
    /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/cdc/usbd_cdc.c: In function 'USBD_CDC_DataIn':
    /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/cdc/usbd_cdc.c:650:3: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'?
    PCD_HandleTypeDef hpcd = pdev->pData;
    ^~~~~
    USBD_HandleTypeDef
    /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/cdc/usbd_cdc.c:654:65: error: request for member 'IN_ep' in something not a structure or union
    if ((hcdc->TxLastLength > 0U) && ((hcdc->TxLastLength % hpcd->IN_ep[epnum].maxpacket) == 0U)) {
    ^~
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usbd_conf.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usbd_desc.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usbd_if.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/syscalls.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_analog.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_digital.c.o
    /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/usbd_conf.c:26:2: error: #error "HAL_PCD_MODULE_ENABLED is required"
    #error "HAL_PCD_MODULE_ENABLED is required"
    ^~~
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_pulse.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_shift.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/wiring_time.c.o
    Compiling .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/HAL.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/HAL_SPI.cpp.o
    Compiling .pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/Sd2Card_sdio_stm32duino.cpp.o
    [.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/cdc/usbd_cdc.c.o] Error 1
    [.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/usb/usbd_conf.c.o] Error 1
    In file included from Marlin/src/HAL/STM32/HAL.h:121:0,
    from Marlin/src/HAL/STM32/HAL.cpp:26:
    Marlin/src/HAL/STM32/timers.h:138:26: error: variable or field 'Step_Handler' declared void
    extern void Step_Handler(HardwareTimer *htim);
    ^
    ~~
    Marlin/src/HAL/STM32/timers.h:138:26: error: 'HardwareTimer' was not declared in this scope
    Marlin/src/HAL/STM32/timers.h:138:26: note: suggested alternative: 'HardwareSerial'
    extern void Step_Handler(HardwareTimer *htim);
    ^~~~~
    HardwareSerial
    Marlin/src/HAL/STM32/timers.h:138:41: error: 'htim' was not declared in this scope
    extern void Step_Handler(HardwareTimer *htim);
    ^~
    Marlin/src/HAL/STM32/timers.h:138:41: note: suggested alternative: 'tm'
    extern void Step_Handler(HardwareTimer *htim);
    ^
    ~
    tm
    Marlin/src/HAL/STM32/timers.h:139:26: error: variable or field 'Temp_Handler' declared void
    extern void Temp_Handler(HardwareTimer *htim);
    ^~~~~
    Marlin/src/HAL/STM32/timers.h:139:26: error: 'HardwareTimer' was not declared in this scope
    Marlin/src/HAL/STM32/timers.h:139:26: note: suggested alternative: 'HardwareSerial'
    extern void Temp_Handler(HardwareTimer *htim);
    ^~~~~
    HardwareSerial
    compilation terminated due to -fmax-errors=5.
    [.pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/HAL.cpp.o] Error 1
    In file included from Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/HAL.h:121:0,
    from Marlin/src/HAL/STM32/../../inc/../HAL/HAL.h:26,
    from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:30,
    from Marlin/src/HAL/STM32/Sd2Card_sdio_stm32duino.cpp:23:
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:26: error: variable or field 'Step_Handler' declared void
    extern void Step_Handler(HardwareTimer htim);
    ^~~~~
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:26: error: 'HardwareTimer' was not declared in this scope
    In file included from Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/HAL.h:121:0,
    from Marlin/src/HAL/STM32/../../inc/../HAL/HAL.h:26,
    from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:30,
    from Marlin/src/HAL/STM32/HAL_SPI.cpp:25:
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:26: error: variable or field 'Step_Handler' declared void
    extern void Step_Handler(HardwareTimer *htim);
    ^~~~~
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:26: error: 'HardwareTimer' was not declared in this scope
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:26: note: suggested alternative: 'HardwareSerial'
    extern void Step_Handler(HardwareTimer *htim);
    ^~~~~
    HardwareSerial
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:41: error: 'htim' was not declared in this scope
    extern void Step_Handler(HardwareTimer *htim);
    ^~
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:41: note: suggested alternative: 'tm'
    extern void Step_Handler(HardwareTimer *htim);
    ^
    ~
    tm
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:139:26: error: variable or field 'Temp_Handler' declared void
    extern void Temp_Handler(HardwareTimer *htim);
    ^~~~~
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:139:26: error: 'HardwareTimer' was not declared in this scope
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:26: note: suggested alternative: 'HardwareSerial'
    extern void Step_Handler(HardwareTimer *htim);
    ^~~~~
    HardwareSerial
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:41: error: 'htim' was not declared in this scope
    extern void Step_Handler(HardwareTimer *htim);
    ^~
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:138:41: note: suggested alternative: 'tm'
    extern void Step_Handler(HardwareTimer *htim);
    ^
    ~
    tm
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:139:26: error: variable or field 'Temp_Handler' declared void
    extern void Temp_Handler(HardwareTimer *htim);
    ^~~~~
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:139:26: error: 'HardwareTimer' was not declared in this scope
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:139:26: note: suggested alternative: 'HardwareSerial'
    extern void Temp_Handler(HardwareTimer *htim);
    ^~~~~
    HardwareSerial
    compilation terminated due to -fmax-errors=5.
    Marlin/src/HAL/STM32/../../inc/../HAL/./STM32/timers.h:139:26: note: suggested alternative: 'HardwareSerial'
    extern void Temp_Handler(HardwareTimer *htim);
    ^~~~~
    HardwareSerial
    compilation terminated due to -fmax-errors=5.
    *
    [.pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/Sd2Card_sdio_stm32duino.cpp.o] Error 1
    *
    * [.pio/build/BIGTREE_SKR_PRO/src/src/HAL/STM32/HAL_SPI.cpp.o] Error 1
    ========================================================================================== [FAILED] Took 14.58 seconds ==========================================================================================

Environment Status Duration


mega2560 IGNORED
mega1280 IGNORED
rambo IGNORED
FYSETC_F6_13 IGNORED
FYSETC_F6_14 IGNORED
sanguino644p IGNORED
sanguino1284p IGNORED
melzi IGNORED
melzi_optiboot IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 IGNORED
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_btt IGNORED
STM32F103RC_btt_USB IGNORED
STM32F103RC_btt_512K IGNORED
STM32F103RC_btt_512K_USB IGNORED
STM32F103RE IGNORED
STM32F103RE_btt IGNORED
STM32F103RE_btt_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_GTM32 IGNORED
STM32F103VE_longer IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
mks_robin IGNORED
mks_robin_pro IGNORED
mks_robin_lite IGNORED
mks_robin_lite3 IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
chitu_f103 IGNORED
STM32F401VE_STEVAL IGNORED
FLYF407ZG IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO FAILED 00:00:14.577
BIGTREE_GTR_V1_0 IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
esp32 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
rumba32_f446ve IGNORED
rumba32_mks IGNORED
include_tree IGNORED
===================================================================================== 1 failed, 0 succeeded in 00:00:14.577 =====================================================================================
The terminal process terminated with exit code: 1`

your PLATFORM: ST STM32 5.6.0 is old ST STM32 6.1.0 works.
Update everything.
Hit the platformio Home button along the bottom. click on Platforms and update everything red

ok, I did the update on VS Code, getting a new error:

`> Executing task: platformio run <

Processing BIGTREE_SKR_PRO (platform: ststm32; 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.0 > STM32F407ZG (192k RAM. 1024k Flash)
HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (stlink) External (jlink, stlink)
PACKAGES:



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Tone.cpp.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/HardwareSerial.cpp:26:
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/USBSerial.cpp.o
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/IPAddress.cpp:20:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WInterrupts.cpp.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Print.cpp:27:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WSerial.cpp.o
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Stream.cpp:25:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Tone.cpp:22:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/board.c.o



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/usbd_conf.h:30,
from /Users/biskero/.platformio/packages/[email protected]/system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h:29,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/USBSerial.h:24,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/USBSerial.cpp:21:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/main.cpp.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/uart.h:41,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/HardwareSerial.h:30,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/WSerial.h:5,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/WSerial.cpp:1:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/pins_arduino.c.o
46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/interrupt.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/board.h:7,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/board.c:1:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal.c.o
46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/WInterrupts.cpp:20:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.c:19:
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:24:16: error: 'LastPort' undeclared here (not in a function)
24 | _Static_assert(LastPort <= 0x0F, "PortName must be less than 16");
| ^~~~
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:24:16: error: expression in static assertion is not an integer
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:63:14: error: unknown type name 'uint8_t'
63 | static const uint8_t A0 = PIN_A0;
| ^~~
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:67:14: error: unknown type name 'uint8_t'
67 | static const uint8_t A1 = PIN_A1;
| ^~~
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:71:14: error: unknown type name 'uint8_t'
71 | static const uint8_t A2 = PIN_A2;
| ^~~
compilation terminated due to -fmax-errors=5.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cCompiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc_ex.c.o
ores/arduino/main.cpp:21:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:52,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:193,
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_can.c.o
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_adc.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cec.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:115,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_adc_ex.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.c:161,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_can.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cortex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cec.c:78,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_cec.c:11:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_crc.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c:99,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_cortex.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_crc.c:61,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_crc.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp.c:99,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_cryp.c:5:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp_ex.c:98,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dac.c:171,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dac.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dac_ex.c:55,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dac_ex.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dfsdm.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi.c:92,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dcmi.c:5:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi_ex.c:56,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dcmi_ex.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dfsdm.c:190,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dfsdm.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma2d.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c:114,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dma.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma_ex.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dsi.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma2d.c:127,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dma2d.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c:56,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dma_ex.c:5:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dsi.c:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dsi.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth_ex.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_exti.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c:100,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_eth.c:8:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fdcan.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_firewall.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c:94,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_flash.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ramfunc.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c:80,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_flash_ex.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
* [.pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/variant.cpp.o] Error 1
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmpi2c.c.o
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/PeripheralPins.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/HardwareSerial.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/IPAddress.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Print.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Stream.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Tone.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/USBSerial.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WSerial.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/board.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WInterrupts.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/pins_arduino.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/main.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_can.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cec.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cortex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_crc.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dfsdm.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma2d.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dsi.c.o] Error 1
*
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth.c.o] Error 1
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c:65,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_flash_ramfunc.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
* [.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ex.c.o] Error 1
*
* [.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ramfunc.c.o] Error 1
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c.c:248,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_fmpi2c.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
* [.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmpi2c.c.o] Error 1
=========================================================================================== [FAILED] Took 6.81 seconds ===========================================================================================

Environment Status Duration


mega2560 IGNORED
mega1280 IGNORED
rambo IGNORED
FYSETC_F6_13 IGNORED
FYSETC_F6_14 IGNORED
sanguino644p IGNORED
sanguino1284p IGNORED
melzi IGNORED
melzi_optiboot IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 IGNORED
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_btt IGNORED
STM32F103RC_btt_USB IGNORED
STM32F103RC_btt_512K IGNORED
STM32F103RC_btt_512K_USB IGNORED
STM32F103RE IGNORED
STM32F103RE_btt IGNORED
STM32F103RE_btt_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_GTM32 IGNORED
STM32F103VE_longer IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
mks_robin IGNORED
mks_robin_pro IGNORED
mks_robin_lite IGNORED
mks_robin_lite3 IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
chitu_f103 IGNORED
STM32F401VE_STEVAL IGNORED
FLYF407ZG IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO FAILED 00:00:06.809
BIGTREE_GTR_V1_0 IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
esp32 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
rumba32_f446ve IGNORED
rumba32_mks IGNORED
include_tree IGNORED
===================================================================================== 1 failed, 0 succeeded in 00:00:06.809 =====================================================================================
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.
`

PIO gets all screwed up sometimes. Try running this script:
pio run -t program

no luck! The strange thing is that a Marlin build from May 19th works fine both for SKR Pro and GTR.

same error:
`Mac-Pro:Marlin-2.0.5.3 biskero$
Mac-Pro:Marlin-2.0.5.3 biskero$
Mac-Pro:Marlin-2.0.5.3 biskero$
Mac-Pro:Marlin-2.0.5.3 biskero$ pio run -t program

Processing BIGTREE_SKR_PRO (platform: ststm32; 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.0 > STM32F407ZG (192k RAM. 1024k Flash)
HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (stlink) External (jlink, stlink)
PACKAGES:



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Tone.cpp.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/HardwareSerial.cpp:26:
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/USBSerial.cpp.o
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/IPAddress.cpp:20:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WInterrupts.cpp.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WSerial.cpp.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Print.cpp:27:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Tone.cpp:22:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/board.c.o
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Stream.cpp:25:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/usb/usbd_conf.h:30,
from /Users/biskero/.platformio/packages/[email protected]/system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h:29,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/USBSerial.h:24,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/USBSerial.cpp:21:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/main.cpp.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/uart.h:41,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/HardwareSerial.h:30,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/WSerial.h:5,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/WSerial.cpp:1:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/pins_arduino.c.o
46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/interrupt.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/board.h:7,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/board.c:1:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc.c.o
46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/WInterrupts.cpp:20:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.c:19:
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:24:16: error: 'LastPort' undeclared here (not in a function)
24 | _Static_assert(LastPort <= 0x0F, "PortName must be less than 16");
| ^~~~
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:24:16: error: expression in static assertion is not an integer
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:63:14: error: unknown type name 'uint8_t'
63 | static const uint8_t A0 = PIN_A0;
| ^~~
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:67:14: error: unknown type name 'uint8_t'
67 | static const uint8_t A1 = PIN_A1;
| ^~~
/Users/biskero/.platformio/packages/[email protected]/cores/arduino/pins_arduino.h:71:14: error: unknown type name 'uint8_t'
71 | static const uint8_t A2 = PIN_A2;
| ^~~
compilation terminated due to -fmax-errors=5.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:52,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:250,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/stm32_def.h:16,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/clock.h:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring_time.h:23,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/wiring.h:38,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/Arduino.h:32,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/main.cpp:21:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_can.c.o
46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c:193,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_adc.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cec.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c:115,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_adc_ex.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.c:161,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_can.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cortex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cec.c:78,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_cec.c:11:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_crc.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c:99,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_cortex.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_crc.c:61,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_crc.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp.c:99,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_cryp.c:5:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp_ex.c:98,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac_ex.c.o
46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dac.c:171,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dac.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dac_ex.c:55,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dac_ex.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi.c:92,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dcmi.c:5:
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dfsdm.c.o
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi_ex.c:56,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dcmi_ex.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dfsdm.c:190,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dfsdm.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma2d.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c:114,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dma.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma_ex.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dsi.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma2d.c:127,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dma2d.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c:56,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dma_ex.c:5:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth.c.o
~
~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dsi.c:43,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_dsi.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_exti.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c:100,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_eth.c:8:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~~~Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fdcan.c.o
~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_firewall.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash.c.o
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ex.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c:94,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_flash.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ramfunc.c.o
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c:80,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_flash_ex.c:14:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
* [.pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/variant.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduinoVariant/PeripheralPins.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/HardwareSerial.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/IPAddress.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Print.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Tone.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/Stream.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/USBSerial.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WSerial.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/board.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/WInterrupts.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/pins_arduino.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal.c.o] Error 1
Compiling .pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmpi2c.c.o
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/main.cpp.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_adc_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_can.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cec.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cortex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_crc.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dac_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dcmi_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dfsdm.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma2d.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dma_ex.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_dsi.c.o] Error 1
*
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_eth.c.o] Error 1
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c:65,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_flash_ramfunc.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
* [.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash.c.o] Error 1
[.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ex.c.o] Error 1
*
* [.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_flash_ramfunc.c.o] Error 1
In file included from /Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c.c:248,
from /Users/biskero/.platformio/packages/[email protected]/cores/arduino/stm32/HAL/stm32yyxx_hal_fmpi2c.c:2:
/Users/biskero/.platformio/packages/[email protected]/system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:46:10: fatal error: stm32f4xx_hal_conf.h: No such file or directory



46 | #include "stm32f4xx_hal_conf.h"
| ^~~~~~
compilation terminated.
* [.pio/build/BIGTREE_SKR_PRO/FrameworkArduino/stm32/HAL/stm32yyxx_hal_fmpi2c.c.o] Error 1
=========================================================================================== [FAILED] Took 6.18 seconds ===========================================================================================

Environment Status Duration


mega2560 IGNORED
mega1280 IGNORED
rambo IGNORED
FYSETC_F6_13 IGNORED
FYSETC_F6_14 IGNORED
sanguino644p IGNORED
sanguino1284p IGNORED
melzi IGNORED
melzi_optiboot IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 IGNORED
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_btt IGNORED
STM32F103RC_btt_USB IGNORED
STM32F103RC_btt_512K IGNORED
STM32F103RC_btt_512K_USB IGNORED
STM32F103RE IGNORED
STM32F103RE_btt IGNORED
STM32F103RE_btt_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_GTM32 IGNORED
STM32F103VE_longer IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
mks_robin IGNORED
mks_robin_pro IGNORED
mks_robin_lite IGNORED
mks_robin_lite3 IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
chitu_f103 IGNORED
STM32F401VE_STEVAL IGNORED
FLYF407ZG IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO FAILED 00:00:06.176
BIGTREE_GTR_V1_0 IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
esp32 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
rumba32_f446ve IGNORED
rumba32_mks IGNORED
include_tree IGNORED
===================================================================================== 1 failed, 0 succeeded in 00:00:06.176 =====================================================================================
Mac-Pro:Marlin-2.0.5.3 biskero$ `

I have the same problem.

There is a strange thing in the Platformio in VS Code, if I update all I get the following, why there are 2 entries for Platform ST STM32 ?

`Mac-Pro:Marlin-2.0.5.3 biskero$ platformio update
Updating contrib-piohome @ 3.2.3 [Up-to-date]
Updating contrib-pysite @ 2.37.191020 [Up-to-date]
Updating tool-unity @ 1.20500.200322 [Up-to-date]
Updating tool-scons @ 3.30102.0 [Up-to-date]

Platform Manager

Platform Atmel AVR

Updating atmelavr @ 2.2.0 [Up-to-date]
Updating toolchain-atmelavr @ 1.50400.190710 [Up-to-date]
Updating framework-arduino-avr @ 5.0.0 [Up-to-date]

Platform ST STM32

Updating ststm32 @ 6.1.0 [Up-to-date]
Updating toolchain-gccarmnoneeabi @ 1.70201.0 [Up-to-date]
Updating framework-arduinoststm32 @ 4.10800.200207 [Up-to-date]
Updating tool-stm32duino @ 1.0.1 [Up-to-date]
Updating tool-openocd @ 2.1000.190707 [Up-to-date]
Updating tool-dfuutil @ 1.9.200310 [Up-to-date]
Uninstalling framework-arduinoststm32 @ 4.10700.200103: [OK]
Uninstalling toolchain-gccarmnoneeabi @ 1.90201.191206: [OK]

Platform ST STM32

Updating ststm32 @ 5.4.3 [Detached]
Updating toolchain-gccarmnoneeabi @ 1.70201.0 [Up-to-date]
Updating framework-arduinoststm32 @ 3.10500.190327 [Up-to-date]
Updating tool-stm32duino @ 1.0.1 [Up-to-date]
Updating tool-openocd @ 2.1000.190707 [Up-to-date]

Library Manager

Library Storage: /Users/biskero/.platformio/lib
Mac-Pro:Marlin-2.0.5.3 biskero$ `

I used your platformio, Configuration.h and Configuration_adv.h on Marlin-2.0.5.3
It compiled without any issues. (a few expected warnings only)
Here is the full log https://pastebin.com/BPGjfFCv
See if you can see any differences in your build, library versions etc.

Unfortunately your logs above are useless as everything in <> is hidden. Ie the names of the libraries making a comparison impossible.

ok,
first thing I noticed:
mine: framework-arduinoststm32 3.10500.190327 (1.5.0)
your: framework-arduinoststm32 3.10700.191028 (1.7.0)

how do I upgrade to the 1.7.0 in vs code?

other libs are the same
Dependency Graph |-- <LiquidCrystal> 1.5.0 | |-- <Wire> 1.0 |-- <TMCStepper> 0.6.2 | |-- <SPI> 1.0 |-- <Adafruit NeoPixel> 1.4.0 |-- <U8glib-HAL> 0.4.1 | |-- <Wire> 1.0 | |-- <SPI> 1.0 |-- <Adafruit MAX31865 library> 1.2.1 | |-- <Adafruit BusIO> 1.3.2 | | |-- <SPI> 1.0 | | |-- <Wire> 1.0 |-- <LiquidTWI2> | |-- <Wire> 1.0 |-- <Arduino-L6470> 0.8.0 |-- <SailfishLCD> |-- <SailfishRGB_LED> | |-- <Wire> 1.0 |-- <SlowSoftI2CMaster> |-- <SPI> 1.0 |-- <Servo> 1.1.2 |-- <IWatchdog> 1.0.0 |-- <Wire> 1.0

In platforio.ini is

[env:BIGTREE_SKR_PRO]
platform          = ststm32
board             = BigTree_SKR_Pro
platform_packages = framework-arduinoststm32@>=3.107,<4

the last line should force it to use 3.107

Try this click on platformio Home icon then click on platforms
find ST STM32 and uninstall it.

Then try a compile. It will re install it, and hopefully the correct version.

So I uninstall 5.4.3, than upon compilation of Marlin 2.0.5.3 it installed the framework-arduinoststm32 3.10700.191028 (1.7.0) and everything compiled ok !

Thanks

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings