zentux has quit [Ping timeout: 268 seconds]
<re_irc> <@dngrs:matrix.org> jamesmunns:beeper.com: thx for the nRF pointer - will check it out :) - also definitely gonna evaluate powerbus for wired stuff! I do like having a wireless option though. We'll see..
zentux has joined #rust-embedded
fabic has joined #rust-embedded
<re_irc> <@ryankurte:matrix.org> dngrs:matrix.org: still working on the radio-hal so expect changes but, got a small (and hopefully growing) collection of radio drivers over at https://github.com/rust-iot. not public yet but just got the AT86RF233 going and them and the SAMR21 are both actually obtainable atm
<re_irc> <@ryankurte:matrix.org> grantm11235:matrix.org: i take it you've seen https://github.com/rust-embedded/embedded-hal/pull/245 ? would be interested in any feedback there... it's a pretty simple approach but seems (from my use over the last year or two) to work okay
zentux has quit [Ping timeout: 268 seconds]
zentux has joined #rust-embedded
<re_irc> <@dngrs:matrix.org> ryankurte:matrix.org: Ooooooh..!
<re_irc> <@grantm11235:matrix.org> ryankurte:matrix.org: Yup, I have seen that. I have some thoughts about it, but it might take me a while to organize those thoughts into useful feedback 😅
PyroPeter has quit [Ping timeout: 268 seconds]
PyroPeter has joined #rust-embedded
edm has quit [Ping timeout: 245 seconds]
dreamcat4 has quit [Ping timeout: 264 seconds]
SanchayanMaity has quit [Ping timeout: 260 seconds]
edm has joined #rust-embedded
dreamcat4 has joined #rust-embedded
SanchayanMaity has joined #rust-embedded
fabic has quit [Ping timeout: 268 seconds]
<re_irc> <@farbodpm:matrix.org> Hi
<re_irc> <@farbodpm:matrix.org> Any buddy have experience aboud global logger on defmt crate ?
zentux has quit [Ping timeout: 268 seconds]
fabic has joined #rust-embedded
zentux has joined #rust-embedded
fabic has quit [Ping timeout: 260 seconds]
zentux has quit [Ping timeout: 260 seconds]
zentux has joined #rust-embedded
<re_irc> <@jamwaffles:matrix.org> Please don't shotgun the same message across a bunch of channels. It adds a lot of noise and potentially duplicates effort from those trying to help. As for your question, isn't defmt already global?
fabic has joined #rust-embedded
fabic has quit [Ping timeout: 260 seconds]
fabic has joined #rust-embedded
tokomak has quit [Ping timeout: 245 seconds]
fabic has quit [Ping timeout: 256 seconds]
<re_irc> <@grantm11235:matrix.org> Is it possible to use cfg features in play.rust-lang.org ?
fabic has joined #rust-embedded
starblue has quit [Ping timeout: 268 seconds]
zentux has quit [Quit: WeeChat 3.3]
<re_irc> <@jamwaffles:matrix.org> Doesn't look like it, at least [the help](https://play.rust-lang.org/help) doesn't mention anything either way
<re_irc> <@zentux:zwergenfreun.de> Hey! I'm trying to run Rust on a SAMC21N18A. There is no device support crate for the SAMD21N, so I made my own pac with svd2rust following the guide. I then added it to my program and also cortex-m-rt, but I run into the problem that there is no Reset function in the compiled program. Do I have to do something more? First time trying to put rust on my hardware, so any help is greatly appreciated!
fabic has quit [Ping timeout: 256 seconds]
<re_irc> <@andresv:matrix.org> Let's say there is a `no_std` crate that has bunch of `defmt` log lines. This crate can be built also for std - is there a neat way to replace `defmt::info` and friends with `log::info` if built for `std`?
<re_irc> <@andresv:matrix.org> Okay this is one way to do it https://github.com/BlackbirdHQ/atat/blob/master/atat/src/helpers.rs#L111-L137
starblue has joined #rust-embedded
<re_irc> <@dirbaio:matrix.org> andres: this is same idea but a bit more complete https://github.com/embassy-rs/embassy/blob/master/embassy/src/fmt.rs
<re_irc> <@dirbaio:matrix.org> including `unwrap!, panic!, assert!` etc. You want these to go through defmt too, otherwise you won't see the panic messages
starblue has quit [Ping timeout: 268 seconds]
emerent_ has joined #rust-embedded
emerent has quit [Killed (calcium.libera.chat (Nickname regained by services))]
emerent_ is now known as emerent
starblue has joined #rust-embedded
starblue has quit [Client Quit]