Open 823Labs opened 3 years ago
You can see the key is libmaple/gpio.h Because ST STM32 framework was updated to version 7. Marlin was built on version 6. The fix is ,just update your platformio.ini file Find and replace the line "platform = ststm32" with "platform = ststm32@<6.2.0"
zamieniłem platform= ststm32 na ststm32@<6.2.0, w dalszym ciagu jest bład kompilacj tym razem:
.pio\libdeps\mks_robin_mini\TMCStepper\src\source\TMC2208Stepper.cpp: In member function 'void TMC2208Stepper::beginSerial(uint32_t)': .pio\libdeps\mks_robin_mini\TMCStepper\src\source\TMC2208Stepper.cpp:39:14: error: 'class SoftwareSerial' has no member named 'end'; did you mean 'read'? SWSerial->end(); ^~~ read .pio\libdeps\mks_robin_mini\TMCStepper\src\source\TMC2208Stepper.cpp: In member function 'void TMC2208Stepper::postReadCommunication()': .pio\libdeps\mks_robin_mini\TMCStepper\src\source\TMC2208Stepper.cpp:182:14: error: 'class SoftwareSerial' has no member named 'end'; did you mean 'read'? SWSerial->end(); ^~~ read *** [.pio\build\mks_robin_mini\liba80\TMCStepper\source\TMC2208Stepper.cpp.o] Error 1 ===================================================================== [FAILED] Took 59.69 seconds =====================================================================
Environment Status Duration
mks_robin_mini FAILED 00:00:59.692 ================================================================ 1 failed, 0 succeeded in 00:00:59.692
Czy komuś udało się zkompilować Marlina pod MKS Robin MNI ? w pliku configuration.h Stepper Drivers
Hi I can't seem to compile for my Robin Mini, I downloaded your branch and used VS Studio with PlatformIO (with and without) Auto build Marlin, and it fails every single time. I just can't seem to figure it out, the error codes do not make sense to me, (I'm not an expert in this by any means as this is the first time I am compiling for this board, I have been able in the past compile for RAMPS1.4 8bit boards), but from everything I've seen I have been on the correct path.
A little help would be greatly appreciated, what am I missing or not doing correctly? Below is a dump of my compilation and errors. Thanks
i ; echo "done" >|/var/folders/r2/5qc_y8kn2sl8sl5cgwr4mc7w0000gl/T/ipc Processing mks_robin_mini (platform: ststm32; framework: arduino; board: genericSTM32F103VE)
Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103VE.html PLATFORM: ST STM32 (11.0.0) > STM32F103VE (64k RAM. 512k Flash) HARDWARE: STM32F103VET6 72MHz, 64KB RAM, 512KB Flash DEBUG: Current (blackmagic) External (blackmagic, cmsis-dap, jlink, stlink) PACKAGES:~~~~ compilation terminated. Compiling .pio/build/mks_robin_mini/src/src/HAL/HAL_STM32F1/watchdog.cpp.o [.pio/build/mks_robin_mini/src/src/HAL/HAL_STM32F1/dogm/u8g_com_stm32duino_fsmc.cpp.o] Error 1 In file included from Marlin/src/HAL/HAL_STM32F1/../../inc/../HAL/./HAL_STM32F1/HAL.h:36, from Marlin/src/HAL/HAL_STM32F1/../../inc/../HAL/HAL.h:26, from Marlin/src/HAL/HAL_STM32F1/../../inc/MarlinConfig.h:30, from Marlin/src/HAL/HAL_STM32F1/onboard_sd.cpp:15: Marlin/src/HAL/HAL_STM32F1/../../inc/../HAL/./HAL_STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. [.pio/build/mks_robin_mini/src/src/HAL/HAL_STM32F1/onboard_sd.cpp.o] Error 1 ====================================================== [FAILED] Took 38.47 seconds ======================================================Environment Status Duration
mks_robin_mini FAILED 00:00:38.474 ================================================= 1 failed, 0 succeeded in 00:00:38.474 =================================================