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
fabic has joined #rust-embedded
emerent has quit [Ping timeout: 260 seconds]
emerent has joined #rust-embedded
fabic has quit [Ping timeout: 272 seconds]
Amadiro__ has quit [Quit: Leaving]
gsalazar has joined #rust-embedded
<re_irc> <Anand Gedam> Hi All,
<re_irc> I am newbie in embedded Rust,
<re_irc> Code i have taken from the hal crate examples folder.
<re_irc> I am trying to compile the program simple Led Blink using stm32f4xx-hal.
<Darius> the bridge ate your screenshot
<Darius> better if you just pastebin the compiler output somewhere
<re_irc> <therealprof> Anand Gedam: You need to define the specific chip to use via feature on "stm32f4xx-hal", e.g. feature=stm32f401.
fabic has joined #rust-embedded
<re_irc> <Anand Gedam> therealprof: thanks for the hint, Its compiling now. 🙂
<re_irc> <lulf> Since this is the week of the bootloader! Another article from Drogue IoT https://twitter.com/DrogueIoT/status/1519991277277827072
fabic has quit [Ping timeout: 276 seconds]
fabic has joined #rust-embedded
GenTooMan has quit [Ping timeout: 250 seconds]
GenTooMan has joined #rust-embedded
<re_irc> <James Munns> If any of you are working on a project, and could use sponsorship, I highly recommend you apply for a foundation grant. I'd love to see as much of that money go to the embedded ecosystem as possible: https://twitter.com/rust_foundation/status/1520032784751996929
<re_irc> <James Munns> If you're applying for an embedded grant, and want help preparing or reviewing your proposal, feel free to DM me. I'm happy to help as much as I can (I can't write it for you, but might be able to review or suggest phrasing, etc.)
<re_irc> <James Munns> (you can DM me here on matrix, or on twitter)
rardiol has joined #rust-embedded
rardiol has quit [Read error: Connection reset by peer]
rardiol has joined #rust-embedded
rardiol has quit [Read error: Connection reset by peer]
rardiol has joined #rust-embedded
rardiol has quit [Read error: Connection reset by peer]
rardiol has joined #rust-embedded
rardiol has quit [Read error: Connection reset by peer]
rardiol has joined #rust-embedded
rardiol has quit [Read error: Connection reset by peer]
rardiol has joined #rust-embedded
rardiol has quit [Read error: Connection reset by peer]
rardiol has joined #rust-embedded
rardiol has quit [Read error: Connection reset by peer]
rardiol has joined #rust-embedded
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gsalazar has quit [Ping timeout: 276 seconds]
<re_irc> <dngrs (spookyvision@github)> trying my luck at ITM again, and .. hm. What might be going on here?
<re_irc> Finished dev [unoptimized + debuginfo] target(s) in 0.02s
<re_irc> ❯ cargo run | itm-decode
<re_irc> Running `target/debug/itm`
<re_irc> <riskable> Why is it when I call "usb_dev.poll(&mut [keyboard])" everything is hunky dory but when I call "usb_dev.poll(&mut [keyboard, mouse])" I get "invalid device descriptor" errors in Windows? (it works fine in Linux BTW)
<Lumpio-> Did you enable the large control transfer feature
<Lumpio-> ...that feature is such a hack. I already figured out a way to do large descriptors without permanently sacrificing a blob of RAM for it but meh.
fabic has quit [Ping timeout: 240 seconds]
genpaku has quit [Ping timeout: 276 seconds]
genpaku has joined #rust-embedded
<re_irc> <riskable> Lumpio-: How?
<Lumpio-> Enable the control-buffer-256 crate feature
<re_irc> <dngrs (spookyvision@github)> solved: "itm-decode" was just not necessary; viewing SWO output in a terminal instead 🤦
bpye has quit [Quit: The Lounge - https://thelounge.chat]
bpye has joined #rust-embedded
explore has joined #rust-embedded
<re_irc> <Tatu Pesonen> Hello! I want to dip my feet into embedded development and I want to use Rust for it since I find the language interesting. Now I gotta say I don't have any past experience with embedded programming, I have this small PoC I want to do for my company.
<re_irc> What development boards do you suggest to start out with? I'm going to need internet connectivity and eventually NFC/RFID
<re_irc> <newam> if you want internet via Ethernet the STM32H7 boards are good.
<re_irc> <Tatu Pesonen> Sorry for not being specific enough, I will propably need wireless internet.
<re_irc> <Tatu Pesonen> * WiFi. I've been thinking of the Raspberry Zero but I don't know if it works well with Rust
<re_irc> <newam> The raspberry pi zero would be a good place to start, then you don't have to touch "no_std"
<re_irc> <Tatu Pesonen> Sounds good. I'll grab one of those then, and I think you can also get an RFID module fori t
<re_irc> <Tatu Pesonen> * for it
<re_irc> That crate will work for the pi zero ^
<re_irc> <Tatu Pesonen> Awesome 😄 thanks a bunch newam!
<re_irc> <newam> NP!
<re_irc> <Lachlan> Anyone know what this error could mean?
<re_irc> RTT error: Control block corrupted: read pointer is 3221225476 while buffer size is 1024 for "up" channel 0 (defmt)
<re_irc> <Lachlan> I'm not using "wfi"/"wfe".
<re_irc> <newam> 3221225476 -> "0xc0000004", seems like a special number.
<re_irc> <newam> RTT memory corrupted maybe?
<re_irc> <Lachlan> Possibly, I can't think of anything i'm doing that could result in that though
<re_irc> <Lachlan> The probe connection seems unstable over long-periods of time (10-20+ minutes)
<re_irc> <newam> What probe? I have a few boards running endurance tests for >months over probe-rs with this: https://github.com/newAM/rtt-daemon/
<re_irc> <Lachlan> ST-link v2
<re_irc> <newam> Should be fine, I have a STM32-WL and a STM32-F0 running with STLinks long term.
<re_irc> Maybe try updating the firmware on them? I have had problems with older STLink firmwares
<re_irc> <Lachlan> It could definitely be an old firmwire
<re_irc> <Lachlan> * firmware
<re_irc> <Lachlan> I'll update when I get the chance
<re_irc> <newam> ST has a java tool somewhere on their site to update the firmware
<re_irc> <Lachlan> Java? gross :P
<re_irc> <newam> Every time I open up ST software the Java swing UIs bring me right back to 2009.
<re_irc> <newam> Simpler times for GUIs. No DPI scaling.
<re_irc> <Lachlan> good old days haha
<re_irc> <James Munns> Fun fact, that I TOTALLY don't know from personal experience, but you can update the knockoff stlinks with the official tool
<re_irc> <James Munns> Lachlan: I only get errors like that when I end up corrupting the defmt header
<re_irc> <James Munns> like, buffer overflow, bad linker script, etc.