ChanServ changed the topic of #rust-embedded to: Welcome to the Rust Embedded IRC channel! Bridged to #rust-embedded:matrix.org and logged at https://libera.irclog.whitequark.org/rust-embedded, code of conduct at https://www.rust-lang.org/conduct.html
ivche has joined #rust-embedded
ivche has quit [Quit: %bye%]
ivche has joined #rust-embedded
ivche has quit [Client Quit]
ivche has joined #rust-embedded
ivche has quit [Quit: %bye%]
ivche has joined #rust-embedded
ivche has left #rust-embedded [ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.2)]
<Noah[m]1> ohhh thanks a lot!!
<Noah[m]1> Hmm is there any way to use alloc on stable these days? Or do I always need nightly to register the allocator?
AshconMohseninia has joined #rust-embedded
<AshconMohseninia> Question, how does one get probe-rs to flash custom segments of flash? I have a FLASH_VAR segment that is after main program flash, but it seems probe-rs does not flash this region at all
<AshconMohseninia> I see probe-rs has a skip-section flash, but not something to specify a custom section to flash
glitchy has quit [Remote host closed the connection]
glitchy has joined #rust-embedded
jannic[m] has joined #rust-embedded
<jannic[m]> <Noah[m]1> Hmm is there any way to use alloc on stable these days? Or do I always need nightly to register the allocator?
<jannic[m]> Since 1.68 https://crates.io/crates/embedded_alloc should work on stable.
<Noah[m]1> <jannic[m]> Since 1.68 https://crates.io/crates/embedded_alloc should work on stable.
<Noah[m]1> ohhh siiick, if only I knew :D
<Noah[m]1> <AshconMohseninia> Question, how does one get probe-rs to flash custom segments of flash? I have a FLASH_VAR segment that is after main program flash, but it seems probe-rs does not flash this region at all
<Noah[m]1> the section needs to be marked as load :)
ni has quit [Server closed connection]
ni has joined #rust-embedded
RobinMueller[m] has joined #rust-embedded
<RobinMueller[m]> Are there any neovim enjoyers here? I recently updated my rustaceanvim to v6 and now have problems with the nvim-cmp replace behavior (always replaces for rust analyzer suggestions, which is really annoying), specifically in Rust files. maybe someone else uses a similar setup and encountered the same issue?
<RobinMueller[m]> * the nvim-cmp confirm/replace behavior
<RobWells[m]> <RobinMueller[m]> Are there any neovim enjoyers here? I recently updated my rustaceanvim to v6 and now have problems with the nvim-cmp replace behavior (always replaces for rust analyzer suggestions, which is really annoying), specifically in Rust files. maybe someone else uses a similar setup and encountered the...
<RobWells[m]> I believe that's a configuration option in nvim-cmp. I remember being bitten by it when I first started using the plugin. Let me quickly check the docs.
<RobWells[m]> Hm, yeah, odd that it's just rust. I'll have a think
tamme[m] has joined #rust-embedded
<tamme[m]> <RobWells[m]> Does anyone know of a common SPI device that does full duplex communication (write to MOSI and read from MISO simultaneously)? I'm looking for something to test an implementation of eh::spi::SpiDevice::transfer against.
<tamme[m]> Hey, as diondokter said we currently have a master student (v​ivian) working on developing a test suite for embedded-hal, where an RP2040 plays the role of a tester that emulates all kinds of devices. Unfortunately we started with I2C and have nothing for SPI yet.
ivche has joined #rust-embedded
<RobinMueller[m]> <RobWells[m]> Hm, yeah, odd that it's just rust. I'll have a think
<RobinMueller[m]> switched to blink.cmp now and the issue disappeared, at least for the default settings
<RobWells[m]> Good. I looked through recent rustaceanvim & nvim-cmp(-lsp) changes but couldn't spot anything, beyond rediscovering the issues from last year that pushed me to switch myself.
corecode[m] has quit [Quit: Idle timeout reached: 172800s]
AdamHorden has quit [Ping timeout: 248 seconds]
AdamHorden has joined #rust-embedded
MaartendeVries[m has joined #rust-embedded
<MaartendeVries[m> @thejpster:matrix.org heey, do you think you could have a look at https://github.com/knurling-rs/defmt/pull/974 some time soon-ish? 😇
sroemer has joined #rust-embedded
sroemer has quit [Quit: WeeChat 4.5.2]
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #rust-embedded
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #rust-embedded
jfsimon has quit [Max SendQ exceeded]
jfsimon has joined #rust-embedded
nohit has quit [Server closed connection]
nohit has joined #rust-embedded
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #rust-embedded
rjmp[m] has joined #rust-embedded
RockBoynton[m] has joined #rust-embedded
<RockBoynton[m]> AFAIK you can't do that on stable rust yet, you need `#![feature(generic_const_exprs)]`. If you need stable, you can make another const param and compute it ahead of time, e.g.... (full message at <https://catircservices.org/_irc/v1/media/download/AQTeUI8pf8r_7sScLBhZ_CSyYlX8y_m7GBguJI5d3HI6MqaybSV6AMuAzrXuuVcmHF7bS_0BM8xLW-DCHxGK5pO_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy9yZGh2a3RVRkpiam5CQndhd3ZkcnhGdFY>)
<RockBoynton[m]> * AFAIK you can't do that on stable rust yet, you need `#![feature(generic_const_exprs)]`. If you need stable, you can make another const param and compute it ahead of time, e.g.... (full message at <https://catircservices.org/_irc/v1/media/download/AVhuhHl0bwD4JH3LCEqEApgDcTNjyXLlczXHpvt3Ulsx7haD7xiCBwz9IpyDaIpomwPAfpC-JIrkFmAS8fwwMdK_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy9ucEN4Y1hIeVF3T3hzTVhHV0VEQ2F4Snc>)
dngrs[m] has joined #rust-embedded
<dngrs[m]> <RockBoynton[m]> AFAIK you can't do that on stable rust yet, you need `#![feature(generic_const_exprs)]`. If you need stable, you can make another const param and compute it ahead of time, e.g....
<dngrs[m]> now that's a neat trick
<rjmp[m]> Yeah...I would sure love this feature to stabilize! If I could validate the N/M relationship at build time, or hide it inside my library API, that would be a lot more palatable, but I can't really do either I dont think...
<rjmp[m]> Hmm...I guess a non-const new could panic at least if they are wrong
<thejpster[m]> I’m also not convinced it’s not a breaking change because there might be a bunch of trace level logs out there that do not work and we’d suddenly break all those builds. I agree it’s better to check them but we don’t have the luxury of breaking changes in defmt due to how it works (with magic extern symbols).
ello has quit [Ping timeout: 252 seconds]
ello- has quit [Ping timeout: 252 seconds]