Skip to content

Added timer/idle thread conf #510

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

Merged
merged 1 commit into from
May 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/contributing/target/rtos.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Mbed OS changes to RTX configuration all exist in a single file: `mbed-os/rtos/T
Option | Value | Description |
-------|-------|-------------|
`OS_STACK_SIZE` | 4K | OS Stack size is set as `MBED_CONF_APP_THREAD_STACK_SIZE` which is 4096 as default. |
`OS_TIMER_THREAD_STACK_SIZE` | 768B | Timer thread stack set to 768B that's necessary to support the C++ wrappers (4 instances), but it may require changing to support larger number of active timers. |
`OS_IDLE_THREAD_STACK_SIZE` | 512B | Required to handle Mbed OS wrappers |
`OS_TIMER_THREAD_STACK_SIZE` | 768B | Timer thread stack is set as `MBED_CONF_APP_TIMER_THREAD_STACK_SIZE=768B` that's necessary to support the C++ wrappers (4 instances), but it may require changing to support larger number of active timers. |
`OS_IDLE_THREAD_STACK_SIZE` | Idle thread stack size is set as `MBED_CONF_APP_IDLE_THREAD_STACK_SIZE=512B` | Required to handle Mbed OS wrappers |
`OS_DYNAMIC_MEM_SIZE` | 0 | RTX dynamic memory is disabled. |
`OS_TICK_FREQ` | 1000 | Mbed OS Tickrate requires 1ms system tick. |
`OS_STACK_WATERMARK` | 0 or 1 | Watermarking is enabled if `MBED_STACK_STATS_ENABLED` or `MBED_STACK_STATS_ENABLED` are set. |
Expand Down