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
<re_irc> <@shakencodes:matrix.org> Agreed on working with RTIC and/or Embassy. I've got decent experience on RTIC and even sponsored development of an active object layer for it. -- I'm in the act of wiring up SemTech's LoRaWAN infrastructure (all C code) to a Rust application, as the existing Rust LoRa infrastructure doesn't support Class C or Multicast messaging (yet).
<re_irc> All the other stuff in the application is Rust and I built right on top of the HAL and has worked swimmingly.
crabbedhaloablut has quit []
<re_irc> <@dngrs:matrix.org> oh nice!
<re_irc> <@jamesmunns:beeper.com> : Notably, the PAC will have an enum called "Interrupt" that holds the name of all the interrupts as variants
<re_irc> <@dngrs:matrix.org> TIL that's a standard convention, nice
<re_irc> <@jamesmunns:beeper.com> Well, it's what svd2rust generates
<re_irc> <@jamesmunns:beeper.com> It's somewhat convention that hals re-export it (or the PAC as well)
GenTooMan has quit [Ping timeout: 260 seconds]
GenTooMan has joined #rust-embedded
crabbedhaloablut has joined #rust-embedded
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #rust-embedded
IlPalazzo-ojiisa has joined #rust-embedded
IlPalazzo-ojiisa has quit [Read error: Connection reset by peer]
IlPalazzo-ojiis1 has joined #rust-embedded
IlPalazzo-ojiis1 has quit [Client Quit]
IlPalazzo-ojiisa has joined #rust-embedded
IlPalazzo-ojiisa has quit [Client Quit]
IlPalazzo-ojiisa has joined #rust-embedded
<re_irc> <@thejpster:matrix.org> I saw today that the HiFive crate is a) linked from the SiFive website, and b) owned by the Rust Embedded RISC-V team: https://docs.rs/crate/hifive1/latest
<re_irc> <@thejpster:matrix.org> It may be worth thinking about moving that out to a seperate device-specific group (like nrf-rs, stm-rs, rp-rs, etc) rather than having it in the RISC-V team. The other Rust Embedded teams have tried quite hard to be device-agnostic and stick to only architecture-level software.
<re_irc> <@thejpster:matrix.org> But also very cool that SiFive link to it.
<re_irc> <@thejpster:matrix.org> (here: https://www.sifive.com/boards/hifive1-rev-b)
<re_irc> <@dkhayes117:matrix.org> I don't think it's apart of the riscv wg. It's under riscv-rust which isn't under the wg.
<re_irc> <@9names:matrix.org> what is riscv-rust?
<re_irc> <@9names:matrix.org> cool logo
<re_irc> <@dkhayes117:matrix.org> It's just a group where we work on riscv stuff without it being bound to the working group. I think David craven started it, maybe disasm?
<re_irc> <@bugadani:matrix.org> I'm confused, the crate's copyright points at https://github.com/rust-embedded/wg#the-risc-v-team as the copyright holder
<re_irc> <@9names:matrix.org> e310x-hal even says that "This project is developed and maintained by the RISC-V team." linking to the above ^
<re_irc> <@9names:matrix.org> do the teams on that page mean anything these days?
<re_irc> are the people listed part of the wg?
<re_irc> <@9names:matrix.org> the only person on the triage team doesn't appear to have been active for a very long time
<re_irc> <@thejpster:matrix.org> The rust-embedded/wg page should be a copy of the official list at https://github.com/rust-lang/team/tree/master/teams.
<re_irc> <@dkhayes117:matrix.org> : Maybe a copy paste thing? Idk, I remember asking disasm a long time ago about making these repos apart of the wg, but he didn't want to. Partly because you need a reviewer before anything can be merged.
<re_irc> <@9names:matrix.org> makes sense, you definitely don't want to pile more work on the WG folks
<re_irc> <@9names:matrix.org> i assume you're a member of riscv-rust? the people publicly listed on the team page are danc86, dvc94ch, and Disasm.
<re_irc> <@dkhayes117:matrix.org> Yes, I think I am.
<re_irc> <@dkhayes117:matrix.org> It's been a while since I've had time to work on rv stuff
<re_irc> <@9names:matrix.org> i know that feeling 😪
<re_irc> <@thejpster:matrix.org> but also because these are SiFive specific and the WG stuff is device-agnostic.
<re_irc> <@almindor:matrix.org> I think this is mostly some historic logistical baggage. Riscv-rust owns the e310 and k210 etc. We should def. Clear things up while also bringing up ci and pr rules to parity with the wg stuff.
emerent has quit [Ping timeout: 246 seconds]
emerent has joined #rust-embedded
<re_irc> <@dirbaio:matrix.org> I remember a while ago someone posted a project that could generate the "memory.x" file for any STM32 chip. It had a ton of "if"s that could decode the right flash/ram size based on the letters in the stm32 chip number. I'm incapable of finding it. Does anyone have a link to it?
dc740 has joined #rust-embedded
<re_irc> <@lambdafriend:matrix.org> 👋I'm back!
<re_irc> I've been plugging away at implementing ADC reads of multiple channels using DMA and a circular buffer. The main use-case is being able to read the DMA buffer from any context, not just inside an interrupt. I've opened a draft PR (https://github.com/stm32-rs/stm32h7xx-hal/pull/442) over in the "stm32h7xx-hal" so if anyone feels like ripping apart a PR and some terrible code... well... here you go 😄
<re_irc> I'm not entirely sure if the use-case is even possible in a safe manner, but I'm relatively new to embedded.
<re_irc> <@lambdafriend:matrix.org> * 👋 I'm
dc740 has quit [Remote host closed the connection]
GenTooMan has quit [Ping timeout: 245 seconds]
GenTooMan has joined #rust-embedded
<re_irc> <@ragarnoy:matrix.org> hey, odd question beginner question, I bought a RAK4631 which has a NRF52840 MCU, so I'm using the NRF52840 HAL but when using the pins labeled for the LED on the RAK4631/RAK19007 (the base) it doesn't do anything, it turns out to be the P1_03 but this information isn't anywhere, how do I find the correct datasheet/pins for what I'm trying to do ?
<re_irc> this example seem to have the correct pins https://github.com/embassy-rs/embassy/blob/main/examples/nrf52840/src/bin/lora_cad.rs but otherwise I have no idea how this person found out which pin did what
duderonomy has joined #rust-embedded
GenTooMan has quit [Ping timeout: 246 seconds]
GenTooMan has joined #rust-embedded
<re_irc> <@datdenkikniet:matrix.org> The schematic diagram (https://docs.rakwireless.com/Product-Categories/WisBlock/RAK4631/Datasheet/#schematic-diagram) on the product page for that product seems to mention it (there are 2 pins labeled "LED{1,2}" on the right side of the RAK4630 module)
<re_irc> <@datdenkikniet:matrix.org> * module seems to mention it (there are 2 pins labeled "LED{1,2}" on the right side of the RAK4630 module) with the correct pins assigned.
<re_irc> <@datdenkikniet:matrix.org> +@ragarnoy
<re_irc> <@datdenkikniet:matrix.org> * :
<re_irc> <@ragarnoy:matrix.org> : oh i didn't think the info would be there, thanks a lot
dc740 has joined #rust-embedded
dc740 has quit [Quit: Leaving]