mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 09:45:55 +08:00
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:
@@ -49,4 +49,5 @@ CONFIG_TESTING_OSTEST=y
|
||||
CONFIG_USART6_RXBUFSIZE=128
|
||||
CONFIG_USART6_SERIAL_CONSOLE=y
|
||||
CONFIG_USART6_TXBUFSIZE=128
|
||||
CONFIG_USEC_PER_TICK=1000
|
||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
||||
|
||||
Reference in New Issue
Block a user