Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino-libraries/Arduino_AdvancedAnalog
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.1.0
Choose a base ref
...
head repository: arduino-libraries/Arduino_AdvancedAnalog
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.2.0
Choose a head ref
  • 10 commits
  • 8 files changed
  • 4 contributors

Commits on Apr 4, 2023

  1. src/DMABuffer.h: Fix DMA buffer Queue memory issues.

    * The current underlying DMA buffer Queue is not thread-safe and
    in some cases it can corrupt the memory. Replace the underlying
    DMA buffer container with a thread-safe implementation.
    iabdalkader committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    7e790c6 View commit details
    Browse the repository at this point in the history
  2. src/AdvancedDAC.cpp: Misc improvements to make DAC more robust.

    * Detect DAC underrun in available() and reset if needed. If DAC
    stops for any reason, no buffers will become free again. We need
    to detect this and abort.
    * Flush all pending buffers when DAC is stopped. This releases back
    all the buffers to the ready queue, and fixes an edge case where
    DAC stops while holding all of the ready buffers.
    * Check for NULL descriptor pointers in every function.
    * Increase DMA stream priority to highest.
    iabdalkader committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    17811ad View commit details
    Browse the repository at this point in the history
  3. examples/Waveform_Generator.ino: Update example.

    * Add new command to stop DAC ("k").
    * Print memory usage.
    * Increase max frequency to 128KHz.
    * Use a smaller DMA buffer size and rework the wave generators
    to support it.
    iabdalkader committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    e21c57b View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Allow setting list of pins to sample after construction

    Arguably, in user code, the list of pins to sample will typically be known and fixed at compile-time.
    
    However, when wrapping this into a library (Mozzi; for the purpose of providing a cross-platform analog read mechanism), it will be very helpful to have a way to adjust the pins to sample after construction.
    tfry-git authored Apr 5, 2023
    Configuration menu
    Copy the full SHA
    53ffa5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04f1275 View commit details
    Browse the repository at this point in the history
  3. Add missing bit

    I shall test my PR before submitting...
    tfry-git authored Apr 5, 2023
    Configuration menu
    Copy the full SHA
    82ae24a View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Merge pull request #36 from arduino-libraries/fix_queues

    Fixes and updates.
    aentinger authored Apr 11, 2023
    Configuration menu
    Copy the full SHA
    c506380 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Configuration menu
    Copy the full SHA
    4c36569 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Merge pull request #38 from tfry-git/tfry-git-patch-1-1

    Allow setting list of pins to sample after construction
    aentinger authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    d989bcf View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Release v1.2.0.

    aentinger authored May 12, 2023
    Configuration menu
    Copy the full SHA
    4ecffdd View commit details
    Browse the repository at this point in the history
Loading