Skip to content

Commit 7a7fecd

Browse files
author
Amanda Butler
authored
Remove transclusions in sleep.md
Remove transclusions from nonexistent pages to fix build.
1 parent 5284cd5 commit 7a7fecd

File tree

1 file changed

+1
-11
lines changed
  • docs/reference/contributing/target

1 file changed

+1
-11
lines changed

docs/reference/contributing/target/sleep.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
Implement the Sleep HAL API to enable your device to go into a low power state when you are not actively using it.
44

5-
<span class="warnings">**Warning:** We are changing the Sleep HAL API in an upcoming release of Mbed OS. This page documents code that exists on a feature branch of Mbed OS. You can find details on how it may affect you in the [Implementing the Sleep API](#implementing-the-sleep-api) section.</span>
6-
75
### Assumptions
86

97
#### Defined behavior
@@ -26,14 +24,10 @@ The core system clock is disabled. You can only enable the low-frequency clocks
2624

2725
### Implementing the Sleep API
2826

29-
We are working on the new HAL Sleep API, which will replace the current version in an upcoming release of Mbed OS. You need to implement the Sleep API in both variants. First, you need to implement the current API. You can find it on the master branch:
27+
You can find the API and specification for the sleep API in the following header file:
3028

3129
[![View code](https://www.mbed.com/embed/?type=library)](https://os.mbed.com/docs/v5.8/mbed-os-api-doxy/sleep__api_8h_source.html)
3230

33-
To make sure your platform is ready for the upcoming changes, you need to implement the future API and submit it in a separate pull request against the `feature-hal-spec-sleep` branch. You can find the API and specification for the new Sleep API in the following header file:
34-
35-
[![View code](https://www.mbed.com/embed/?type=library)](https://os.mbed.com/docs/v5.8/feature-hal-spec-sleep-doxy/group__hal__sleep.html)
36-
3731
To enable sleep support in Mbed OS, you need to add the `SLEEP` label in the `device_has` option of the target's section in the `targets.json` file.
3832

3933
### Testing
@@ -43,7 +37,3 @@ The Mbed OS HAL provides a set of conformance tests for Sleep. You can use these
4337
```
4438
mbed test -t <toolchain> -m <target> -n "tests-mbed_hal-sleep*"
4539
```
46-
47-
You can read more about the test cases:
48-
49-
[![View code](https://www.mbed.com/embed/?type=library)](https://os.mbed.com/docs/v5.8/feature-hal-spec-sleep-doxy/group__hal__sleep__tests.html)

0 commit comments

Comments
 (0)