Skip to content

Commit bc81fe8

Browse files
author
Amanda Butler
authored
Merge pull request #1240 from maciejbocianski/update_rtos_examples
update rtos examples links
2 parents 0726336 + 6afd1d4 commit bc81fe8

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

docs/api/platform/Callback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The Callback class is what’s known in C++ as a “Concrete Type”. That is, t
3939

4040
The Callback API provides a convenient way to pass arguments to spawned threads. This example uses a C function pointer in the Callback.
4141

42-
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/rtos_threading_with_callback/)](https://os.mbed.com/teams/mbed_example/code/rtos_threading_with_callback/file/5938bdb7b0bb/main.cpp)
42+
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Threading_with_callback/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Threading_with_callback/main.cpp)
4343

4444
## Sonar example
4545

docs/api/rtos/Mail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Mail works like a queue, with the added benefit of providing a memory pool for a
1414

1515
This code uses `mail` to manage measurement.
1616

17-
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/rtos_mail/)](https://os.mbed.com/teams/mbed_example/code/rtos_mail/file/9a5d61ef4113/main.cpp)
17+
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Mail)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Mail/main.cpp)

docs/api/rtos/Mutex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If synchronization is required in ISR, consider using semaphores.
3131

3232
Use Mutex to protect printf().
3333

34-
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/rtos_mutex/)](https://os.mbed.com/teams/mbed_example/code/rtos_mutex/file/6a34e5f81bba/main.cpp)
34+
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Mutex/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Mutex/main.cpp)
3535

3636
<span class="notes">**Note:** C standard library Mutexes<br>The Arm C standard library already has Mutexes in place to protect the access to `stdio`, so on the LPC1768 the above example is not necessary. On the other hand, the LPC11U24 does not provide default `stdio` Mutexes, making the above example a necessity.</br></span>
3737

docs/api/rtos/Semaphore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ A semaphore manages thread access to a pool of shared resources of a certain typ
1414

1515
Use Semaphore to protect printf().
1616

17-
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/rtos_semaphore/)](https://os.mbed.com/teams/mbed_example/code/rtos_semaphore/file/755dee0042c3/main.cpp)
17+
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Semaphore/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Semaphore/main.cpp)

docs/api/rtos/Thread.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ typedef enum {
8181

8282
The code below uses two separate threads to blink two LEDs. The first thread is automatically created and executes the `main` function; the second thread is created explicitly inside `main`.
8383

84-
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/rtos_basic/)](https://os.mbed.com/teams/mbed_example/code/rtos_basic/file/012b1294c1c4/main.cpp)
84+
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Basic)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Basic/main.cpp)
8585

8686
## Thread example with callbacks
8787

8888
The Callback API provides a convenient way to pass arguments to spawned threads.
8989

90-
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/rtos_threading_with_callback/)](https://os.mbed.com/teams/mbed_example/code/rtos_threading_with_callback/file/5938bdb7b0bb/main.cpp)
90+
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Threading_with_callback/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Threading_with_callback/main.cpp)
9191

9292
## Debugging tips
9393

docs/api/rtos/rtos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ A `Thread` can be in the following states:
6262

6363
Each `Thread` can wait for signals and be notified of events:
6464

65-
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/rtos_signals/)](https://os.mbed.com/teams/mbed_example/code/rtos_signals/file/c99eb661c3e6/main.cpp)
65+
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Flags/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Flags/main.cpp)
6666

6767
### Status and error codes
6868

docs/program-setup/runtime/Execution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ All the ISR handlers execute in this mode. You can use the same RTOS API in ISR
2727

2828
This example uses a message from the queue to trigger an interrupt.
2929

30-
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/rtos_isr/)](https://os.mbed.com/teams/mbed_example/code/rtos_isr/file/985db97e8ae0/main.cpp)
30+
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Isr/)](https://github.com/ARMmbed/mbed-os-examples-docs_only/blob/master/APIs_RTOS/Isr/main.cpp)

0 commit comments

Comments
 (0)