-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWM test : Make PWM pin configurable #44
base: master
Are you sure you want to change the base?
Conversation
What is the point of this? The current configuration settings are in the config file |
I agree, configuration should be set in the json file. But it is not the case... With the correction, test is checking the PWM_0 value to determine which digital pin is conencted |
@jeromecoutant I dont follow This is the config:
Thus PWM_0 is D3. What else is needed that this PR fixes? This is one of the cases there:
DIO0 to DIO 1 ? |
Test needs 2 pins: 1 PWM out and 1 Interrupt In. What happened if user is setting PWM_0=D0 in the json file? Thx |
@mray19027 your latest PR - is not resolving similar problem or can you review this one at least? |
PR #47 fixes this issue The PWM test dynamically finds the paired pin connected to the PWM pin and sets the interrupt to that paired pin. |
Rebase done as PWM tests have been split, but without this PR Each test case selects only the pwm_out_pin, |
Is there any issue with that ? |
Hi all |
@c1728p9 - care to comment here? |
CI test shield is quite important in ST automatic test setup. |
Hi @jeromecoutant the CI test shield isn't abandoned as far as I'm aware. There is a more advanced test shield coming, but this test shield should still be supported. @donatieng does this sound right and if so who will be supporting this? |
@jeromecoutant Shall this be recreated (rebased) or closed? It was left in air unfortunately. |
I am using this PR for each non regression tests :-) |
Each test case selects only the pwm_out_pin, int_in_pin is no more hardcoded but defined according the selected pwm_out_pin.
The new function is deducting the PinIn depending on the PinOut value.
For ex, PWM_0 is no more hardcoded connected to D2.