Commit Graph

1471 Commits

Author SHA1 Message Date
Ryan Summers 55c211631b Updating run script 2021-08-05 15:23:47 +02:00
Ryan Summers 0dfdc5808a Cleaning up files 2021-08-05 15:08:34 +02:00
Ryan Summers 1d082c28c3 Reorganizing miniconf, adding loopback test 2021-08-05 15:05:55 +02:00
bors[bot] f7c77bd860
Merge #421 #423
421: build(deps): bump serde from 1.0.126 to 1.0.127 r=jordens a=dependabot[bot]

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.127.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.127</h2>
<ul>
<li>Resolve warning in rustc nightly-2021-07-31+ compiling serde_test</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e2f85681fe"><code>e2f8568</code></a> Release 1.0.127</li>
<li><a href="8b840c3030"><code>8b840c3</code></a> Resolve semicolon_in_expressions_from_macros warning in serde_test</li>
<li><a href="9c39115f82"><code>9c39115</code></a> Ignore buggy nonstandard_macro_braces clippy lint</li>
<li><a href="89342af71e"><code>89342af</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2047">#2047</a> from jsoref/spelling</li>
<li><a href="3c5e2d11f6"><code>3c5e2d1</code></a> spelling: implicitly</li>
<li><a href="3805c037a8"><code>3805c03</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2040">#2040</a> from dtolnay/test</li>
<li><a href="7045fee260"><code>7045fee</code></a> Fix outdated test instructions in CONTRIBUTING.md</li>
<li><a href="9d81532e41"><code>9d81532</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2039">#2039</a> from dtolnay/test</li>
<li><a href="5e47432ef0"><code>5e47432</code></a> Update documented test command for the serde directory</li>
<li><a href="7b840897a9"><code>7b84089</code></a> Resolve needless_borrow clippy lints</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.127">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.126&new-version=1.0.127)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

423: build(deps): bump num_enum from 0.5.2 to 0.5.3 r=jordens a=dependabot[bot]

Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.2 to 0.5.3.
<details>
<summary>Commits</summary>
<ul>
<li><a href="a5c5868bb7"><code>a5c5868</code></a> Bump to 0.5.3 (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/55">#55</a>)</li>
<li><a href="8cf11d9b86"><code>8cf11d9</code></a> Remove obsolete overrides</li>
<li><a href="9b005f7140"><code>9b005f7</code></a> Remove soon-to-be-disallowed trailing semicolons</li>
<li><a href="603ffbd164"><code>603ffbd</code></a> Fix test expectations after 1.54 release (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/52">#52</a>)</li>
<li>See full diff in <a href="https://github.com/illicitonion/num_enum/compare/0.5.2...0.5.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=num_enum&package-manager=cargo&previous-version=0.5.2&new-version=0.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-04 10:58:09 +00:00
bors[bot] d5a7796876
Merge #420
420: Miscellaneous r=jordens a=jordens

* dds: name consistently
* dds: inline
* refactor the broker ip parsing to be panicing
* speed up qspi to 100 MHz (tested)
* tweak pounder qspi xfer assembly padding for speed
* fix some clippy lints
* try 32 byte max qspi xfer size instead of 16 but revert that until the memclr that's being pulled is can be avoided.

Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-08-04 10:52:37 +00:00
Robert Jördens 2a90697834 qspi: expand padding comments 2021-08-04 10:50:42 +00:00
dependabot[bot] 67d6f24c1a
build(deps): bump num_enum from 0.5.2 to 0.5.3
Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/illicitonion/num_enum/releases)
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.2...0.5.3)

---
updated-dependencies:
- dependency-name: num_enum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 04:01:33 +00:00
Robert Jördens b7c4858a1d revert to 16 byte dds profile
... as 32 pulls in a slow memclr in flash

A case for MaybeUninit?
2021-08-03 09:44:13 +00:00
Robert Jördens a05fb6b536 pounder/ad9959: clippy lints 2021-08-03 09:40:31 +00:00
Robert Jördens 8802b60fcf fmt 2021-08-03 08:47:37 +00:00
Robert Jördens 90583e2048 just panic on broker ip parse failure 2021-08-03 08:47:08 +00:00
Robert Jördens 7902b3cb7d broker parsing: just unwrap_or 2021-08-03 07:23:56 +00:00
Robert Jördens 8cc7d6b27e Merge remote-tracking branch 'origin/master'
* origin/master:
  Fixing broken link
  Fixing spelling
  Renaming variables, fixing pounder builds
  Renaming variables, moving broker parsing
  Adding logging if provided IP parsing fails
  Removing asserts
  Fixing build
  Updating Stabilizer to remove compile-time config parameters
2021-08-02 15:00:31 +00:00
Robert Jördens e7ba24a7eb pounder: qspi fifo is 32 deep 2021-08-02 15:00:27 +00:00
bors[bot] f1da472d84
Merge #422
422: Updating Stabilizer to remove compile-time config parameters r=ryan-summers a=ryan-summers

This PR removes `src/configuration.rs` in favor of application-level constants. It also updates the MQTT broker IP to be specified via the command-line during compilation, and will default to 10.34.16.10

This should pave the way to storing some of these parameters potentially in flash for loading on boot.

This fixes #417

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-08-02 14:50:20 +00:00
Ryan Summers 9b6e2f1a7d Fixing broken link 2021-08-02 16:37:18 +02:00
Ryan Summers 6e8320dc03 Fixing spelling 2021-08-02 16:31:53 +02:00
Ryan Summers 9d3513d4d1 Renaming variables, fixing pounder builds 2021-08-02 16:29:21 +02:00
Ryan Summers c4c3593bae Renaming variables, moving broker parsing 2021-08-02 16:13:01 +02:00
Ryan Summers d2b184e8e9 Adding logging if provided IP parsing fails 2021-08-02 14:52:31 +02:00
Ryan Summers 78bad36526 Removing asserts 2021-08-02 14:40:02 +02:00
Ryan Summers 2f2e38f31c Fixing build 2021-08-02 13:17:03 +02:00
Ryan Summers fb580edcee Updating Stabilizer to remove compile-time config parameters 2021-08-02 13:11:32 +02:00
dependabot[bot] ad7fb6b607
build(deps): bump serde from 1.0.126 to 1.0.127
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.127.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.127)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 04:02:16 +00:00
Robert Jördens ffb7c8a5b0 dds: the quadspi fifo is 32 byte deep 2021-07-28 20:34:28 +00:00
Robert Jördens 2cd611de74 qspi: bump spi speed to 100 MHz 2021-07-28 11:50:28 +00:00
Robert Jördens 53087e0ef4 setup: explicitly use hclk for spi 2021-07-28 11:50:14 +00:00
Robert Jördens c85cbb7aa2 input_capture: tweak for speed 2021-07-28 11:27:52 +00:00
Robert Jördens 1787daacaa dds: inline
close #407
2021-07-28 07:37:37 +00:00
Robert Jördens bf0afc8a88 dds: name consistently 2021-07-28 07:37:10 +00:00
bors[bot] 251bebdc6d
Merge #419
419: LICENSE.MIT: fix copyright r=jordens a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-27 16:20:59 +00:00
Robert Jördens dd766578fd LICENSE.MIT: fix copyright 2021-07-27 18:09:16 +02:00
bors[bot] e26be60738
Merge #418
418: rj/fixes r=jordens a=jordens

- remove old GPL license text
- signal_generator: actually catch the extreme symmetry cases (0 and 1)
- stream_throughput: fix port argument


Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-27 13:53:31 +00:00
Robert Jördens fa63c6c42c stream_throughput: fix port argument 2021-07-27 14:35:51 +02:00
Robert Jördens fc60887da3 signal_generator: actually catch the extreme symmetry cases (0 and 1) 2021-07-27 14:31:00 +02:00
Robert Jördens cbd4a7d181 remove old GPL license text 2021-07-27 14:27:57 +02:00
bors[bot] 62d1a16b4a
Merge #414
414: Feature/generic stream r=jordens a=ryan-summers

This PR fixes #385 by improving the semantics by which streams are generated. Specifically, serialization format is now application-defined and data is only copied once.

TODO:
- [x] Add documentation for streaming architecture
- [x] Add format specifiers
- [x] Clean up reception script
- [x] Update lockin serialization

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-07-27 11:52:48 +00:00
Ryan Summers de63be09e4 Updating after review 2021-07-27 13:12:57 +02:00
bors[bot] 3074678ad8
Merge #416
416: relicense as MIT OR Apache-2.0 r=jordens a=jordens

close #413

For explicit individual contributor permissions see the issue.


Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-26 15:41:46 +00:00
Robert Jördens f27d0899c2 relicense as MIT OR Apache-2.0
close #413

For explicit individual contributor permissions see the issue.
2021-07-26 17:32:48 +02:00
Ryan Summers 7a4f73d558 Cleaning up lint 2021-07-26 13:52:57 +02:00
Ryan Summers 1c66310b6d Fixing issues after testing 2021-07-26 13:47:03 +02:00
Ryan Summers 11d279a1b6 StreamFormat -> Into<u8> 2021-07-26 13:07:07 +02:00
Ryan Summers c0157b7095 Including header size in frame size 2021-07-26 12:26:10 +02:00
Ryan Summers 8d4193ed62 Updating after refactor 2021-07-26 12:24:36 +02:00
Ryan Summers 4c27100c23 Updating docs for streaming 2021-07-23 15:30:38 +02:00
Ryan Summers 4d8ac95d09 Adding docs 2021-07-23 15:16:36 +02:00
Ryan Summers be6066e979 Cleaning up test script 2021-07-23 15:14:30 +02:00
Ryan Summers 26b1f3422f Reverting IP config 2021-07-23 15:10:28 +02:00
Ryan Summers 8a143a3f58 Adding stream format, updating header format 2021-07-23 15:08:07 +02:00