Closed jeromecoutant closed 7 years ago
@jeromecoutant any idea why 30s is not long enough on that target? The businout test should take almost no time at all.
Hi Check the code, there are many wait 1s...
ex:
volatile int x = 0x00;
while(x < 0xF){
x = (x<<1) +1;
...
wait(1);
...
wait(1);
...
}
x = 0x00;
while(x < 0xF){
x = (x<<1) +1;
...
wait(1);
...
wait(1);
...
}
Replacing these wait(1) by wait_ms(100) is also OK for me
Should I update PR with wait_ms(100) ?
@jeromecoutant what boards have you tested this change on?
@mray19027 we should probably run this through the test farm to see if changing form 1s to .1s causes any other boards to fail.
@BlackstoneEngineering We currently do not support running ci-test-shield tests on the CI. But that has been planned for a while and will work with @studavekar to see if we can get that integrated ASAP
Test with NUCLEO_L476RG-GCC_ARM : 30s is not long enough, it seems that 40s is OK