Skip to content
Merged

Fls #1032

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
zip bin.zip
target/*/release/dual-iir
target/*/release/lockin
target/*/release/urukul
target/*/release/fls
target/*/release/dds
- id: create_release
uses: actions/create-release@v1
env:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
and distortion measurement
* Support for "cooked" PID biquad and standard biquad filter prototypes from `idsp`
* Defaulting to `s` optimization for debug and release
* `fls`: application for fiber length stabilization and phase/frequency measurement/control

### Changed

Expand Down
18 changes: 18 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 13 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,21 @@ embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
embedded-hal-bus = "0.3.0"
urukul = { version = "0.1.1", path = "urukul" }
ad9912 = { version = "0.1.1", path = "ad9912" }
bytemuck = { version = "1.21.0", features = ["zeroable_maybe_uninit"] }
bytemuck = { version = "1.21.0", features = [
"zeroable_maybe_uninit",
"derive",
] }
num-complex = { version = "0.4", features = [
"bytemuck",
"serde",
], default-features = false }
num-traits = { version = "0.2.19", default-features = false }
strum = { version = "0.27.1", default-features = false, features = ["derive"] }
grounded = "0.2.0"
signal_generator = { version = "0.1", path = "signal_generator" }
stream = { version = "0.1", path = "stream" }
platform = { version = "0.1", path = "platform" }
libm = "0.2.15"

[dependencies.smoltcp-nal]
version = "0.6"
Expand Down Expand Up @@ -128,9 +137,6 @@ incremental = false
[profile.release.package.idsp]
opt-level = 3

[profile.release.package.stabilizer]
opt-level = 3

[profile.release.package.ad9959]
opt-level = 3

Expand All @@ -140,6 +146,9 @@ opt-level = 3
[profile.release.package.stream]
opt-level = 3

[profile.release.package.stabilizer]
opt-level = 3

[profile.release]
codegen-units = 1
opt-level = "s"
Expand Down
1 change: 1 addition & 0 deletions book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
- [Application: Dual-IIR](./firmware/dual_iir/index.html)
- [Application: Lockin](./firmware/lockin/index.html)
- [Application: Urukul DDS](./firmware/dds/index.html)
- [Application: Fiber Length Stabilization](./firmware/fls/index.html)
1 change: 1 addition & 0 deletions book/src/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ information.
| [`dual-iir`](firmware/dual_iir/index.html) | Two channel biquad IIR filter |
| [`lockin`](firmware/lockin/index.html) | Lockin amplifier support various various reference sources |
| [`dds`](firmware/dds/index.html) | Urukul-AD9912 control over MQTT |
| [`fls`](firmware/fls/index.html) | Fiber length stabilizer/Phase-Frequency Metrology and control |

## Library Documentation

Expand Down
2 changes: 1 addition & 1 deletion platform/src/telemetry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl<C: Clock, S: TcpClientStack<Error = smoltcp_nal::NetworkError> + Dns>
) -> Result<(), PubError<NetworkError, serde_json_core::ser::Error>> {
self.mqtt
.client()
.publish(minimq::Publication::new(&topic, |buf: &mut [u8]| {
.publish(minimq::Publication::new(topic, |buf: &mut [u8]| {
serde_json_core::to_slice(payload, buf)
}))
}
Expand Down
Loading
Loading