Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Reset Cause debugging and disabling BOD
Uncommit define statements at the beginning of code to toggle printing the reset cause (DEBUG) or to disable Brown-out Detection for 1.2 volts or Brown-out Detection for 3.3 volts. Most glitches that result in reboot will trigger the BOD12. Disabling that detection will allow the microcontroller to continue running; however, this may have unforeseen results (i.e. be prepared to de-brick your device).
- Loading branch information