-
Notifications
You must be signed in to change notification settings - Fork 450
MCPWM Driver Implementation #5344
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
Open
Alex3404
wants to merge
37
commits into
esp-rs:main
Choose a base branch
from
Alex3404:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 16 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
5b402d2
Added capture channel and capture timer
Alex3404 01f878e
Update mod.rs
Alex3404 74bfcad
Capture update
Alex3404 ce58b75
Updated timer sync configurations
Alex3404 e580a8a
Finished sync implementation
Alex3404 cf94429
Fixed uncompilable code
Alex3404 7387a28
Update Cargo.toml
Alex3404 47058eb
Update sync.rs
Alex3404 848a5e8
Interrupt Handler
Alex3404 0c92475
Updated documentation added some new feactures
Alex3404 ddd7bb2
More changes
Alex3404 dd42b2b
Updateded esp-metadata for mcpwm capabilities.
Alex3404 e1954c2
Changes
Alex3404 1c48e3a
Allowing timer to have a default config to allow starting without a s…
Alex3404 7536da6
Added some nice public api types
Alex3404 43a6172
Comments and updating capture API names
Alex3404 c2fa021
Delete build_all.ps1
Alex3404 a2aaa6b
Fixed formatting, typos, comment docs
Alex3404 7143a91
Merge branch 'main' of https://github.com/Alex3404/esp-hal-mcpwm-cap
Alex3404 3cc7072
Merge remote-tracking branch 'upstream/main'
Alex3404 cd95646
Update _build_script_utils.rs
Alex3404 be9a6e4
Fix typo in MCPWM capabilities comment
Alex3404 6cd9d00
Update temp_sensor support status in esp32c5.toml
Alex3404 b2a39d0
Fix typo in MCPWM capabilities comment
Alex3404 d6d474b
Update order of device.temp_sensor
Alex3404 acf6119
Fixed typos, updated docs, fixed BlockGuard.
Alex3404 3d30753
Remove unexpected_cfgs lint configuration
Alex3404 b8abff4
Add warning for unexpected_cfgs lint in Cargo.toml
Alex3404 2b9cfd9
Update MCPWM Timer method descriptions
Alex3404 51ffc32
Updated doc for timer
Alex3404 c8f3da7
Removed PWM::State
Alex3404 2a5c92d
Update cargo.toml, and docs
Alex3404 6a53807
Added device.mcpwm configurations to esp-metadata
Alex3404 df1c237
Whoops forgot to remove for esp32s3 chip
Alex3404 99c9974
Fixed typos and referencing wrong peripheral
Alex3404 a852e89
Additional Checks for Illegal HW States
Alex3404 5a52902
Cleaned up capture
Alex3404 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| $builds = @( | ||
| @{ Chip = "esp32"; Target = "xtensa-esp32-none-elf" }, | ||
| @{ Chip = "esp32s2"; Target = "xtensa-esp32s2-none-elf" }, | ||
| @{ Chip = "esp32s3"; Target = "xtensa-esp32s3-none-elf" }, | ||
| @{ Chip = "esp32c2"; Target = "riscv32imc-unknown-none-elf" }, | ||
| @{ Chip = "esp32c3"; Target = "riscv32imc-unknown-none-elf" }, | ||
| @{ Chip = "esp32c5"; Target = "riscv32imac-unknown-none-elf" }, | ||
| @{ Chip = "esp32c6"; Target = "riscv32imac-unknown-none-elf" }, | ||
| @{ Chip = "esp32h2"; Target = "riscv32imac-unknown-none-elf" } | ||
| ) | ||
|
|
||
| foreach ($b in $builds) { | ||
| cargo +esp build ` | ||
| --manifest-path esp-hal/Cargo.toml ` | ||
| --features "$($b.Chip),unstable" ` | ||
| --target $b.Target ` | ||
| -Zbuild-std | ||
|
|
||
| if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } | ||
| } | ||
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.