-
Notifications
You must be signed in to change notification settings - Fork 33
Feature/iir tweaks #178
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
Feature/iir tweaks #178
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b0e0b51
processing: use faster unsafe truncate
jordens d9e4f6a
iir: copy_within is better than rotate_right
jordens 4c9c65b
cargo-config: cm7 features
jordens cf086ab
Merge remote-tracking branch 'origin/master' into fast-truncate
jordens 38dfd48
iir: fix comment [nfc]
jordens cc64f47
iir: fmt [nfc]
jordens 4689296
iir: vminnm/vmaxnm
jordens ea3e343
cargo fmt [nfc]
jordens 74349e5
iir: more generic math helpers, use core::intrinsics
jordens feb229d
cargo: add docs for target cpu/features
jordens 8769194
Merge remote-tracking branch 'origin/master' into feature/iir-tweaks
jordens 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 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 |
|---|---|---|
| @@ -1,6 +1,16 @@ | ||
| [target.'cfg(all(target_arch = "arm", target_os = "none"))'] | ||
| runner = "gdb-multiarch -q -x openocd.gdb" | ||
| rustflags = ["-C", "link-arg=-Tlink.x"] | ||
| rustflags = [ | ||
| "-C", "link-arg=-Tlink.x", | ||
| # The target (below) defaults to cortex-m4 | ||
| # There currently are two different options to go beyond that: | ||
| # 1. cortex-m7 has the right flags and instructions (FPU) but no instruction schedule yet | ||
| "-C", "target-cpu=cortex-m7", | ||
| # 2. cortex-m4 with the additional fpv5 instructions and a potentially | ||
| # better-than-nothing instruction schedule | ||
| "-C", "target-feature=+fp-armv8d16", | ||
| # When combined they are equivalent to (1) alone | ||
| ] | ||
|
|
||
| [build] | ||
| target = "thumbv7em-none-eabihf" | ||
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
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
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
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| #![no_std] | ||
| #![cfg_attr(feature = "nightly", feature(asm, core_intrinsics))] | ||
|
|
||
| pub mod iir; |
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
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.