-
Notifications
You must be signed in to change notification settings - Fork 14
Feat splitter refactor #329
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
Changes from 8 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f06d910
initial changes
Joseph-Jacobson 1667d14
Splitting Logic with debugging pipeline
Joseph-Jacobson a6f4444
Bumped Library Version
Joseph-Jacobson b404014
new error message for sd card
Joseph-Jacobson 87cc88a
Moved splitter test into featherwing
Joseph-Jacobson 7851676
Renamed Folder
Joseph-Jacobson 076a412
Review edits
Joseph-Jacobson 189d1de
minor changes
Joseph-Jacobson d7dc259
PR changes
Joseph-Jacobson 7262ae3
Removed unnecessary instructions
Joseph-Jacobson d2748ec
ToDo added
Joseph-Jacobson 03246b5
Renaming
Joseph-Jacobson ef762a0
Updated comment
Joseph-Jacobson 0404b1f
Minor readme changes
Joseph-Jacobson e6fda40
PR edits
Joseph-Jacobson aa6862e
pulled latest master into SplitterRefactor
nitin710 cdcffe2
updating workflow to delete all libraries after workflow completes
nitin710 b6d035e
fix:url file naming and dependency in library.properties
nitin710 199e413
fix: check for tag with and without prefix "v"
nitin710 431ac53
fix: does not delete the FeatherWing checkout to allow for post run s…
nitin710 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
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,5 +1,5 @@ | ||
| name=EmotiBit FeatherWing | ||
| version=1.14.0 | ||
| version=1.14.1 | ||
| author=Connected Future Labs | ||
| maintainer=Connected Future Labs <[email protected]> | ||
| sentence=A library written for EmotiBit FeatherWing that supports all sensors included on the wing. | ||
|
|
||
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,19 @@ | ||
| # Description | ||
| - This tests verifies that the Packet Fixed Length Test data in the EmotiBit SD card does not contain any Debug Overloads under conditions where the test runs up to 512 iterations. | ||
|
Joseph-Jacobson marked this conversation as resolved.
Outdated
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From this description, I'm not sure I can understand what this test is doing. Perhaps improving the clarity would be helpful.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Edited for clarity |
||
| - The data is verified with the bash script, checking the SD card output | ||
| - Instructions to run this test can be found in the EmotiBit Test Protocols Document under Max Length Data Test | ||
|
Joseph-Jacobson marked this conversation as resolved.
Outdated
|
||
|
|
||
|
Joseph-Jacobson marked this conversation as resolved.
|
||
| The following table shows commands for choosing the test type. A typical workflow will consist of: | ||
| 1. Going into debug mode | ||
| 2. Setting sendTestData to true | ||
| 3. Choosing the Splitter test '@' | ||
| 4. Pressing record in the oscilliscope and waiting for the test to finish | ||
| 5. Comparing the SD card result with the bash script, specifying the extension | ||
|
|
||
|
Joseph-Jacobson marked this conversation as resolved.
|
||
| | Command | Details | | ||
| |--------|--------| | ||
| | Z | Turns on "splitter" indicator, which is a "S" that is printed after each split| | ||
| | z | Turns off "splitter" indicator| | ||
| | < | Sets "sendTestData" to true| | ||
| | > | Sets "sendTestData" to false| | ||
| | @ | Sets test data to Splitter| | ||
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,31 @@ | ||
| #!/bin/bash | ||
| set -u | ||
|
|
||
| EMOTIBIT_CSV="" | ||
|
|
||
| # Parse required -e or --extension argument | ||
|
Joseph-Jacobson marked this conversation as resolved.
Outdated
|
||
| while [[ $# -gt 0 ]]; do | ||
| case "$1" in | ||
| -e|--extension) | ||
| EMOTIBIT_CSV="$2" | ||
| shift 2 | ||
| ;; | ||
| *) | ||
| echo "Usage: $0 -e|--extension <emotibit_csv_path>" | ||
| exit 1 | ||
| ;; | ||
| esac | ||
| done | ||
|
|
||
| if [[ -z "$EMOTIBIT_CSV" ]]; then | ||
| echo "Error: You must specify -e or --extension <emotibit_csv_path>" | ||
| exit 1 | ||
| fi | ||
|
|
||
| if grep -q ',DO,' "$EMOTIBIT_CSV"; then | ||
| echo "DO found in $EMOTIBIT_CSV" | ||
| exit 1 | ||
| else | ||
| echo "No DO found in $EMOTIBIT_CSV" | ||
| exit 0 | ||
| fi | ||
|
Joseph-Jacobson marked this conversation as resolved.
|
||
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 means that in debug mode, every Serial input will trigger an "info print" and then perform a Debug operation if a key listed in debug mode is entered.
Unless,
Fis entered, in which case, it will enter FTP mode.Is that correct?
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.
Yes