From c622a05f8fb4e12b9cfed959b291ee323e93d44d Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Tue, 15 Jun 2021 13:56:17 +0200 Subject: [PATCH 1/2] Updating TOML comment --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e1b2a67..9539e6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,10 @@ mcp23017 = "1.0" git = "https://github.com/quartiq/rtt-logger.git" rev = "70b0eb5" -# fast double buffered DMA without poisoning and buffer swapping +# The following modifications of the HAL are being used: +# * fast double buffered DMA without poisoning and buffer swapping +# * Utilize `master` branch of smoltcp +# * Utilize `master` branch of HAL [dependencies.stm32h7xx-hal] features = ["stm32h743v", "rt", "unproven", "ethernet", "quadspi"] # version = "0.9.0" From 3cdef581b805030fa87ff396ef06160560327fa4 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Tue, 15 Jun 2021 14:10:15 +0200 Subject: [PATCH 2/2] Removing interword-idle-delay --- src/hardware/setup.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hardware/setup.rs b/src/hardware/setup.rs index 561f4ee..c2f8730 100644 --- a/src/hardware/setup.rs +++ b/src/hardware/setup.rs @@ -341,7 +341,6 @@ pub fn setup( polarity: hal::spi::Polarity::IdleHigh, phase: hal::spi::Phase::CaptureOnSecondTransition, }) - .inter_word_delay(design_parameters::ADC_SETUP_TIME) .hardware_cs(hal::spi::HardwareCS { mode: hal::spi::HardwareCSMode::WordTransaction, assertion_delay: design_parameters::ADC_SETUP_TIME, @@ -385,7 +384,6 @@ pub fn setup( polarity: hal::spi::Polarity::IdleHigh, phase: hal::spi::Phase::CaptureOnSecondTransition, }) - .inter_word_delay(design_parameters::ADC_SETUP_TIME) .hardware_cs(hal::spi::HardwareCS { mode: hal::spi::HardwareCSMode::WordTransaction, assertion_delay: design_parameters::ADC_SETUP_TIME,