Increase the system timer rate:
-CONFIG_USEC_PER_TICK=10000 +CONFIG_USEC_PER_TICK=1000 A system timer with a 10 MS period is not sufficient to run the dual thread sporadic scheduler test since the timings in that test are also around 10 MS. Apparently there is a race condition when both sporadic thread's budgets complete on the same clock time. This change does not eliminate the race, but reduces its effect greatly.
This commit is contained in:
parent
2208aabbc6
commit
2775cadcd2
@ -49,4 +49,5 @@ CONFIG_TESTING_OSTEST=y
|
|||||||
CONFIG_USART6_RXBUFSIZE=128
|
CONFIG_USART6_RXBUFSIZE=128
|
||||||
CONFIG_USART6_SERIAL_CONSOLE=y
|
CONFIG_USART6_SERIAL_CONSOLE=y
|
||||||
CONFIG_USART6_TXBUFSIZE=128
|
CONFIG_USART6_TXBUFSIZE=128
|
||||||
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_USER_ENTRYPOINT="nsh_main"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user