!BHcierreUuwCMxVqOf:matrix.org

Rust Embedded

278 Members
Welcome to the Rust Embedded chat room! | Bridged to Freenode IRC: #rust-embedded | Public logs: https://freenode.logbot.info/rust-embedded/ | Discuss, coordinate, help: https://github.com/rust-embedded/wg | Code of conduct: https://www.rust-lang.org/conduct.html32 Servers

Load older messages


Timestamp Message
17 Nov 2019
10:49:07@freenode_Lumpio-:matrix.orgLumpio- joined the room.
11:07:18@disasm-ewg:matrix.orgdisasm Or maybe in something like stm32-common
11:48:37@texitoi:matrix.orgTeXitoiA stm32-hal-utils would be great.
11:49:48@texitoi:matrix.orgTeXitoiImagine a trait to implement on Clocks that would allow a one time implementation of the delay traits for systick
11:50:54@texitoi:matrix.orgTeXitoiAn convert pin trait to convert gpio, with the input pullup and all types declared in it
11:51:10@texitoi:matrix.orgTeXitoiSo much things could be shared.
13:04:51@freenode_Lumpio-:matrix.orgLumpio-I bet entire peripherals could be shared between familiar tbh
13:05:28@freenode_Lumpio-:matrix.orgLumpio- I wonder if anybody's compared stuff like SPI or I2C or whatever peripherals between the families
13:08:10@joepie91:pixie.townjoepie91 squeedilyspooch: if you're using Riot, there should be an arrow in the top right of the chat view that you can use to jump to where you left off. though that may stop working when you've typed something (and it might mark you as 'caught up')
13:45:11@no111u3:matrix.orgno111u3 joined the room.
15:16:25@freenode_enobufs:matrix.orgenobufs joined the room.
16:38:55@disasm-ewg:matrix.orgdisasm Finally finished writing digital::v3 RFC: https://github.com/rust-embedded/wg/pull/393
16:43:03@charles:chronicembetterment.orgCharles
In reply to@thezoq2:matrix.org
I really want time units in the HAL
What about a separate crate for SI units so they can be used outside the embedded world as well
16:43:21@thezoq2:matrix.orgthezoq2I wouldn't mind that
16:43:23@charles:chronicembetterment.orgCharles

There's also core::time::Duration

16:44:25@svartalf:matrix.orgsvartalf
В ответ на @charles:chronicembetterment.org
What about a separate crate for SI units so they can be used outside the embedded world as well
There is a uom crate for SI units
17:04:09@charles:chronicembetterment.orgCharlesOh woah that looks nice
17:05:15@svartalf:matrix.orgsvartalfIt compiles incredibly slow (author is working on that, though), but it really helps to get rid of some annoying logic bugs
22:25:52@squeedilyspooch:matrix.orgsqueedilyspooch
In reply to @therealprof:matrix.org
squeedilyspooch: Which traits do you find in any of the STM32 HALs that could benefit from moving to embedded-hal?
what thezoq2 mentioned. U32Ext, *Hertz and *Seconds
22:26:44@squeedilyspooch:matrix.orgsqueedilyspoochalso, my use case is a different MCU so shoving them in an stm32-common crate is a bit less useful
22:35:00@therealprof:matrix.orgtherealprofI didn't quite see it, but sure; if there's something relevant to all -hal crates with some relationship to embedded-hal; that'd make a lot of sense.
22:35:09@therealprof:matrix.orgtherealprof * I didn't quite see it, but sure; if there's something relevant to all -hal crates with some relationship to embedded-hal; that'd make a lot of sense.
22:54:50@squeedilyspooch:matrix.orgsqueedilyspoochYeah, I was just thinking that the time traits/structs seem to be in every HAL crate (with each having slightly different implementations) so it might be useful to have a common implementation of time units. I'm cargo culting my way to a SAM3X crate, so it's a bit fresh in my mind.
22:55:50@squeedilyspooch:matrix.orgsqueedilyspooch * Yeah, I was just thinking that the time traits/structs seem to be in every HAL crate (with each having slightly different implementations) so it might be useful to have a common implementation of time units. I'm cargo culting my way to a SAM3X crate, so it's a bit fresh in my mind.
18 Nov 2019
01:42:52@freenode_carldd:matrix.orgcarldd joined the room.
02:13:23@freenode_tilman_:matrix.orgtilman_ joined the room.
02:16:33@freenode_tilman:matrix.orgtilman joined the room.
02:16:40@freenode_tilman_:matrix.orgtilman_ left the room.
02:16:40@freenode_tilman:matrix.orgtilman left the room.
02:55:01@ecruzolivera:matrix.orgecruzolivera joined the room.

There are no newer messages yet.


Back to Room List