aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/halconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/halconf.h')
-rw-r--r--os/hal/templates/halconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/templates/halconf.h b/os/hal/templates/halconf.h
index 35948950b..f173a3fa3 100644
--- a/os/hal/templates/halconf.h
+++ b/os/hal/templates/halconf.h
@@ -56,6 +56,13 @@
#endif
/**
+ * @brief Enables the PWM subsystem.
+ */
+#if !defined(CH_HAL_USE_PWM) || defined(__DOXYGEN__)
+#define CH_HAL_USE_PWM TRUE
+#endif
+
+/**
* @brief Enables the SERIAL subsystem.
*/
#if !defined(CH_HAL_USE_SERIAL) || defined(__DOXYGEN__)