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> <firefrommoonlight> What sort of projects are y'all getting into these days?
explore has quit [Quit: Connection closed for inactivity]
cr1901_ has joined #rust-embedded
cr1901 has quit [Ping timeout: 252 seconds]
cr1901_ is now known as cr1901
<re_irc> <luojia65> Hello! I announced RustSBI version 0.2.2, this version adapts to RISC-V SBI ratified specification v1.0.0. RustSBI is a RISC-V supervisor interface implementation written in embedded Rust, it provides an environment where RISC-V kernels depends on, and it uses embedded-hal as dependency. Link: https://twitter.com/luojia65/status/1506498725954293765
lowq has quit [Ping timeout: 240 seconds]
explore has joined #rust-embedded
emerent has quit [Ping timeout: 252 seconds]
emerent has joined #rust-embedded
explore has quit [Quit: Connection closed for inactivity]
<re_irc> <Chris [pwnOrbitals]> Hey everyone, dumb question : Im trying to understand the LMA vs VMA story for my controller, LMA in flash will be copied at startip to VMA in RAM
<re_irc> <Chris [pwnOrbitals]> * I’m trying to understand the LMA vs VMA story for my controller, LMA in flash will be copied at startup to VMA in RAM... what I don’t get is where is the code that copies LMA to VMA ? what generates it ?
<re_irc> <Chris [pwnOrbitals]> +the data from
starblue has quit [Ping timeout: 245 seconds]
<re_irc> <adamgreig> Chris [pwnOrbitals]: it's part of cortex-m-rt's initialisation code, here: https://github.com/rust-embedded/cortex-m/blob/9e8dd294b04510d727d50039a7f84292789aed0e/cortex-m-rt/asm.S#L66-L79
starblue has joined #rust-embedded
<re_irc> <Chris [pwnOrbitals]> okay, so a few lines of assembly in the reset vector. thanks !
Foxyloxy_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Foxyloxy has joined #rust-embedded
<re_irc> <ravox> Hi guys,
<re_irc> I'm trying to bring embedded Rust to a new MCU (Pulpissimo (https://pulp-platform.org/)), but there exists no svd-file. So I am considering writing a svd-file by hand from the register descriptions in the datasheet.
<re_irc> This MCU is still under development so registers might change in the future.
<re_irc> Do you think it's a good idea to hand-write a svd file and use svd2rust to generate a PAC, or would you suggest that I directly write the PAC myself?
<re_irc> <burrbull> ravox: it is good to have SVD anyway. it could be used also for debugging
<re_irc> <9names (@9names:matrix.org)> probably a better idea to scrape the HDL files to auto-generate an SVD instead of doing it by hand though
<re_irc> <9names (@9names:matrix.org)> it looks like they already use scripts to generate tables for the docs, might be able to piggyback off of that effort?
<re_irc> <ravox> 9names: Ok I will look into that, thanks for pointing it out :)
<re_irc> <burrbull> you can easy generate SVD with rust https://crates.io/crates/svd-encoder or python https://pypi.org/project/cmsis-svd/
<re_irc> <ravox> burrbull: Verry helpful, thank you!
mrkajetanp has quit [Ping timeout: 256 seconds]
<re_irc> <Chris [pwnOrbitals]> Would anyone know the difference between the link_name attribute and the export_name attribute ? thanks
<re_irc> <ryan-summers> export_name specifies what the symbol is called in the final ELF file (e.g. for generating some library that you want to compile into C or something), whereas link-name is used for specifying compile-time link sections for the linker
<re_irc> <ryan-summers> At the library level of an exported name, I don't think a link section has any meaning, since it's a library file without fixed addresses etc? Not sure though
<re_irc> <Chris [pwnOrbitals]> ok makes sense :)
mrkajetanp has joined #rust-embedded
explore has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
lowq has joined #rust-embedded
explore has quit [Quit: Connection closed for inactivity]
<re_irc> This looks interesting, I saw it was retweeted by the embedded rust wg account. I can't find any info about it on the Espressif website though, does anyone know where I can find more details? I think I remember seeing some Espressif people hanging out in this channel, maybe someone can point me in the right direction.
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
<re_irc> <Clark Kozak> how do I take the squart root of something without std?