Missing PWM boardctl logic breaks PWM test.
This commit is contained in:
parent
96aa06bad9
commit
4b5e1389b1
@ -1596,6 +1596,10 @@ config BOARDCTL_ADCTEST
|
|||||||
bool "Enable ADC test interfaces"
|
bool "Enable ADC test interfaces"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config BOARDCTL_PWMTEST
|
||||||
|
bool "Enable PWM test interfaces"
|
||||||
|
default n
|
||||||
|
|
||||||
config BOARDCTL_GRAPHICS
|
config BOARDCTL_GRAPHICS
|
||||||
bool "Enable custom graphics initialization interfaces"
|
bool "Enable custom graphics initialization interfaces"
|
||||||
default n
|
default n
|
||||||
|
@ -141,6 +141,21 @@ int boardctl(unsigned int cmd, uintptr_t arg)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_BOARDCTL_PWMTEST
|
||||||
|
/* CMD: BOARDIOC_PWMTEST_SETUP
|
||||||
|
* DESCRIPTION: PWM controller test configuration
|
||||||
|
* ARG: None
|
||||||
|
* CONFIGURATION: CONFIG_LIB_BOARDCTL && CONFIG_BOARDCTL_PWMTEST
|
||||||
|
* DEPENDENCIES: Board logic must provide board_pwm_setup()
|
||||||
|
*/
|
||||||
|
|
||||||
|
case BOARDIOC_PWMTEST_SETUP:
|
||||||
|
{
|
||||||
|
ret = board_pwm_setup();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_BOARDCTL_GRAPHICS
|
#ifdef CONFIG_BOARDCTL_GRAPHICS
|
||||||
/* CMD: BOARDIOC_GRAPHICS_SETUP
|
/* CMD: BOARDIOC_GRAPHICS_SETUP
|
||||||
* DESCRIPTION: Configure graphics that require special initialization
|
* DESCRIPTION: Configure graphics that require special initialization
|
||||||
|
Loading…
Reference in New Issue
Block a user