Skip to content

Commit

Permalink
HW PWM sanity checks for SPINDLE_LASER_FREQUENCY (MarlinFirmware#18947)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and dchauran committed Oct 8, 2020
1 parent 596c794 commit bdc8ea5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/HAL/STM32F1/inc/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
* Test STM32F1-specific configuration values for errors at compile-time.
*/

#if ENABLED(EMERGENCY_PARSER)
#error "EMERGENCY_PARSER is not yet implemented for STM32F1. Disable EMERGENCY_PARSER to continue."
#endif

#if ENABLED(FAST_PWM_FAN) || SPINDLE_LASER_FREQUENCY
#error "Features requiring Hardware PWM (FAST_PWM_FAN, SPINDLE_LASER_FREQUENCY) are not yet supported on STM32F1."
#endif
Expand Down

0 comments on commit bdc8ea5

Please sign in to comment.