MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.28k stars 19.23k forks source link

[BUG] TMC2208 UART on ENDER 3V2 compilation error #23894

Closed stikzoo closed 2 years ago

stikzoo commented 2 years ago

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

I can't compile a firmware, I find an issue with this, so I deleted .pio folder then retry to compile but it don't work.

Bug Timeline

No response

Expected behavior

I would like to compile a firmawre inside visual code with PlatformIO

Actual behavior

Log Output ``` > Executing task: C:\Users\h95vi\.platformio\penv\Scripts\platformio.exe run < Processing STM32F103RET6_creality (board: genericSTM32F103RE; platform: ststm32@~12.1; framework: arduino) -------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RE.html PLATFORM: ST STM32 (12.1.1) > STM32F103RE (64k RAM. 512k Flash) HARDWARE: STM32F103RET6 72MHz, 64KB RAM, 512KB Flash DEBUG: Current (jlink) External (blackmagic, cmsis-dap, 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 LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 12 compatible libraries Scanning dependencies... Dependency Graph |-- 1.0.0 |-- 0.7.3 | |-- 1.0.0 | |-- 1.0 |-- 1.0 |-- 1.1.2 |-- 2.0.1 |-- 1.0.0 |-- 1.0 Building in release mode Compiling .pio\build\STM32F103RET6_creality\FrameworkArduinoVariant\PeripheralPins.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduinoVariant\variant.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\HardwareSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\HardwareTimer.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\IPAddress.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\Print.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\RingBuffer.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\Stream.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\Tone.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\USBSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\VirtIOSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\WInterrupts.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\WMath.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\WSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\WString.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\abi.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\avr\dtostrf.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\board.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\hooks.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\itoa.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\main.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\new.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\pins_arduino.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\device.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\condition.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\cortexm\sys.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_device.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_init.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_io.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_shmem.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\time.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\init.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\io.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\log.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\shmem.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\mbox_ipcc.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\open-amp\remoteproc\remoteproc_virtio.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\open-amp\rpmsg\rpmsg.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\open-amp\rpmsg\rpmsg_virtio.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\openamp.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\rsc_table.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virt_uart.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virtio\virtio.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virtio\virtqueue.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virtio_buffer.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virtio_log.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\startup_stm32yyxx.S.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\cdc\cdc_queue.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\cdc\usbd_cdc.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\cdc\usbd_cdc_if.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\hid\usbd_hid_composite.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\hid\usbd_hid_composite_if.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usb_device_core.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usb_device_ctlreq.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usb_device_ioreq.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usbd_conf.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usbd_desc.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usbd_ep_conf.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usbd_if.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_analog.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_digital.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_pulse.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_shift.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_time.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_adc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_adc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_can.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cec.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_comp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_comp_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cordic.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cortex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_crc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_crc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cryp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cryp_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dac.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dac_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dcmi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dcmi_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dfsdm.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dfsdm_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dma2d.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dma_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dsi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dts.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_eth.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_eth_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_exti.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_fdcan.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_firewall.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_flash.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_flash_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_flash_ramfunc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_fmac.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_fmpi2c.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_fmpi2c_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_gfxmmu.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_gpio.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_gpio_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hash.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hash_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hcd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hrtim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hsem.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_i2c.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_i2c_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_i2s.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_i2s_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ipcc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_irda.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_iwdg.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_jpeg.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_lcd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_lptim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ltdc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ltdc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_mdios.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_mdma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_mmc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_mmc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_nand.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_nor.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_opamp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_opamp_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ospi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_otfdec.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pccard.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pcd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pcd_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pka.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pssi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pwr.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pwr_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_qspi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ramecc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rcc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rcc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rng.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rng_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rtc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rtc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sai.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sai_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sd_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sdadc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sdram.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_smartcard.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_smartcard_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_smbus.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_spdifrx.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_spi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_spi_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sram.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_swpmi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_tim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_tim_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_tsc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_uart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_uart_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_usart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_usart_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_wwdg.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_adc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_bdma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_comp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_cordic.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_crc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_crs.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_dac.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_delayblock.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_dma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_dma2d.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_exti.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_fmac.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_fmc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_fsmc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_gpio.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_hrtim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_i2c.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_lptim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_lpuart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_mdma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_opamp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_pka.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_pwr.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_rcc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_rng.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_rtc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_sdmmc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_spi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_swpmi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_tim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_ucpd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_usart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_usb.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_utils.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\PortNames.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\analog.cpp.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\bootloader.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\clock.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\core_callback.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\dwt.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\hw_config.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\interrupt.cpp.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\lock_resource.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\low_power.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\pinmap.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\rtc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\stm32_def.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\stm32_eeprom.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\system_stm32yyxx.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\timer.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\uart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\syscalls.c.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\HAL.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\HAL_MinSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\HAL_SPI.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\MarlinSPI.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\MarlinSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\Servo.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_bl24cxx.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_flash.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_if_iic.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_sdcard.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_sram.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_wired.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\fast_pwm.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\fastio.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\msc_sd.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\sdio.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\gt911.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\tft_fsmc.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\tft_ltdc.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\tft_spi.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\xpt2046.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\timers.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\usb_host.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\usb_serial.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\watchdog.cpp.o In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfigPre.h:37, from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:28, from Marlin\src\HAL\STM32\timers.cpp:26: Marlin\src\HAL\STM32\timers.cpp: In function 'void SetTimerInterruptPriorities()': Marlin\src\HAL\STM32\timers.cpp:198:44: error: 'setInterruptPriority' is not a member of 'SoftwareSerial' 198 | TERN_(HAS_TMC_SW_SERIAL, SoftwareSerial::setInterruptPriority(SWSERIAL_TIMER_IRQ_PRIO, 0)); | ^~~~~~~~~~~~~~~~~~~~ Marlin\src\HAL\STM32\../../inc/../core/macros.h:607:26: note: in definition of macro 'THIRD' 607 | #define THIRD(a,b,c,...) c | ^ Marlin\src\HAL\STM32\../../inc/../core/macros.h:235:29: note: in expansion of macro '___TERN' 235 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1' | ^~~~~~~ Marlin\src\HAL\STM32\../../inc/../core/macros.h:234:29: note: in expansion of macro '__TERN' 234 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1' | ^~~~~~ Marlin\src\HAL\STM32\../../inc/../core/macros.h:233:29: note: in expansion of macro '_TERN' 233 | #define TERN_(O,A) _TERN(_ENA_1(O),,A) // OPTION ? 'A' : '' | ^~~~~ Marlin\src\HAL\STM32\timers.cpp:198:3: note: in expansion of macro 'TERN_' 198 | TERN_(HAS_TMC_SW_SERIAL, SoftwareSerial::setInterruptPriority(SWSERIAL_TIMER_IRQ_PRIO, 0)); | ^~~~~ *** [.pio\build\STM32F103RET6_creality\src\src\HAL\STM32\timers.cpp.o] Error 1 =================================================================== [FAILED] Took 30.15 seconds =================================================================== Environment Status Duration ---------------------- -------- ------------ STM32F103RET6_creality FAILED 00:00:30.150 ============================================================== 1 failed, 0 succeeded in 00:00:30.150 ============================================================== Arrêt du processus de terminal "C:\Users\h95vi\.platformio\penv\Scripts\platformio.exe 'run'". Code de sortie : 1. Le terminal sera réutilisé par les tâches, appuyez sur une touche pour le fermer. ```

Steps to Reproduce

Dot o platformio.ini: Add library SoftwareSerialM build_flags = (add) -DHAVE_SW_SERIAL

Go to pins_CREALITY_v4.h:

#if HAS_TMC_UART
#define E0_SERIAL_TX_PIN PA3
#define E0_SERIAL_RX_PIN PA3
#define TMC_BAUD_RATE 19200
#endif

Go to “configuration.h”:

#define E0_DRIVER_TYPE TMC2208
//#define STEALTHCHOP_E

Version of Marlin Firmware

2.0.9.3

Printer model

Creality Ender 3 V2

Electronics

Creality 4.2.2

Add-ons

CR touch

Bed Leveling

UBL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

Pronterface

Additional information & file uploads

Configurationadv.txt Configuration_.txt pins_CREALITYV4.txt

ellensp commented 2 years ago

Provided configs upgrade to bug fix compiles without issues Configuration_bugfix.zip

ellensp commented 2 years ago

Also build_flags = (add) -DHAVE_SW_SERIAL is not required. loading TMCStepper will load it

Dependency Graph
|-- <TMCStepper> 0.7.3
|   |-- <SPI> 1.0
|   |-- <SoftwareSerial> 1.0
stikzoo commented 2 years ago

Thank you, I tried it. SoftwareSerialM in library PlatFormIO is not required? I have another issue on 3 GCODE command for TMC stepper and on feedrate.

Log Output ``` > Executing task: C:\Users\h95vi\.platformio\penv\Scripts\platformio.exe run < Processing STM32F103RET6_creality (board: genericSTM32F103RE; platform: ststm32@~12.1; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RE.html PLATFORM: ST STM32 (12.1.1) > STM32F103RE (64k RAM. 512k Flash) HARDWARE: STM32F103RET6 72MHz, 64KB RAM, 512KB Flash DEBUG: Current (jlink) External (blackmagic, cmsis-dap, 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 LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Library Manager: Installing TMCStepper @ ~0.7.3 Unpacking [------------------------------------] 0% Unpacking [------------------------------------] 1% Unpacking [#-----------------------------------] 3% Unpacking [#-----------------------------------] 4% Unpacking [##----------------------------------] 6% Unpacking [##----------------------------------] 8% Unpacking [###---------------------------------] 9% Unpacking [####--------------------------------] 11% Unpacking [####--------------------------------] 13% Unpacking [#####-------------------------------] 14% Unpacking [#####-------------------------------] 16% Unpacking [######------------------------------] 18% Unpacking [#######-----------------------------] 19% Unpacking [#######-----------------------------] 21% Unpacking [########----------------------------] 22% Unpacking [########----------------------------] 24% Unpacking [#########---------------------------] 26% Unpacking [##########--------------------------] 27% Unpacking [##########--------------------------] 29% Unpacking [###########-------------------------] 31% Unpacking [###########-------------------------] 32% Unpacking [############------------------------] 34% Unpacking [############------------------------] 36% Unpacking [#############-----------------------] 37% Unpacking [##############----------------------] 39% Unpacking [##############----------------------] 40% Unpacking [###############---------------------] 42% Unpacking [###############---------------------] 44% Unpacking [################--------------------] 45% Unpacking [#################-------------------] 47% Unpacking [#################-------------------] 49% Unpacking [##################------------------] 50% Unpacking [##################------------------] 52% Unpacking [###################-----------------] 54% Unpacking [####################----------------] 55% Unpacking [####################----------------] 57% Unpacking [#####################---------------] 59% Unpacking [#####################---------------] 60% Unpacking [######################--------------] 62% Unpacking [#######################-------------] 63% Unpacking [#######################-------------] 65% Unpacking [########################------------] 67% Unpacking [########################------------] 68% Unpacking [#########################-----------] 70% Unpacking [#########################-----------] 72% Unpacking [##########################----------] 73% Unpacking [###########################---------] 75% Unpacking [###########################---------] 77% Unpacking [############################--------] 78% Unpacking [############################--------] 80% Unpacking [#############################-------] 81% Unpacking [##############################------] 83% Unpacking [##############################------] 85% Unpacking [###############################-----] 86% Unpacking [###############################-----] 88% Unpacking [################################----] 90% Unpacking [#################################---] 91% Unpacking [#################################---] 93% Unpacking [##################################--] 95% Unpacking [##################################--] 96% Unpacking [###################################-] 98% Unpacking [####################################] 100% Library Manager: TMCStepper @ 0.7.3 has been installed! Found 11 compatible libraries Scanning dependencies... Dependency Graph |-- 0.7.3 | |-- 1.0 | |-- 1.0 |-- 1.0 |-- 1.1.2 |-- 2.0.1 |-- 1.0 |-- 1.0.0 |-- 1.0 Building in release mode Compiling .pio\build\STM32F103RET6_creality\FrameworkArduinoVariant\PeripheralPins.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduinoVariant\variant.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\HardwareSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\HardwareTimer.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\IPAddress.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\Print.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\RingBuffer.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\Stream.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\Tone.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\USBSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\VirtIOSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\WInterrupts.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\WMath.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\WSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\WString.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\abi.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\avr\dtostrf.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\board.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\hooks.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\itoa.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\main.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\new.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\pins_arduino.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\device.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\condition.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\cortexm\sys.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_device.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_init.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_io.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\generic_shmem.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\generic\time.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\init.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\io.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\log.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\libmetal\shmem.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\mbox_ipcc.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\open-amp\remoteproc\remoteproc_virtio.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\open-amp\rpmsg\rpmsg.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\open-amp\rpmsg\rpmsg_virtio.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\openamp.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\rsc_table.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virt_uart.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virtio\virtio.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virtio\virtqueue.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virtio_buffer.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\OpenAMP\virtio_log.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\startup_stm32yyxx.S.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\cdc\cdc_queue.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\cdc\usbd_cdc.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\cdc\usbd_cdc_if.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\hid\usbd_hid_composite.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\hid\usbd_hid_composite_if.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usb_device_core.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usb_device_ctlreq.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usb_device_ioreq.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usbd_conf.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usbd_desc.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usbd_ep_conf.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\stm32\usb\usbd_if.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_analog.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_digital.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_pulse.cpp.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_shift.c.o Compiling .pio\build\STM32F103RET6_creality\FrameworkArduino\wiring_time.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_adc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_adc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_can.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cec.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_comp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_comp_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cordic.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cortex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_crc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_crc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cryp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_cryp_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dac.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dac_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dcmi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dcmi_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dfsdm.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dfsdm_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dma2d.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dma_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dsi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_dts.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_eth.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_eth_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_exti.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_fdcan.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_firewall.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_flash.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_flash_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_flash_ramfunc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_fmac.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_fmpi2c.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_fmpi2c_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_gfxmmu.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_gpio.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_gpio_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hash.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hash_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hcd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hrtim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_hsem.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_i2c.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_i2c_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_i2s.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_i2s_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ipcc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_irda.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_iwdg.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_jpeg.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_lcd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_lptim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ltdc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ltdc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_mdios.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_mdma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_mmc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_mmc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_nand.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_nor.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_opamp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_opamp_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ospi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_otfdec.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pccard.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pcd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pcd_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pka.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pssi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pwr.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_pwr_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_qspi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_ramecc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rcc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rcc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rng.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rng_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rtc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_rtc_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sai.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sai_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sd_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sdadc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sdram.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_smartcard.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_smartcard_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_smbus.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_spdifrx.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_spi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_spi_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_sram.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_swpmi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_tim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_tim_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_tsc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_uart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_uart_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_usart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_usart_ex.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\HAL\stm32yyxx_hal_wwdg.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_adc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_bdma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_comp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_cordic.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_crc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_crs.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_dac.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_delayblock.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_dma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_dma2d.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_exti.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_fmac.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_fmc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_fsmc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_gpio.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_hrtim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_i2c.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_lptim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_lpuart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_mdma.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_opamp.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_pka.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_pwr.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_rcc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_rng.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_rtc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_sdmmc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_spi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_swpmi.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_tim.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_ucpd.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_usart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_usb.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\LL\stm32yyxx_ll_utils.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\PortNames.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\analog.cpp.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\bootloader.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\clock.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\core_callback.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\dwt.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\hw_config.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\interrupt.cpp.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\lock_resource.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\low_power.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\pinmap.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\rtc.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\stm32_def.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\stm32_eeprom.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\system_stm32yyxx.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\timer.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\stm32\uart.c.o Compiling .pio\build\STM32F103RET6_creality\SrcWrapper\src\syscalls.c.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\HAL.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\HAL_MinSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\HAL_SPI.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\MarlinSPI.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\MarlinSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\Servo.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_bl24cxx.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_flash.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_if_iic.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_sdcard.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_sram.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\eeprom_wired.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\fast_pwm.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\fastio.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\msc_sd.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\sdio.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\gt911.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\tft_fsmc.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\tft_ltdc.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\tft_spi.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\tft\xpt2046.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\timers.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\usb_host.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\usb_serial.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\STM32\watchdog.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\Delay.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\HAL_MinSerial.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\backtrace\backtrace.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\backtrace\unwarm.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\backtrace\unwarm_arm.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\backtrace\unwarm_thumb.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\backtrace\unwarmbytab.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\backtrace\unwarmmem.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\backtrace\unwinder.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\backtrace\unwmemaccess.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\eeprom_api.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\esp_wifi.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\HAL\shared\servo.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\MarlinCore.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\core\serial.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\core\utility.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\ammeter.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\babystep.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\bedlevel\bedlevel.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\bedlevel\hilbert_curve.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\bedlevel\ubl\ubl.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\bedlevel\ubl\ubl_G29.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\bedlevel\ubl\ubl_motion.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\bltouch.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\e_parser.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\host_actions.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\powerloss.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\feature\tmc_util.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\bedlevel\G26.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\bedlevel\G42.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\bedlevel\M420.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\bedlevel\ubl\G29.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\bedlevel\ubl\M421.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\calibrate\G28.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\calibrate\M48.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\config\M200-M205.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\config\M220.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\config\M221.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\config\M301.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\config\M302.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\config\M304.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\config\M309.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\config\M92.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M108_M112_M410.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M111.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M120_M121.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M17_M18_M84.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M211.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M280.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M400.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M80_M81.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M85.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M993_M994.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M997.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\M999.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\control\T.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\eeprom\M500-M504.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\advance\M900.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\digipot\M907-M910.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\pause\G27.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\powerloss\M1000.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\powerloss\M413.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\trinamic\M122.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\trinamic\M569.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\trinamic\M906.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\trinamic\M911-M914.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\feature\trinamic\M919.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\gcode.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\gcode_d.cpp.o Marlin\src\gcode\feature\trinamic\M569.cpp: In function 'void set_stealth_status(bool, int8_t)': Marlin\src\gcode\feature\trinamic\M569.cpp:53:22: warning: unused variable 'index' [-Wunused-variable] 53 | constexpr int8_t index = -1; | ^~~~~ Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\geometry\G92.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\geometry\M206_M428.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M110.cpp.o Marlin\src\gcode\feature\trinamic\M906.cpp: In static member function 'static void GcodeSuite::M906()': Marlin\src\gcode\feature\trinamic\M906.cpp:60:22: warning: unused variable 'index' [-Wunused-variable] 60 | constexpr int8_t index = -1; | ^~~~~ Marlin\src\gcode\feature\trinamic\M919.cpp: In static member function 'static void GcodeSuite::M919()': Marlin\src\gcode\feature\trinamic\M919.cpp:97:22: warning: unused variable 'index' [-Wunused-variable] 97 | constexpr int8_t index = -1; | ^~~~~ Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M113.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M114.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M115.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M118.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M119.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\lcd\M0_M1.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\lcd\M117.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\lcd\M145.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\lcd\M256.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\lcd\M300.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\motion\G0_G1.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\motion\G2_G3.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\motion\G4.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\motion\M290.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\parser.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\probe\G30.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\probe\M401_M402.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\probe\M851.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\queue.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M1001.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M20.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M21_M22.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M23.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M24_M25.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M26.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M27.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M28_M29.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M30.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M32.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M33.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M34.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M524.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\sd\M928.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\stats\M31.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\stats\M75-M78.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\temp\M104_M109.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\temp\M105.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\temp\M106_M107.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\temp\M140_M190.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\temp\M141_M191.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\temp\M155.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\temp\M303.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\units\M82_M83.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\inc\Warnings.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\e3v2\common\dwin_api.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\e3v2\common\encoder.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\e3v2\marlinui\dwin_lcd.cpp.o Marlin\src\inc\Warnings.cpp:537:4: warning: #warning "Creality 4.2.2 boards may have A4988 or TMC2208_STANDALONE drivers. Check your board and make sure to select the correct DRIVER_TYPE!" [-Wcpp] 537 | #warning "Creality 4.2.2 boards may have A4988 or TMC2208_STANDALONE drivers. Check your board and make sure to select the correct DRIVER_TYPE!" | ^~~~~~~ Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\e3v2\marlinui\dwin_string.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\e3v2\marlinui\lcdprint_dwin.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\e3v2\marlinui\ui_common.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\e3v2\marlinui\ui_status_480x272.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\extui\ui_api.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\fontutils.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\lcdprint.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\marlinui.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\menu\menu.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\menu\menu_advanced.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\menu\menu_configuration.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\menu\menu_game.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\menu\menu_job_recovery.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\menu\menu_main.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\menu\menu_media.cpp.o Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\menu\menu_mixer.cpp.o Marlin\src\lcd\marlinui.cpp: In static member function 'static void ManualMove::task()': Marlin\src\lcd\marlinui.cpp:774:60: error: 'manual_feedrate_mm_s' was not declared in this scope; did you mean 'feedrate_mm_s'? 774 | const feedRate_t fr_mm_s = (axis < LOGICAL_AXES) ? manual_feedrate_mm_s[axis] : XY_PROBE_FEEDRATE_MM_S; | ^~~~~~~~~~~~~~~~~~~~ | feedrate_mm_s *** [.pio\build\STM32F103RET6_creality\src\src\lcd\marlinui.cpp.o] Error 1 =============================================================== [FAILED] Took 59.07 seconds =============================================================== Environment Status Duration ---------------------- -------- ------------ STM32F103RET6_creality FAILED 00:00:59.070 ========================================================== 1 failed, 0 succeeded in 00:00:59.070 ========================================================== ```
ellensp commented 2 years ago

That is a user error Using miss matched configs files and code versions See this for details https://github.com/MarlinFirmware/Marlin/issues/23656#issuecomment-1025441678

stikzoo commented 2 years ago

Thanks a lot I will check this.

stikzoo commented 2 years ago

Ok it is done for the feedrate problem but this is unsolved:

Marlin\src\gcode\feature\trinamic\M569.cpp: In function 'void set_stealth_status(bool, int8_t)':
Marlin\src\gcode\feature\trinamic\M569.cpp:53:22: warning: unused variable 'index' [-Wunused-variable]
   53 |     constexpr int8_t index = -1;
      |                      ^~~~~
Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\geometry\G92.cpp.o
Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\geometry\M206_M428.cpp.o
Marlin\src\gcode\feature\trinamic\M906.cpp: In static member function 'static void GcodeSuite::M906()':
Marlin\src\gcode\feature\trinamic\M906.cpp:60:22: warning: unused variable 'index' [-Wunused-variable]
   60 |     constexpr int8_t index = -1;
      |                      ^~~~~
Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M110.cpp.o
Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M113.cpp.o
Compiling .pio\build\STM32F103RET6_creality\src\src\gcode\host\M114.cpp.o
Marlin\src\gcode\feature\trinamic\M919.cpp: In static member function 'static void GcodeSuite::M919()':
Marlin\src\gcode\feature\trinamic\M919.cpp:97:22: warning: unused variable 'index' [-Wunused-variable]
   97 |     constexpr int8_t index = -1;
      |                      ^~~~~

I tried HAS_TRINAMIC_CONFIG = TMCStepper@0.7.1 in ini/features.ini but don't solve this issue.

ellensp commented 2 years ago

warnings... unused variables, safe to ignore them

stikzoo commented 2 years ago

Yes, thank you, I just read it .. sorry for the inconvenience

stikzoo commented 2 years ago

ok, all was good for compiling. So when I load my compiled firmware I have a black screen and nothing else. I did this mod:

- #define E0_DRIVER_TYPE TMC2208
+ #define E0_DRIVER_TYPE TMC2208_STANDALONE

And I did not black screen issue. I saw this issue #22905 but i didn't find any thing.

ellensp commented 2 years ago

because no one has solved this yet, other than to build with _maple environment or use different pins IO pins.

You could try this test though, as I have some ideas

You added this to pins_CREALITY_v4.h

#if HAS_TMC_UART
  #define E0_SERIAL_TX_PIN                  PA3
  #define E0_SERIAL_RX_PIN                  PA3
  #define TMC_BAUD_RATE                    19200
#endif  

As a test try this, see it it makes any difference

#if HAS_TMC_UART
  #define E0_SERIAL_TX_PIN                  3
  #define E0_SERIAL_RX_PIN                  3
  #define TMC_BAUD_RATE                    19200
#endif  

If nothing changes try editing ini/stm32f1.ini In block [STM32F103Rx_creality] is -DSS_TIMER=4 -DTIMER_SERVO=TIM5 try

-DSS_TIMER=4 -DTIMER_SERVO=TIM6

stikzoo commented 2 years ago

With STM32RET6_creality_maple I have issue:

Marlin\src\HAL\STM32F1\onboard_sd.cpp:42:25: error: 'ONBOARD_SD_CS_PIN' was not declared in this scope

With a different pin (PA13) it is working. I just need to change my soldering pin. Thank you a lot for your time.

ellensp commented 2 years ago

Duplicate of https://github.com/MarlinFirmware/Marlin/issues/22905

github-actions[bot] commented 2 years ago

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.