-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from dinkelk/packed_record_enhancements
Packed Record and Packed Array Enhancements
- Loading branch information
Showing
52 changed files
with
2,054 additions
and
1,009 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import os | ||
|
||
this_dir = os.path.dirname(os.path.realpath(__file__)) | ||
# Overwrite the normal build path mechanism and just use | ||
# this directory as the build path. This prevents any | ||
# name conflicts we might get from using the regular | ||
# ".all_path". | ||
os.environ["EXTRA_BUILD_PATH"] = this_dir + os.sep + ".." |
16 changes: 16 additions & 0 deletions
16
doc/example_architecture/nested_record/nested_record.record.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
description: This is an example packed record that demonstrates the nesting of other packed records within. | ||
fields: | ||
- name: Simple_Field | ||
description: A simple float, we must provide a format | ||
type: Short_Float | ||
# Required | ||
format: F32 | ||
- name: Nested_Field_1 | ||
description: This field is of type Example Record, which is itself a packed record definition. | ||
type: Example_Record.T | ||
# ^ No format specification is necessary, since the | ||
# bit representation of a packed record is known | ||
- name: Nested_Field_2 | ||
description: Another field of type Example Record. | ||
type: Example_Record.T |
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
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.