Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lis2du12 accelerometer driver #65734

Merged
merged 4 commits into from Dec 14, 2023

Commits on Dec 13, 2023

  1. drivers/sensor: add Kconfig.trigger_template

    Add Kconfig.trigger_template to allow an extensive re-use of
    trigger configuration inside all sensor drivers.
    
    This template must be included as in the following example:
    
        module = LSM6DSO
        thread_priority = 10
        thread_stack_size = 1024
        source "drivers/sensor/Kconfig.trigger_template"
    
    Signed-off-by: Armando Visconti <armando.visconti@st.com>
    avisconti committed Dec 13, 2023
    Copy the full SHA
    edbbcc3 View commit details
    Browse the repository at this point in the history
  2. drivers/sensor: add support to LIS2DU12 accelerometer

    The LIS2DU12 is a linear 3-axis accelerometer with advanced digital
    functions whose MEMS and ASIC have been expressly designed to build
    an outstanding ultralow-power architecture in which the anti-aliasing
    filter operates with a current consumption among the lowest in the
    market.
    This driver is based on stmemsc HAL i/f v2.3
    
    https://www.st.com/en/datasheet/lis2du12.pdf
    
    Signed-off-by: Armando Visconti <armando.visconti@st.com>
    avisconti committed Dec 13, 2023
    Copy the full SHA
    9b61d22 View commit details
    Browse the repository at this point in the history
  3. boards: arm: sensortile_box_pro: extend with lis2du12

    Extend sensortile_box_pro with lis2du12 accelerometer.
    
    Signed-off-by: Armando Visconti <armando.visconti@st.com>
    avisconti committed Dec 13, 2023
    Copy the full SHA
    c8caba7 View commit details
    Browse the repository at this point in the history
  4. sample: board: sensortile_box_pro: extend with lis2du12 accelerometer

    Extend sensor sample reading also lis2du12 accelerometer data.
    
    Signed-off-by: Armando Visconti <armando.visconti@st.com>
    avisconti committed Dec 13, 2023
    Copy the full SHA
    28a9004 View commit details
    Browse the repository at this point in the history