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

Add CR10_STOCKDISPLAY checks to pins_CREALITY_V4.h #19019

Merged
merged 2 commits into from
Aug 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@
#define ONBOARD_SD_CS_PIN PA4 // SDSS
#define SDIO_SUPPORT

#if ENABLED(CR10_STOCKDISPLAY) && NONE(RET6_12864_LCD, VET6_12864_LCD)
#error "Define RET6_12864_LCD or VET6_12864_LCD to select pins for CR10_STOCKDISPLAY with the Creality V4 controller."
#endif

#if ENABLED(RET6_12864_LCD)

/* RET6 12864 LCD */
Expand All @@ -146,6 +150,7 @@
#define BTN_EN2 PB14

#define BEEPER_PIN PC6

#elif ENABLED(VET6_12864_LCD)

/* VET6 12864 LCD */
Expand Down