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] Issues with the Ender 5 S1 Configuration (Won't Build) #901

Closed
jrgleason opened this issue Mar 7, 2023 · 2 comments
Closed

[BUG] Issues with the Ender 5 S1 Configuration (Won't Build) #901

jrgleason opened this issue Mar 7, 2023 · 2 comments

Comments

@jrgleason
Copy link

Bug Description

I am trying to build with the configuration provided by the Ender 5 S1 folder. However, when I do I get the following...

Unknown MOTHERBOARD value set in Configuration.h.

It appears the BOARD_CREALITY_F401RE board is not added by default and I am not sure how to add it

Configuration Files

No modification see this

Steps to Reproduce

  1. Clone either the BTT or Vanilla version of Marlin
  2. Replace the configuration files with the ones provided
  3. Run pio run
  4. Note the errors

Expected behavior:

I would like to be able to compile the bin file to deploy to the printer.

Actual behavior:

I get multiple errors...

Processing mega2560 (board: megaatmega2560; platform: atmelavr@~3.4; framework: arduino)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39:0,
                 from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,
                 from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3145:15: error: missing binary operator before token "("
 #if DGUS_UI_IS(MKS)
               ^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3147:17: error: missing binary operator before token "("
 #elif DGUS_UI_IS(IA_CREALITY)
                 ^
In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:34:0,
                 from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../pins/pins.h:886:6: error: #error "Unknown MOTHERBOARD value set in Configuration.h."
     #error "Unknown MOTHERBOARD value set in Configuration.h."
      ^~~~~
Error: Failed to parse Marlin features. See previous error messages.
========================== [FAILED] Took 1.14 seconds ==========================
@thisiskeithb
Copy link
Member

Ender-5 S1 support is still pending in the main Marlin repo: MarlinFirmware/Marlin#25382

Processing mega2560 (board: megaatmega2560; platform: atmelavr@~3.4; framework: arduino)

You're also building with the wrong environment. You'll build with STM32F401RE_CREALITY using the referenced PR above.

@jrgleason
Copy link
Author

Can you possibly be a little clearer with how I run under that environment. I also noticed there is a 2.0.x repo from creality available here https://github.com/CrealityOfficial/Ender-5S1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants