-
Notifications
You must be signed in to change notification settings - Fork 11
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
Start of Kobj support: Semaphores and Threads #12
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
fa00bea
zephyr::kconfig: Document module
d3zd3z 823b48a
zephyr: Add some missing doc comments
d3zd3z 45192f3
zephyr: Enforce documentation
d3zd3z ed875c2
zephyr: Add Error and Result types
d3zd3z e1196a0
zephyr: Make symbols from portable-atomic available
d3zd3z 594bbc4
zephyr: Introduce static kobject support
d3zd3z 3e362a7
zephyr: include portable atomic
d3zd3z 67e456b
zephyr: Add sys::Sempahore
d3zd3z d8fbb57
zephyr: `take` in static kernel object takes args
d3zd3z aed43fd
zephyr: Provide critical-section for Zephyr
d3zd3z 6598cd1
zephyr: Add alignment helper
d3zd3z a9ea9a1
zephyr: Add allocator support
d3zd3z 59907d7
zephyr-sys: Export stack alignment constants
d3zd3z 6b3e831
zephyr: Add sys::thread support
d3zd3z e71bd6a
samples: philosophers: Dining philosophers example
d3zd3z 096d34b
Upgrade crate versions to match Zephyr
d3zd3z 32b8fbf
zephyr: Add `k_uptime_get`
d3zd3z 907c044
zephyr: Implement Debug for Semaphore
d3zd3z 3d2477d
zephyr: StaticSemaphire needs to implement Sync
d3zd3z 3fd043a
zephyr: Semaphore methods should not be `mut`
d3zd3z c88307f
zephyr: hide docs of RealStaticThreadStack
d3zd3z 1b92ea5
zephyr: Expose some fields publicly
d3zd3z 1971feb
zephyr: StaticThread must be Sync
d3zd3z 97b217f
samples: hello_world: Fix dependency version
d3zd3z 2ccb628
zephyr: Fix some warnings by being conditional
d3zd3z e8eebb2
samples: philosophers: Fix yaml
d3zd3z a34507f
tests: time: Fix dependency
d3zd3z 91d6f33
zephyr-sys: Allow broken doc links in bindgen
d3zd3z 177a932
zephyr: object: Improve docs about safety
d3zd3z 1cd9299
zephyr: printk: Fix doc error
d3zd3z 266a7a7
zephyr: sys: sync: Fix some doc links
d3zd3z fdd97ae
zephyr: printk: Remove dependency on alloc
d3zd3z d01153a
zephyr: Create export type alias
d3zd3z 7375e44
zephyr: Use constructor for static thread stack
d3zd3z 8bbade3
zephyr: object: Add kboj_define support for arrays of stacks
d3zd3z 98a15fe
samples: philosophers: Convert to array of stacks
d3zd3z 861cb83
zephyr: docgen
d3zd3z 057e169
zephyr: Fix some broken doc comments
d3zd3z d11c5d2
module: Make sure all tests are run
d3zd3z File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reads like it snuck into an unrelated commit? It does not seem to have anything to do with documentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It didn't sneak, it is very intentional. I needed to move the
pub mod kconfig {
up intolib.rs
so that I could add both doc comments and directives to not fail on missing docs on the entries. To do that, I had to remove that from the generated code, and I unindented it as well.