stm32-rs | Embedded Rust device crates for STM32 microcontrollers

 by   stm32-rs Python Version: v0.15.1 License: Apache-2.0

kandi X-RAY | stm32-rs Summary

kandi X-RAY | stm32-rs Summary

stm32-rs is a Python library typically used in Embedded System applications. stm32-rs has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub.

Embedded Rust device crates for STM32 microcontrollers
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              stm32-rs has a medium active ecosystem.
              It has 939 star(s) with 197 fork(s). There are 28 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 55 open issues and 179 have been closed. On average issues are closed in 140 days. There are 22 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of stm32-rs is v0.15.1

            kandi-Quality Quality

              stm32-rs has 0 bugs and 0 code smells.

            kandi-Security Security

              stm32-rs has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              stm32-rs code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              stm32-rs is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              stm32-rs releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 1993 lines of code, 48 functions and 14 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed stm32-rs and discovered the below as its top functions. This is intended to give you an instant insight into stm32-rs implemented functionality, and help decide if they suit your requirements.
            • Parse a device
            • Expand cluster nodes
            • Get the value of the tag
            • Get the value of the specified tag from the node
            • Process a device
            • Process a YAML file
            • Parse a svdf file
            • Parse a peripheral device
            • Produce HTML table for debugging
            • Generate an html page
            • Return an html table of the details
            • Return HTML table of fields
            • Make a string representation of the given registers
            • Generate HTML page for device
            • Parse the peripheral register
            • Return a list of device rows
            • Read device table
            • Generate a text description for each device
            • Generate index page
            • Process svdf file
            Get all kandi verified functions for this library.

            stm32-rs Key Features

            No Key Features are available at this moment for stm32-rs.

            stm32-rs Examples and Code Snippets

            No Code Snippets are available at this moment for stm32-rs.

            Community Discussions

            Trending Discussions on stm32-rs

            QUESTION

            Rust STM32: webUSB publishing sensors
            Asked 2020-Mar-23 at 18:44

            For a hobby project using the stm32f1xx-hal, I'm wanting to periodically read a sensor and then push the values such that I can graph them realtime in a webUSB app.

            I have found an example in webusb_blinky by mvirkkunen which demonstrates the connectivity portion, but it's not clear to me how I would adapt it to publish sensor values. Should I be overriding control_in?

            Any suggestions/help would be appreciated. Thanks!

            ...

            ANSWER

            Answered 2020-Mar-23 at 18:44

            You could define a control transfer that requested the device respond with the current sensor values but the more natural USB mechanism for publishing sensor updates is with an IN endpoint.

            The usbd-serial module is the best example I can find of creating and using endpoints with this framework. A serial port consists of both an IN and OUT endpoint for bidirectional streaming of data. For your application you would only need the IN endpoint since the device only generates data.

            Source https://stackoverflow.com/questions/60800934

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install stm32-rs

            You can download it from GitHub.
            You can use stm32-rs like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            Please see the individual crate READMEs for the full list of devices each crate supports. All SVDs released by ST for STM32 devices are covered, so probably your device is supported to some extent!.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/stm32-rs/stm32-rs.git

          • CLI

            gh repo clone stm32-rs/stm32-rs

          • sshUrl

            git@github.com:stm32-rs/stm32-rs.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link