<re_irc>
<@thejpster:matrix.org> : I do this on the Neotron os. I have a binary for each linker configuration and switch the linker script based on the binary name in build.rs.
IlPalazzo-ojiis1 has quit [Ping timeout: 246 seconds]
<re_irc>
<@roy.buitenhuis-tnl:matrix.org> I have a project that has svd2rust as build dependency. Now I am trying to add log (0.4.17) to my project as a dependency, but it won't compile as svd2rust uses the std flag on log. I have no clue why this is an issue, aren't build dependencies build totally separate from your embedded application's binary?
<re_irc>
When I rename build.rs to build.rs.bak and comment out svd2rust under build dependencies, it compiles log without issues for no_std.
<re_irc>
What am I missing here?
<re_irc>
<@roy.buitenhuis-tnl:matrix.org> Actually trying to add gdbstub, which in turn adds log (0.4.17). But both give the same issue.
<re_irc>
<@roy.buitenhuis-tnl:matrix.org> Apparently, I was using the old feature resolver because I was on edition 2018 still. 😅
dc740 has joined #rust-embedded
<re_irc>
<@dirbaio:matrix.org> : omg, does this work? 👀
<re_irc>
<@therealprof:matrix.org> And by "while" loop I of course meant "loop" loop. 😉
<re_irc>
<@dirbaio:matrix.org> by while loop I meant while loop
<re_irc>
<@dirbaio:matrix.org> 😅
<re_irc>
<@firefrommoonlight:matrix.org> : Will keep you posted!
rardiol has joined #rust-embedded
richardeoin has quit [Ping timeout: 255 seconds]
richardeoin has joined #rust-embedded
<re_irc>
<@paologentili:matrix.org> Hi (again). My project works _perfectly_ fine but now I'm trying to make it work with our bootloader. I changed the flash origin and I enabled cortex-m-rt set-vec feature. As a result I have something that is partially working: I can receive commands over usart (hence interrupts are working), I can run logic but I'm not able to write data anymore. The buffer content is fine but on the other end I only receive one 0x00...
<re_irc>
... byte. The bootloader works fine with the previous version (non rust) of the fw. Any suggestions on how to debug this problem?
rardiol has quit [Ping timeout: 264 seconds]
rardiol has joined #rust-embedded
rardiol has quit [Ping timeout: 246 seconds]
rardiol has joined #rust-embedded
IlPalazzo-ojiisa has quit [Ping timeout: 256 seconds]
IlPalazzo-ojiis1 has joined #rust-embedded
IlPalazzo-ojiis1 has quit [Ping timeout: 255 seconds]
<re_irc>
<@firefrommoonlight:matrix.org> : It does, in fact, _not_ work
<re_irc>
<@firefrommoonlight:matrix.org> Ah well
<re_irc>
<@firefrommoonlight:matrix.org> Open to ideas
<re_irc>
<@firefrommoonlight:matrix.org> Also for RTIC interrupt names
<re_irc>
<@firefrommoonlight:matrix.org> My process is clunky re commenting and uncommenting these things when changing hardware. The memory.x thing helps though!
rardiol has quit [Ping timeout: 246 seconds]
dc740 has quit [Remote host closed the connection]