Skip to content

Use template for sleep PG #390

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 6 commits into from
Feb 28, 2018
Merged

Conversation

bulislaw
Copy link
Member

Update the Sleep PG to match the HAL template.

@AnotherButler we still need to correct the links to point out to doxy for feature branches when available.

Copy edit document for active voice, consistent tense and inclusion of articles.
Copy link
Contributor

@AnotherButler AnotherButler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm waiting to merge this until a decision is reached about feature branch documentation code and location.

Copy edit for active voice and complete sentences.
Copy link
Contributor

@AnotherButler AnotherButler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bulislaw Could you please help me find the correct links in the feature branch Doxygen?

https://os.mbed.com/docs/v5.7/feature-hal-spec-sleep-doxy/annotated.html

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.
You can read more about the test cases:

[![View code](https://www.mbed.com/embed/?type=library)](https://github.com/ARMmbed/mbed-os/blob/feature-hal-spec-sleep/TESTS/mbed_hal/sleep/sleep_api_tests.h)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find this in the feature branch Doxygen.

```
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 `feature-hal-spec-sleep` branch. You can find the API and specification for the new Sleep API in the following header file:

[![View code](https://www.mbed.com/embed/?type=library)](https://github.com/ARMmbed/mbed-os/blob/feature-hal-spec-sleep/hal/sleep_api.h)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find this in the feature branch Doxygen.

bulislaw and others added 3 commits February 19, 2018 12:49
Delete section title from empty section.
Fix confusing sentence by adding missing word.
@AnotherButler AnotherButler merged commit eae736e into ARMmbed:new_engine Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants