Skip to content

Commit 61809c8

Browse files
author
Deepika
committed
Update config table as per master mbed_rtx_conf.h file
1 parent d853226 commit 61809c8

File tree

1 file changed

+3
-4
lines changed
  • docs/reference/contributing/target

1 file changed

+3
-4
lines changed

docs/reference/contributing/target/rtos.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@ Developers need to use the Mbed OS RTOS C++ API or supply backing memory for RTX
1010

1111
#### Configuration
1212

13-
Mbed OS changes to RTX configuration all exist in a single file: `mbed-os/rtos/rtx2/mbed_rtx_conf.h`
13+
Mbed OS changes to RTX configuration all exist in a single file: `mbed-os/rtos/TARGET_CORTEX/mbed_rtx_conf.h`
1414

1515
Option | Value | Description |
1616
-------|-------|-------------|
17-
`OS_STACK_SIZE` | 4K or 2K | For a normal target, the thread stack size is set to 4K; for constrained targets, it's 2K. |
17+
`OS_STACK_SIZE` | 4K | OS Stack size is set as `MBED_CONF_APP_THREAD_STACK_SIZE` which is 4096 as default. |
1818
`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. |
1919
`OS_IDLE_THREAD_STACK_SIZE` | 512B | Required to handle Mbed OS wrappers |
2020
`OS_DYNAMIC_MEM_SIZE` | 0 | RTX dynamic memory is disabled. |
21-
`OS_MUTEX_OBJ_MEM` | 1 or 0 | For ARMC, use 1; for other toolchains, it's 0. ARMC uses statically allocated mutexes internally. |
22-
`OS_MUTEX_NUM` | 6 or 0 | For ARMC, use 6; for other toolchains, it's 0. ARMC uses statically allocated mutexes internally. |
21+
`OS_TICK_FREQ` | 1000 | OS Tickrate must be 1000 for system timing. |
2322
`OS_STACK_WATERMARK` | 0 or 1 | Watermarking is enabled if `MBED_STACK_STATS_ENABLED` or `MBED_STACK_STATS_ENABLED` are set. |
2423
`OS_PRIVILEGE_MODE` | 0 or 1 | We set it for 0 if uVisor is enabled, 1 otherwise. |
2524

0 commit comments

Comments
 (0)