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

Cleanup for FYSETC Cheetah #17935

Merged

Conversation

RudolphRiedel
Copy link
Contributor

Requirements

EXTUI EVE touch LCD and Fysetc Cheetah board

Description

This is a cleanup of the pins_FYSETC_CHEETAH.h and pin_mappings.h files moving the EXTUI definitions over to pins_FYSETC_CHEETAH.h.
In addition the pins_FYSETC_CHEETAH.h is cleaned up overall.

Benefits

Clarity, simplicity.
The removal of the EXPA1_xx_PIN definitions that were not used outside of pins_FYSETC_CHEETAH.h make it simpler to look up to which pins of the controller functions are really assigned to.
Like that DOGLCD_CS or CLCD_SPI_CS is assigned to PB12.

A bunch of BTT_SKR pin definitions files use the EXPA1_xx_PIN defines as well and also only within these files which therefore serves no purpose.
But I can not test these.

Related Issues

The pins for BTN_EN1 and BTN_EN2 were swapped.

@thinkyhead thinkyhead changed the title Cleanup of pins/stm32f1/pins_FYSETC_CHEETAH.h and pin_mappings.h. Cleanup for FYSETC Cheetah May 12, 2020
@thinkyhead thinkyhead merged commit 98fdc67 into MarlinFirmware:bugfix-2.0.x May 12, 2020
sl1pkn07 added a commit to sl1pkn07/Marlin that referenced this pull request May 12, 2020
@RudolphRiedel RudolphRiedel deleted the bugfix-2.0.x_extui branch May 21, 2020 08:41
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request May 29, 2020
jmp0x0000 pushed a commit to jmp0x0000/Marlin that referenced this pull request Aug 7, 2020
njibhu pushed a commit to njibhu/Marlin that referenced this pull request Aug 24, 2020
HairingX pushed a commit to HairingX/Marlin that referenced this pull request Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants