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] M43 on STM32F4 doesn't work correctly #22894

Closed
ellensp opened this issue Oct 6, 2021 · 4 comments
Closed

[BUG] M43 on STM32F4 doesn't work correctly #22894

ellensp opened this issue Oct 6, 2021 · 4 comments

Comments

@ellensp
Copy link
Contributor

ellensp commented Oct 6, 2021

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

Yes, and the problem still exists.

Bug Description

M43 does not show all used pins on a STM32F4 based controller

Expected behavior

M43 should list all pins

Actual behavior

M43 starts listing at PA8 onwards.

Steps to Reproduce

  1. Download Marlin
  2. set #define SERIAL_PORT -1
  3. set #define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V3
  4. set #define PINS_DEBUGGING
  5. Compile and upload
  6. Send a M43, note missing pins

Version of Marlin Firmware

latest bugfix

Electronics

As an example MKS Robin Nano V3, but I know the skr V2 also has this issue

Additional information & file uploads

m43.txt

But this board has for example the following all not listed.
#define HEATER_BED_PIN PA0 // HOT BED
#define E1_DIR_PIN PA1
#define TEMP_1_PIN PA2 // TH2
#define E1_ENABLE_PIN PA3
#define HEATER_1_PIN PB0 // HEATER2

@ellensp
Copy link
Contributor Author

ellensp commented Oct 6, 2021

This seems to have something to do with if the pin is analog capable it doesn't get listed.

@ellensp
Copy link
Contributor Author

ellensp commented Oct 6, 2021

m43_expected.txt
This is the expected and current result.

@ellensp
Copy link
Contributor Author

ellensp commented Oct 17, 2021

pr created, closing issue as superfluous

@ellensp ellensp closed this as completed Oct 17, 2021
@github-actions
Copy link

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 Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant