diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c97e265f..273f7a4fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,19 +9,33 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added +### Removed + +### Changed + +### Fixed + +## [v0.7.0] - 2022-08-10 + +### Added + * Optional specification of a static IP address ([#509](https://github.com/quartiq/stabilizer/pull/509)) * Temperature sensor measurement for Pounder and Stabilizer's CPU has been added [#575](https://github.com/quartiq/stabilizer/pull/575) +* External clock support for Pounder +* Auxiliary ADC support for Pounder ### Removed -### Changed - * Minimum supported Rust version bumped to 1.62 +* The `pounder_v1_1` feature has been replaced by the `pounder_v1_0` feature with inverse meaning. +* The `Telemetry` python client has been integrated into the `stabilizer` Python library ### Fixed * Fixed panics when using a batch size of 1 ([#540](https://github.com/quartiq/stabilizer/issues/540)) * Fixed an issue where startup delays were 1/4 of what they should be ([#524](https://github.com/quartiq/stabilizer/issues/524)) +* Fixed Pounder GPIO extender issues by rewriting the `mcp280xx` crate +* Fixed improper calculation of the signal generator phase increment ([#543](https://github.com/quartiq/stabilizer/pull/543)) ## [v0.6.0] - 2022-02-11 @@ -129,7 +143,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). * First bits of code published -[Unreleased]: https://github.com/quartiq/stabilizer/compare/v0.6.0...HEAD +[Unreleased]: https://github.com/quartiq/stabilizer/compare/v0.7.0...HEAD +[v0.7.0]: https://github.com/quartiq/stabilizer/compare/v0.6.0...v0.7.0 [v0.6.0]: https://github.com/quartiq/stabilizer/compare/v0.5.0...v0.6.0 [v0.5.0]: https://github.com/quartiq/stabilizer/compare/v0.4.1...v0.5.0 [v0.4.1]: https://github.com/quartiq/stabilizer/compare/v0.4.0...v0.4.1 diff --git a/Cargo.lock b/Cargo.lock index 88b530894..7cbb2c3b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "ad9959" -version = "0.1.0" +version = "0.2.0" dependencies = [ "bit_field", "bitflags", @@ -38,7 +38,7 @@ checksum = "45403b49e3954a4b8428a0ac21a4b7afadccf92bfd96273f1a58cd4812496ae0" dependencies = [ "generic-array 0.12.4", "generic-array 0.13.3", - "generic-array 0.14.5", + "generic-array 0.14.6", "stable_deref_trait", ] @@ -327,9 +327,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.5" +version = "0.14.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803" +checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" dependencies = [ "typenum", "version_check", @@ -346,9 +346,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db0d4cf898abf0081f964436dc980e96670a0f36863e4b83aaacdb65c9d7ccc3" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "heapless" @@ -394,9 +394,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libm" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33a33a362ce288760ec6a508b94caaec573ae7d3bbbd91b87aa0bad4456839db" +checksum = "da83a57f3f5ba3680950aa3cbc806fc297bc0b289d42e8942ed528ace71b8145" [[package]] name = "lm75" @@ -647,18 +647,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.40" +version = "1.0.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7" +checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804" +checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" dependencies = [ "proc-macro2", ] @@ -760,14 +760,14 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.12", + "semver 1.0.13", ] [[package]] name = "ryu" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" +checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" [[package]] name = "scopeguard" @@ -786,9 +786,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2333e6df6d6598f2b1974829f853c2b4c5f4a6e503c10af918081aa6f8564e1" +checksum = "93f6841e709003d68bb2deee8c343572bf446003ec20a583e76f7b15cebf3711" [[package]] name = "semver-parser" @@ -895,7 +895,7 @@ dependencies = [ [[package]] name = "stabilizer" -version = "0.6.0" +version = "0.7.0" dependencies = [ "ad9959", "cortex-m 0.7.5", @@ -966,9 +966,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.98" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" +checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" dependencies = [ "proc-macro2", "quote", @@ -1000,9 +1000,9 @@ checksum = "e87a2ed6b42ec5e28cc3b94c09982969e9227600b2e3dcbc1db927a84c06bd69" [[package]] name = "unicode-ident" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c" +checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" [[package]] name = "vcell" diff --git a/Cargo.toml b/Cargo.toml index 2b14e675c..328f425fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,13 @@ [package] name = "stabilizer" -version = "0.6.0" +# Keep versions in Cargo.toml and py/setup.py synchronized. +version = "0.7.0" resolver = "2" authors = [ "Robert Jördens ", "Ryan Summers ", ] -description = "Firmware for the Sinara Stabilizer board (stm32h743, eth, poe, 2 adc, 2 dac)" +description = "Firmware for the Sinara Stabilizer board (STM32H743, Ethernet, PoE, 2 ADCs, 2 DACs)" categories = ["embedded", "no-std", "hardware-support", "science"] license = "MIT OR Apache-2.0" keywords = ["ethernet", "stm32h7", "adc", "dac", "physics"] @@ -23,7 +24,7 @@ exclude = [ ] [badges] -maintenance = { status = "experimental" } +maintenance = { status = "actively-developed" } [package.metadata.docs.rs] features = [] @@ -45,7 +46,7 @@ nb = "1.0.0" num_enum = { version = "0.5.7", default-features = false } paste = "1" idsp = "0.8" -ad9959 = { path = "ad9959", version = "0.1.0" } +ad9959 = { path = "ad9959", version = "0.2.0" } miniconf = "0.5" smoltcp-nal = { version = "0.2", features = ["shared-stack"] } serde-json-core = "0.4" diff --git a/ad9959/Cargo.toml b/ad9959/Cargo.toml index 7fed706e6..3499318d7 100644 --- a/ad9959/Cargo.toml +++ b/ad9959/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ad9959" -version = "0.1.0" +version = "0.2.0" authors = ["Ryan Summers "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/py/setup.py b/py/setup.py index 4c755d947..e118cd4a0 100644 --- a/py/setup.py +++ b/py/setup.py @@ -2,7 +2,8 @@ setup(name="stabilizer", packages=find_packages(), - version="0.1", + # Keep versions in Cargo.toml and py/setup.py synchronized. + version="0.7.0", description="Stabilizer Utilities", author="QUARTIQ GmbH", license="MIT", diff --git a/src/hardware/timers.rs b/src/hardware/timers.rs index 11ae90abc..a6bea5ef4 100644 --- a/src/hardware/timers.rs +++ b/src/hardware/timers.rs @@ -181,7 +181,8 @@ macro_rules! timer_channels { impl UpdateEvent { /// Create a new update event /// - /// Note(unsafe): This is only safe to call once. + /// # Safety + /// This is only safe to call once. #[allow(dead_code)] pub unsafe fn new() -> Self { Self {}