Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
ab715c70
Commit
ab715c70
authored
6 years ago
by
Bob-the-Kuhn
Committed by
Scott Lahteine
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
TMC SPI sanity-check and pins debugging (#10324)
parent
4dc7e647
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/src/HAL/HAL_LPC1768/SanityCheck.h
+9
-4
9 additions, 4 deletions
Marlin/src/HAL/HAL_LPC1768/SanityCheck.h
Marlin/src/pins/pinsDebug_list.h
+9
-0
9 additions, 0 deletions
Marlin/src/pins/pinsDebug_list.h
with
18 additions
and
4 deletions
Marlin/src/HAL/HAL_LPC1768/SanityCheck.h
+
9
−
4
View file @
ab715c70
...
...
@@ -24,10 +24,6 @@
* Test Re-ARM specific configuration values for errors at compile-time.
*/
/**
* Require gcc 4.7 or newer (first included with Arduino 1.6.8) for C++11 features.
*/
#if ENABLED(SPINDLE_LASER_ENABLE)
#if !PIN_EXISTS(SPINDLE_LASER_ENABLE)
#error "SPINDLE_LASER_ENABLE requires SPINDLE_LASER_ENABLE_PIN."
...
...
@@ -69,3 +65,12 @@
#endif
#endif
#endif // SPINDLE_LASER_ENABLE
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && ENABLED(HAVE_TMC2130) && DISABLED(TMC_USE_SW_SPI) \
&& (MB(RAMPS_14_RE_ARM_EFB) \
|| MB(RAMPS_14_RE_ARM_EEB) \
|| MB(RAMPS_14_RE_ARM_EFF) \
|| MB(RAMPS_14_RE_ARM_EEF) \
|| MB(RAMPS_14_RE_ARM_SF))
#error "Re-ARM with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER and TMC2130 require TMC_USE_SW_SPI"
#endif
This diff is collapsed.
Click to expand it.
Marlin/src/pins/pinsDebug_list.h
+
9
−
0
View file @
ab715c70
...
...
@@ -226,6 +226,15 @@
#if defined(DOGLCD_SCK) && DOGLCD_SCK >= 0
REPORT_NAME_DIGITAL
(
__LINE__
,
DOGLCD_SCK
)
#endif
#if defined(TMC_SW_MISO) && TMC_SW_MISO >= 0
REPORT_NAME_DIGITAL
(
__LINE__
,
TMC_SW_MISO
)
#endif
#if defined(TMC_SW_MOSI) && TMC_SW_MOSI >= 0
REPORT_NAME_DIGITAL
(
__LINE__
,
TMC_SW_MOSI
)
#endif
#if defined(TMC_SW_SCK) && TMC_SW_SCK >= 0
REPORT_NAME_DIGITAL
(
__LINE__
,
TMC_SW_SCK
)
#endif
#if PIN_EXISTS(E_MUX0)
REPORT_NAME_DIGITAL
(
__LINE__
,
E_MUX0_PIN
)
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment