makerbase-mks / MKS-Robin-mini

MKS Robin Mini is a powerful 32-bit 3D printer control board with STM32F103VET6. Support Marlin2.0. Support MKS Robin TFT24/28/32... Screens. The motherboard integrates 4 A4988 axis and software set current, hot bed, heating heads, 2 NTC100K, 1 MAX31855.The motherboard integrates After shutdown. Support MKS Robin WIFI for cloud printing and supports firmware update by SD card…
https://www.aliexpress.com/item/32891161863.html?spm=2114.12010612.8148356.3.278665f4iCnRHd
28 stars 17 forks source link

Can't compile #2

Open 823Labs opened 3 years ago

823Labs commented 3 years ago

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:

Environment Status Duration


mks_robin_mini FAILED 00:00:38.474 ================================================= 1 failed, 0 succeeded in 00:00:38.474 =================================================

tomssy commented 2 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"

qulet commented 1 year ago

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

qulet commented 1 year ago

Czy komuś udało się zkompilować Marlina pod MKS Robin MNI ? w pliku configuration.h Stepper Drivers

define X_DRIVER_TYPE A4988

define Y_DRIVER_TYPE A4988

define Z_DRIVER_TYPE A4988

define E0_DRIVER_TYPE A4988