We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9ec5f8 commit fc77abcCopy full SHA for fc77abc
drivers/pwm/pwm_nrfx.c
@@ -48,6 +48,11 @@ LOG_MODULE_REGISTER(pwm_nrfx, CONFIG_PWM_LOG_LEVEL);
48
49
#if NRFX_FOREACH_PRESENT(PWM, PWM_NRFX_IS_FAST, (||), (0))
50
#define PWM_NRFX_FAST_PRESENT 1
51
+/* If fast instances are used then system managed device PM cannot be used because
52
+ * it may call PM actions from locked context and fast PWM PM actions can only be
53
+ * called in a thread context.
54
+ */
55
+BUILD_ASSERT(!IS_ENABLED(CONFIG_PM_DEVICE_SYSTEM_MANAGED));
56
#endif
57
58
#if defined(PWM_NRFX_FAST_PRESENT) && CONFIG_CLOCK_CONTROL_NRF2_GLOBAL_HSFLL
0 commit comments