Commit Graph

1436 Commits

Author SHA1 Message Date
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
Ryan Summers 6c87db3778 Updating comments 2021-07-23 14:12:59 +02:00
Ryan Summers 9b3bb62811 Adding WIP refactored streaming API 2021-07-22 14:45:58 +02:00
bors[bot] 93667091e6
Merge #410
410: tighten signal_generator symmetry bounds r=jordens a=jordens

close #408 

Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-21 11:29:56 +00:00
Robert Jördens 4f04bf17a8 signal_generator: also reject negative frequencies 2021-07-21 13:29:13 +02:00
Robert Jördens f4fd752d54 signal_generator: fix config conversion, clarify 2021-07-21 13:11:39 +02:00
bors[bot] 37fa1a0465
Merge #412
412: Updating IO expander to be configured before AD9959 r=jordens a=ryan-summers

This PR fixes #411 by refactoring the code to initialize the IO expander before the AD9959. It was discovered that the oscillator to the AD9959 may not be enabled due to a floating MOSFET gate. This was causing register configs to fail.

The fix configures the IO expander first to ensure that the OSC_ENn signal is de-asserted to enable the AD9959 oscillator.

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-07-21 10:34:09 +00:00
Ryan Summers 5d141d9f58 Updating init process 2021-07-21 12:32:48 +02:00
Ryan Summers 30546a834f Updating IO expander to be configured vefore AD9959 2021-07-21 12:21:40 +02:00
Robert Jördens 0d6402e81a clippy lints [nfc] 2021-07-20 21:22:06 +02:00
Robert Jördens 943ab2bd6d signal_generator: tighten bounds
close #408
2021-07-20 21:16:29 +02:00
bors[bot] 8f7dcf32cb
Merge #409
409: Updating NAL and minimq to allow broker reconnection r=jordens a=ryan-summers

This PR updates the smoltcp-nal and minimq dependencies to resolve an issue that was encountered where Stabilizer would not reconnect to the Broker if the broker was restarted.

### Testing

I started stabilizer, waited for telemetry to come in via MQTT, then restarted mosquitto. I observed my client disconnect, and then after a few seconds, observed a reconnection and telemetry resumed.

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-07-20 15:55:37 +00:00
Ryan Summers cacf519583 Updating NAL and minimq to allow broker reconnection 2021-07-20 17:53:25 +02:00
bors[bot] cc79deacf7
Merge #406
406: Delete cargosha256-dual-iir.nix r=jordens a=jordens

defunct, outdated, and unmaintained

Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-19 14:55:16 +00:00
Robert Jördens a361046f41
Delete cargosha256-dual-iir.nix
defunct, outdated, and unmaintained
2021-07-19 16:54:51 +02:00
bors[bot] 929a7611d6
Merge #388
388: Feature/scan mode r=jordens a=ryan-summers

This PR is to add visibility on design decisions for the scan mode implementation for #86 

This PR:
* Adds a signal generator for sinusoids, triangular waves, and square waves to both channels of `dual-iir`

Testing:
The new signal generator was scanned across 0-100% symmetry for all waveform types using frequencies of 500-1KHz. It was observed on an oscilloscope to contain nominal, well-formed outputs.

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-07-19 14:37:11 +00:00
bors[bot] f29a6639a2
Merge #405
405: Accelerating doc CI tests r=jordens a=ryan-summers

This PR fixes #403 by utilize github actions caches to accelerate the doc test CI check. `cargo-deadlinks` is cached, ruby gems are cached, and Rust dependency installations are cached.

Questions:
Should the Rust cache be tagged on a specific key so that we don't pollute the cache with each PR?

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-07-19 13:59:07 +00:00
Ryan Summers 51cef9f515
Update src/configuration.rs
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-19 15:06:57 +02:00
Ryan Summers 58ceb4f307 Forcing rerun 2021-07-19 14:51:44 +02:00
Ryan Summers 232a3a8c95 Using bundle version for rake 2021-07-19 14:40:32 +02:00
Ryan Summers 1c32695a49 Fixing math 2021-07-19 14:37:34 +02:00
Ryan Summers e2d2ce0752
Apply suggestions from code review
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-19 14:12:48 +02:00
Ryan Summers a263835dd2 Simplifying rust cache 2021-07-19 14:07:09 +02:00
Ryan Summers 5cc1c68d50 Hashing bins for unique cache key 2021-07-19 13:56:39 +02:00
Ryan Summers 5b949d2492 Fixing path 2021-07-19 13:55:21 +02:00
Ryan Summers 820f7665a7 fixing caching 2021-07-19 13:48:10 +02:00
Ryan Summers 8f6ec3d7e4 fixing key name 2021-07-19 13:33:27 +02:00
Ryan Summers fee324fe80 Updating steps 2021-07-19 13:32:18 +02:00
Ryan Summers 1c605623c2 fixing clippy 2021-07-19 13:30:12 +02:00
Ryan Summers fc1f4f5aaa Refactoring docs workflow 2021-07-19 13:25:14 +02:00
Ryan Summers 19bcc87c7f Adding error message 2021-07-19 13:05:15 +02:00
Ryan Summers e1cfeff65f Updating config to reject out-of-bounds amplitudes 2021-07-19 13:01:31 +02:00
Ryan Summers 2f6e2a5ef5 Simplifying calculation for signals 2021-07-19 12:46:06 +02:00
Ryan Summers 6d8273ec42 Merge branch 'master' into feature/scan-mode 2021-07-19 11:55:18 +02:00
bors[bot] 0918b3445e
Merge #397
397: build(deps): bump heapless from 0.7.2 to 0.7.3 r=jordens a=dependabot[bot]

Bumps [heapless](https://github.com/japaric/heapless) from 0.7.2 to 0.7.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/japaric/heapless/blob/master/CHANGELOG.md">heapless's changelog</a>.</em></p>
<blockquote>
<h2>[v0.7.3] - 2021-07-1</h2>
<h3>Changed</h3>
<ul>
<li><code>Box::freeze</code> is deprecated due to possibility of undefined behavior.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2390ab798c"><code>2390ab7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/japaric/heapless/issues/217">#217</a> from japaric/deprecate-freeze-v0.7.3</li>
<li><a href="01f16f1716"><code>01f16f1</code></a> Deprecate <code>Box::freeze</code>, prepare v0.7.3</li>
<li>See full diff in <a href="https://github.com/japaric/heapless/compare/v0.7.2...v0.7.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=heapless&package-manager=cargo&previous-version=0.7.2&new-version=0.7.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-07-16 14:56:17 +00:00
dependabot[bot] bac1607d17
build(deps): bump heapless from 0.7.2 to 0.7.3
Bumps [heapless](https://github.com/japaric/heapless) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/japaric/heapless/releases)
- [Changelog](https://github.com/japaric/heapless/blob/master/CHANGELOG.md)
- [Commits](https://github.com/japaric/heapless/compare/v0.7.2...v0.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-16 14:54:23 +00:00