X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=blobdiff_plain;f=boards%2Fstm32-p103%2Ftemplates%2Fstm32-p103_kernel%2Fcfg%2Fcfg_pwm.h;h=68d62837c8ee73db35a3bf91e60acc068f465558;hp=595189e64433402dfc0c33c2879385dee3f45351;hb=0c2a292f95d10af7c39b2b3df0c1ce0c16a791ed;hpb=419ecb32a02d0116d04e483e0b088be82ec69f73 diff --git a/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_pwm.h b/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_pwm.h index 595189e6..68d62837 100644 --- a/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_pwm.h +++ b/boards/stm32-p103/templates/stm32-p103_kernel/cfg/cfg_pwm.h @@ -53,4 +53,12 @@ */ #define PWM_LOG_FORMAT LOG_FMT_VERBOSE +/** + * Enable the OLD pwm API. + * Not recommended for new projects. + * + * $WIZ$ type = "boolean" + */ +#define CFG_PWM_ENABLE_OLD_API 1 + #endif /* CFG_PWM_H */