Giter Club home page Giter Club logo

drone-stm32-map's People

Contributors

alfredch avatar davehylands avatar lysseslukker avatar rmja avatar valff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

drone-stm32-map's Issues

can't build the drone book 'full speed' example for stm32f303

Hi, when trying to build this, it says:

error[E0599]: no method named set_pllsrc found for mutable reference &mut drone_stm32_map::reg::rcc::cfgr::Hold<'_, drone_core::reg::prelude::Srt> in the current scope
--> src/tasks/root.rs:77:11
|
77 | r.set_pllsrc() // HSE oscillator clock selected as PLL input clock
| ^^^^^^^^^^ help: there is an associated function with a similar name: set_i2ssrc

Sorry, I'm new to drone and I'm not sure if it's an issue with this repo or the book repo.

svd2rust

Hi!

Just curiosity; Why wasn't svd2rust chosen to generate Rust code out of svd files?

Docs not showing up

Hi, I saw that in the peripheral subcrates, in the macros, documentation is written for the components of those peripherals.
However, I can't find the documentation in the resulting just doc anywhere..

No support for `cluster` in SVD files

Hi,

I am trying to create a register map for the nrf9160, however in their SVD files, they use clusters in the peripheral registers.
I'll see if I can write up a solution to this.

Unclear where to put generic drivers

I want to contribute an SPI driver leveraging drone_stm32_map_periph_spi::SpiPeriph. Code organization wise, does that belong in this group of crates, or should a new drone-stm32 crate be created for that purpose?

cant't build for stm32l4x2 case by error 'not found in `drone_stm32_map_pieces::reg::usart3::brr'

    |
253 | /         periph::map! {
254 | |             #[doc = $uart_macro_doc]
255 | |             pub macro $uart_macro;
256 | |
...   |
451 | |             }
452 | |         }
    | |_________^ not found in `drone_stm32_map_pieces::reg::usart3::brr`
...
591 | / map_uart! {
592 | |     "Extracts USART3 register tokens.",
593 | |     periph_usart3,
594 | |     "USART3 peripheral variant.",
...   |
636 | |     (LBDCF),
637 | | }
    | |_- in this macro invocation

No feature "FPU"

Hi there, thanks so much for this amazing project!

I ran drone new --device stm32l4x6 --flash-size 1024k --ram-size 96k hello-world, and when running just build, it returns an error:

error: failed to select a version for `drone-stm32-map`.
    ... required by package `hello-world v0.1.0`
versions that meet the requirements `^0.10.0` are: 0.10.1, 0.10.0

the package `hello-world` depends on `drone-stm32-map`, with features: `fpu` but `drone-stm32-map` does not have these features.


failed to select a version for `drone-stm32-map` which could resolve this conflict

Support for the STM32L1xx series?

Hi,
Considering switching to Rust for microcontrollers in this project:

http://mbari.org/esp

What would be involved in adding support for the STM32L1xx series of microcontrollers?
(The STM32L152 in particular)

Would this just involve creating the required peripheral bindings, or do the STML1xxx chips lack some features critical for Drone core?

Here's an detailed comparison of the L1 and L4 chips:
http://web.eece.maine.edu/~zhu/book/STM32L4/STM32L1%20vs%20STM32L4.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.