Skip to content

Commit

Permalink
add MARLIN_SMALL_BUILD POSTMORTEM_DEBUGGING
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 authored Nov 2, 2024
1 parent 23f36a6 commit d596a16
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _configuration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4476,3 +4476,15 @@ Display pin status, toggle pins, watch pins, watch endstops & toggle LED, test s
//#define MARLIN_DEV_MODE
```
Enable Marlin dev mode which adds some special commands.

#### Enable Postmortem Debugging
```cpp
//#define POSTMORTEM_DEBUGGING
```
Captures misbehavior and outputs the CPU status and backtrace to serial. When running in the debugger it will break for debugging. This is useful to help understand a crash from a remote location.

#### Enable Marlin Small Build
```cpp
//#define MARLIN_SMALL_BUILD
```
Shrink the build for smaller boards by sacrificing some serial feedback.

0 comments on commit d596a16

Please sign in to comment.