mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
Merged in raiden00/nuttx_pe (pull request #779)
Master configs/nucleo-f334r8: add example for the SPWM generation (custom STM32 PWM usage) arch/arm/src/stm32/stm32_pwm: fix compilation errors if the upper-half PWM logic is not enabled include/nuttx/drivers/pwm.h: remove dependency on CONFIG_PWM for the upper-half PWM header. This allows compilation for the lower-level PWM drivers even if the upper-half PWM logic is not used. arch/arm/src/stm32/stm32_tim.c: fix compilation error if there is no TIM8 configs/nucleo-f334r8/highpri: remove the upper-half ADC from configuration configs/nucleo-f302r8/highpri: remove the upper-half ADC from configuration configs/stm32f429i-disco/highpri: remove the upper-half ADC from configuration Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
committed by
GregoryN
parent
29b9b3b68b
commit
b3b53a6dd4
@@ -61,8 +61,6 @@
|
||||
|
||||
#include <nuttx/fs/ioctl.h>
|
||||
|
||||
#ifdef CONFIG_PWM
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -326,5 +324,4 @@ void pwm_expired(FAR void *handle);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_PWM */
|
||||
#endif /* __INCLUDE_NUTTX_DRIVERS_PWM_H */
|
||||
|
||||
Reference in New Issue
Block a user