Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MKS_ROBIN2 env missing #25782

Closed
1 task done
texscalper opened this issue May 5, 2023 · 6 comments · Fixed by #25792
Closed
1 task done

[BUG] MKS_ROBIN2 env missing #25782

texscalper opened this issue May 5, 2023 · 6 comments · Fixed by #25792

Comments

@texscalper
Copy link

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

Yes, and the problem still exists.

Bug Description

When using a MKS_ROBIN2 BOARD , latest Marlin 2.1.x dose not compile ...

PS E:\3D\Arduino\Predator\MKS Robin 2\MKS-Robin2-master\firmware\Marlin-bugfix-2.1.x_Robin2> platformio run --silent -e MKS_ROBIN2
Error: Unknown environment names 'MKS_ROBIN2'. Valid names are 'STM32F103RC_creality_xfer, ........

Bug Timeline

No response

Expected behavior

In file stm32f4.ini there is no env for MKS_ROBIN2 (STM32F407ZET6)

Actual behavior

Error compiling

Steps to Reproduce

  1. Configuration.h setup MKS_ROBIN2 board
    #ifndef MOTHERBOARD
    #define MOTHERBOARD BOARD_MKS_ROBIN2
    #endif

  2. compile Marlin with env
    [platformio]
    src_dir = Marlin
    boards_dir = buildroot/share/PlatformIO/boards
    default_envs = MKS_ROBIN2
    include_dir = Marlin

  3. error...compiling

Version of Marlin Firmware

2.1.x

Printer model

bulding it

Electronics

upgrading

Add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

Configurations.zip

@ellensp
Copy link
Contributor

ellensp commented May 5, 2023

@thisiskeithb
Copy link
Member

We had it at one point: #16270

@ellensp
Copy link
Contributor

ellensp commented May 5, 2023

The PR just added the board pins, not the env or variants files....

@texscalper
Copy link
Author

texscalper commented May 5, 2023

Yes I tried to port some files from old MKS branch .. but receiving some errors while compiling

@texscalper
Copy link
Author

makerbase-mks/MKS-Robin#185

see here if it may help

@github-actions
Copy link

github-actions bot commented Jul 7, 2023

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.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants