makerbase-mks / MKS-Robin

MKS Robin is a powerful 32-bit 3D printer control board with STM32F103ZET6 . Support Marlin2.0. Support MKS Robin TFT24/28/32... Screens. The motherboard integrates 5 AXIS interface, hot bed, 2 heating heads, 3 NTC100K, 2 MAX31855.Support MKS Robin WIFI for cloud printing.Supports firmware update by SD card…
https://es.aliexpress.com/item/32757129463.html?spm=a219c.12010612.8148356.9.5fc165f4oDUfFM
131 stars 129 forks source link

Error compiling #144

Open wedgevic opened 4 years ago

wedgevic commented 4 years ago

Hi, I am new to marlin and am trying to change the language from my printer from chinese to english, but when I do a PIO Build, I get this error:

Warning! env_default configuration option in section [platformio] is deprecated and will be removed in the next release! Please use default_envs instead

Can not remove temporary directory C:\Users\cunha\Documents\Downloads\Marlin2.0_MKS-Robin_mini25\.pioenvs. Please remove it manually to avoid build issues

Error: Invalid value: invalid choice: 1. (choose from off, chain, deep, chain+, deep+) for option lib_ldf_mode in section [env:STM32F1]

Board name: BOARD_MKS_ROBIN_NANO Build type: build Environment used: STM32F1

Is there a solution to this? Thanks for the help!

makerbase-mks commented 4 years ago
  1. Click PIO Build in the lower left corner of ATOM, search for mks_robin_nano in the dialog box, and select PIO Build(mks_robin_nano).
  2. You can use the Marlin2.0 compiler tool developed by MKS, the connection is as follows: https://github.com/makerbase-mks/MKS-Marlin2.0-Compile-Tool This will be very helpful.
wedgevic commented 4 years ago

I have no option for PIO Build(mks_robin_nano). I only have these options: image

wedgevic commented 4 years ago

disregard the name of the project, it is for the robin nano in the config file

makerbase-mks commented 4 years ago

1.You can change platformio.ini file,like this: [platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards default_envs = mks_robin_nano

2.Compile again

wedgevic commented 4 years ago

now it gives this: Can not remove temporary directory C:\Users\cunha\Documents\Downloads\Marlin2.0_MKS-Robin_mini25\.pio\build. Please remove it manually to avoid build issues

DEPRECATED! A legacy library storage C:\Users\cunha\Documents\Downloads\Marlin2.0_MKS-Robin_mini25\.piolibdeps has been found in a project.

Please declare project dependencies in platformio.ini file using lib_deps option and remove C:\Users\cunha\Documents\Downloads\Marlin2.0_MKS-Robin_mini25\.piolibdeps folder.

More details -> http://docs.platformio.org/page/projectconf/section_env_library.html#lib-deps

Error: Invalid value: invalid choice: 1. (choose from off, chain, deep, chain+, deep+) for option lib_ldf_mode in section [env:STM32F1]

Board name: BOARD_MKS_ROBIN_NANO Build type: build Environment used: STM32F1

wedgevic commented 4 years ago

wait, I kinda fixed that, but now there is this error: .pio\libdeps\mks_robin_nano\TMCStepper_ID5513\src/TMCStepper.h:23:11: fatal error: SoftwareSerial.h: No such file or directory

wedgevic commented 4 years ago

nope, same error: *** [.pio\build\mks_robin_nano\libc15\TMCStepper_ID5513\source\CHOPCONF.cpp.o] Error 1 In file included from .pio\libdeps\mks_robin_nano\TMCStepper_ID5513\src\source\COOLCONF.cpp:1:0: .pio\libdeps\mks_robin_nano\TMCStepper_ID5513\src/TMCStepper.h:23:11: fatal error: SoftwareSerial.h: No such file or directory


makerbase-mks commented 4 years ago

You need to disable TMCStepper@>=0.5.0, <1.0.0, increase at the very beginning ‘#’ symbol

wedgevic commented 4 years ago

?

sparealcon commented 4 years ago

I have the same error and I dont understand the solution posted here.

You need to disable TMCStepper@>=0.5.0, <1.0.0, increase at the very beginning ‘#’ symbol

where is this line and in wich file? at the beggining of what? The only difference is I have a mksrobin2 but the error is exactly the same

wedgevic commented 4 years ago

I did not understand it either

On Thu, Nov 28, 2019 at 10:25 PM sparealcon notifications@github.com wrote:

I have the same error and I dont understand the solution posted here.

You need to disable TMCStepper@>=0.5.0, <1.0.0, increase at the very beginning ‘#’ symbol

where is this line and in wich file? at the beggining of what? The only difference is I have a mksrobin2 but the error is exactly the same

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-Robin/issues/144?email_source=notifications&email_token=AM3YXRO5BZIF6JWU3J4YFP3QWCKSZA5CNFSM4JIZ5PC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFN2TPA#issuecomment-559655356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3YXRKKKUL5HJKVJBDPRSDQWCKSZANCNFSM4JIZ5PCQ .

3Dangel commented 4 years ago

I think it is on the platformio.ini Where you have to comment out that line.

On Fri, Nov 29, 2019 at 07:35 wedgevic notifications@github.com wrote:

I did not understand it either

On Thu, Nov 28, 2019 at 10:25 PM sparealcon notifications@github.com wrote:

I have the same error and I dont understand the solution posted here.

You need to disable TMCStepper@>=0.5.0, <1.0.0, increase at the very beginning ‘#’ symbol

where is this line and in wich file? at the beggining of what? The only difference is I have a mksrobin2 but the error is exactly the same

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub < https://github.com/makerbase-mks/MKS-Robin/issues/144?email_source=notifications&email_token=AM3YXRO5BZIF6JWU3J4YFP3QWCKSZA5CNFSM4JIZ5PC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFN2TPA#issuecomment-559655356 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AM3YXRKKKUL5HJKVJBDPRSDQWCKSZANCNFSM4JIZ5PCQ

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-Robin/issues/144?email_source=notifications&email_token=AFYWWXPGYFZGF6CLOZD76H3QWESEJA5CNFSM4JIZ5PC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPAGIY#issuecomment-559809315, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFYWWXLHC2NY3S4VCM2SGFLQWESEJANCNFSM4JIZ5PCQ .

sparealcon commented 4 years ago

thanks I was able to fin that line, however it seems the prolem still persists

wedgevic commented 4 years ago

it didn't work for me either

On Fri, Nov 29, 2019 at 10:07 AM 3Dangel notifications@github.com wrote:

I think it is on the platformio.ini Where you have to comment out that line.

On Fri, Nov 29, 2019 at 07:35 wedgevic notifications@github.com wrote:

I did not understand it either

On Thu, Nov 28, 2019 at 10:25 PM sparealcon notifications@github.com wrote:

I have the same error and I dont understand the solution posted here.

You need to disable TMCStepper@>=0.5.0, <1.0.0, increase at the very beginning ‘#’ symbol

where is this line and in wich file? at the beggining of what? The only difference is I have a mksrobin2 but the error is exactly the same

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <

https://github.com/makerbase-mks/MKS-Robin/issues/144?email_source=notifications&email_token=AM3YXRO5BZIF6JWU3J4YFP3QWCKSZA5CNFSM4JIZ5PC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFN2TPA#issuecomment-559655356

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AM3YXRKKKUL5HJKVJBDPRSDQWCKSZANCNFSM4JIZ5PCQ

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/makerbase-mks/MKS-Robin/issues/144?email_source=notifications&email_token=AFYWWXPGYFZGF6CLOZD76H3QWESEJA5CNFSM4JIZ5PC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPAGIY#issuecomment-559809315 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AFYWWXLHC2NY3S4VCM2SGFLQWESEJANCNFSM4JIZ5PCQ

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-Robin/issues/144?email_source=notifications&email_token=AM3YXRIVV25ABIWK2CYVDTDQWE42TA5CNFSM4JIZ5PC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPGD6Q#issuecomment-559833594, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3YXROPUPBFW4A2AOEPG7TQWE42TANCNFSM4JIZ5PCQ .

RavenWarrior commented 4 years ago

same problem here using Robin_mini with VSCode. exact same problem. I cant get the original mks robin tft 24 V1.0 to display anything other than the marlin display either.