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 TMC driver HW serial defines #17909

Merged

Conversation

sjasonsmith
Copy link
Contributor

Update STM32F103R* tests to ensure coverage for both HW and SW serial drivers

Description

Add a macro to identify HW Serial for TMC drivers. Use this to selectively disable the sp_helper which is generating compiler warnings due to unused variables.

Benefits

Fewer warnings to squelch complaints and make new issues easier to spot.

Related Issues

These were both closed after being told to ignore warnings. While safe in this case, I prefer to work toward zero warnings, with the ideal being that warnings are treated as failuers.
#17899
#17506

sjasonsmith and others added 2 commits May 7, 2020 08:10
Update STM32F103R* tests to ensure coverage for both HW and SW serial drivers
@thinkyhead thinkyhead merged commit a2153c1 into MarlinFirmware:bugfix-2.0.x May 8, 2020
@thinkyhead thinkyhead changed the title Fix unused sp_helper warning in trinamic.cpp Add TMC driver HW serial defines May 8, 2020
@sjasonsmith sjasonsmith deleted the PR/trinamic_unused_var branch May 10, 2020 05:14
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.

2 participants