<re_irc> <@henrik_alser:matrix.org> (That circuit is isolated from mains earth so it has no opinion on what ”ground” should be, it will just float to the potential of your computer’s earth connection)
<re_irc> <@yatekii:matrix.org> ok the smell in my room is a worrying trend (soldering fumes) but hey
<re_irc> <@yatekii:matrix.org> everything seems wired up
<re_irc> <@yatekii:matrix.org> I hope the dude on githuib didnt fuck RJ45 numbers and I did not either
<re_irc> <@yatekii:matrix.org> I need a bigger appartment
<re_irc> <@yatekii:matrix.org> 3.5rooms is not enough
<re_irc> <@yatekii:matrix.org> need a lab
<re_irc> <@henrik_alser:matrix.org> A lab is a human right
<re_irc> <@yatekii:matrix.org> I had one at my own company
<re_irc> <@yatekii:matrix.org> but now that I quit ...
<re_irc> <@henrik_alser:matrix.org> Ahh!
<re_irc> <@yatekii:matrix.org> I see the UART
<re_irc> <@yatekii:matrix.org> nice
<re_irc> <@yatekii:matrix.org> and desk is still moving
<re_irc> <@yatekii:matrix.org> let's write some code <3
<re_irc> <@dirbaio:matrix.org> moce!
<re_irc> <@dirbaio:matrix.org> just make sure to not send the "enable fire" command
<re_irc> <@yatekii:matrix.org> hahaha
<re_irc> <@yatekii:matrix.org> send the enable bonfire command instead
<re_irc> <@henrik_alser:matrix.org> Tried that mode in a Tesla today
<re_irc> <@henrik_alser:matrix.org> (Runs the fans on full heat and plays soft saxophone music for you aswell)
<re_irc> <@henrik_alser:matrix.org> Ok should get some sleep before the kids wake me up 🙈 Enjoy the fumes and gn8 everyone! 😘
<re_irc> <@dirbaio:matrix.org> how do I enforce my binary have absolutely nothing .data/.bss?
<re_irc> <@dirbaio:matrix.org> I'm writing a bootloader that will have functions called from the main application. I want to make sure it has no `static`s, as they would clash with the main app's
<re_irc> <@dirbaio:matrix.org> I already made it 0 bytes data/bss
<re_irc> <@dirbaio:matrix.org> but I want to make sure it fails to build if I accidentally add a static (for example from a dependency)
<re_irc> <@yatekii:matrix.org> uff :/
<re_irc> <@yatekii:matrix.org> doesn't this have to be done in th elinker script?
<re_irc> <@yatekii:matrix.org> my desk is not moving :( the UART description is very rough lol
<re_irc> <@yatekii:matrix.org> and to move it you cannot use UART m( you need some dedicated lines because ...
<re_irc> <@dirbaio:matrix.org> I tried removing .data/.bss from the linker script, but stuff still makes it to the final binary somehow instead of erroring :|
<re_irc> <@yatekii:matrix.org> I do not mean removing it but rather have the linker explode when the size is > 0
<re_irc> <@yatekii:matrix.org> but I have no clue how to do that
<re_irc> <@yatekii:matrix.org> lol
<re_irc> <@yatekii:matrix.org> linker script is the greatest arkana out there for me
<re_irc> <@dirbaio:matrix.org> ohh
<re_irc> <@dirbaio:matrix.org> ASSERT(SIZEOF(.data) == 0, ".data is not empty");
<re_irc> <@dirbaio:matrix.org> ASSERT(SIZEOF(.bss) == 0, ".bss is not empty");
<re_irc> <@dirbaio:matrix.org> ASSERT(SIZEOF(.uninit) == 0, ".uninit is not empty");
<re_irc> <@dirbaio:matrix.org> lol :D
starblue has quit [Ping timeout: 260 seconds]
starblue has joined #rust-embedded
<re_irc> <@yatekii:matrix.org> kek
<re_irc> <@yatekii:matrix.org> nice
fabic has joined #rust-embedded
PyroPeter has quit [Ping timeout: 258 seconds]
PyroPeter has joined #rust-embedded
emerent has quit [Remote host closed the connection]
emerent has joined #rust-embedded
crabbedhaloablut has quit [Ping timeout: 276 seconds]
crabbedhaloablut has joined #rust-embedded
fabic has quit [Ping timeout: 260 seconds]
fabic has joined #rust-embedded
fabic has quit [Ping timeout: 265 seconds]
cr1901 has quit [Read error: Connection reset by peer]
fabic has joined #rust-embedded
fabic has quit [Ping timeout: 265 seconds]
cr1901 has joined #rust-embedded
<re_irc> <@henrik_alser:matrix.org> Noah: How did it go?
<re_irc> <@yatekii:matrix.org> henrik_alser:matrix.org: No appartment anymore :(
<re_irc> <@yatekii:matrix.org> JK
<re_irc> <@yatekii:matrix.org> Well, nothing burns and with the standard module the desk still moves so we good
<re_irc> <@yatekii:matrix.org> I could not get it to move via my script just yet ...
<re_irc> <@yatekii:matrix.org> The GH repos doing it have abysmal code and the descriptions of the protocol are lacking if not existant. So I guess I need some tinkering. And without being able to read what the standard module does it seems tricky.
<re_irc> <@yatekii:matrix.org> So maybe I need to make a proper board.
<re_irc> <@henrik_alser:matrix.org> Ahh! But progress at least 🙌
<re_irc> <@yatekii:matrix.org> Maybe I even mixed up TX and RX. Not clear to me from the descriptions. The descriptions were already so confusing that I messed up addresses ^^
<re_irc> <@yatekii:matrix.org> you have to send your own "address" with the packet and not that of the receiver. so why call it "address" ... well anyways
<re_irc> <@henrik_alser:matrix.org> Haha, yeah always assume TX and RX are wrong
<re_irc> <@yatekii:matrix.org> Thanks for all the help :)
<re_irc> <@yatekii:matrix.org> oh uff, I think I actually fucked with the maximum height setting :/
fabic has joined #rust-embedded
<re_irc> <@henrik_alser:matrix.org> yatekii:matrix.org: Oh in what way?
<re_irc> <@yatekii:matrix.org> well when I hit the imaginary top it will stop and move slightly down
<re_irc> <@yatekii:matrix.org> but it will not go to the physical top anymore
<re_irc> <@henrik_alser:matrix.org> Oups!
<re_irc> <@henrik_alser:matrix.org> At least you managed to do something to it!
<re_irc> <@yatekii:matrix.org> haha fair
<re_irc> <@yatekii:matrix.org> the question is how I apply the unfuckening :D
<re_irc> <@yatekii:matrix.org> I wish sending stuff to the desk did produce at least some answer bytes
<re_irc> <@yatekii:matrix.org> hmm
<re_irc> <@henrik_alser:matrix.org> yatekii:matrix.org: A riddle!
<re_irc> <@henrik_alser:matrix.org> (Sorry that tesla ride gave me too much gamification inspiration)
<re_irc> <@yatekii:matrix.org> hahah xd i am definitely earning too little money as long as I do not have my own tesla with a campfire inside :P
<re_irc> <@henrik_alser:matrix.org> yatekii:matrix.org: Lol, it’s wasnt mine…
<re_irc> <@yatekii:matrix.org> the fire or the tesla?
<re_irc> <@henrik_alser:matrix.org> ”Yes”
<re_irc> <@henrik_alser:matrix.org> But i do have a lot of firewood at least!
<re_irc> <@henrik_alser:matrix.org> IRL fire
<re_irc> <@henrik_alser:matrix.org> Second best
<re_irc> <@henrik_alser:matrix.org> Now we’re going for IRL minecraft, second best
<re_irc> <@henrik_alser:matrix.org> (Picking mushroom 🍄)
<re_irc> <@henrik_alser:matrix.org> (Maybe that’s more Mario?)
<re_irc> <@henrik_alser:matrix.org> Sorry for OT!
<re_irc> <@henrik_alser:matrix.org> Enjoy your fridays out there!
<re_irc> <@yatekii:matrix.org> henrik_alser:matrix.org: hey, i just split a pile of firewood for the winter :D
<re_irc> <@andresv:matrix.org> Is https://github.com/timokroeger/embedded-can the most up to date take on CAN traits?
<re_irc> <@andresv:matrix.org> Ahaa okay this is the most recent: https://github.com/rust-embedded/embedded-hal/pull/212
GenTooMan has quit [Quit: Leaving]
GenTooMan has joined #rust-embedded
<re_irc> <@newam:matrix.org> `const_panic` is coming to stable in 1.57 (6 weeks), does anyone know the feature/tracking issue for const format args?
<re_irc> <@newam:matrix.org> In other words, the feature/tracking issue that allows me to do this:
<re_irc> <@newam:matrix.org> ```rs
<re_irc> <@newam:matrix.org> impl<const BASE: usize, const CH: u8> Dma<BASE, CH> {
fabic has quit [Ping timeout: 258 seconds]
<re_irc> <@newam:matrix.org> Specifically I am looking for shorter compile times (chrono takes 4s on my build server), and no explicit panic/unwrap to avoid formatting logic overhead.
<re_irc> <@newam:matrix.org> is there any chrono-like datetime crate that is more embedded friendly?
<re_irc> <@newam:matrix.org> I am thinking maybe I should start one, but datetime is exceptionally difficult.
<re_irc> <@dirbaio:matrix.org> in nightly you can remove the panic bloat with -Zbuild-std=core -Zbuild-std-features=panic_immediate_abort
<re_irc> <@dirbaio:matrix.org> previous discussion: https://matrix.to/#/!BHcierreUuwCMxVqOf:matrix.org/$FETj15J5Mqq2zVRaahSXOLXjkbz3gRMuTNEFmbqA5jM?via=matrix.org&via=psion.agg.io&via=mozilla.org
DepthDeluxe has joined #rust-embedded
DepthDeluxe has quit [Client Quit]
dreamcat4 has quit [*.net *.split]
edm has quit [*.net *.split]
mrkajetanp has quit [*.net *.split]
troth has quit [*.net *.split]
edm has joined #rust-embedded
troth has joined #rust-embedded
dreamcat4 has joined #rust-embedded
mrkajetanp has joined #rust-embedded
<re_irc> <@jacobrosenthal:matrix.org> newam:matrix.org: embedded-time is full feeatured https://github.com/FluenTech/embedded-time/ and also korken appears to be making a smaller const generic one https://github.com/korken89/const-embedded-time
<re_irc> <@dirbaio:matrix.org> I think they want datetime math (y/m/d h:m:s) and timezones and stuff, embedded-time doesn't do that
emerent_ has joined #rust-embedded
emerent_ is now known as emerent
emerent is now known as Guest7256
Guest7256 has quit [Ping timeout: 258 seconds]
<re_irc> <@dirbaio:matrix.org> wtf, why does this not compile? `unsafe { p.read() } != 0xFFFF` [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=fb21bd1eaed8ab747341e5818a17eb92)
<re_irc> <@dirbaio:matrix.org> isn't `unsafe{}` an expression? :o
<re_irc> <@dirbaio:matrix.org> wow `{ 5 } == 6` also fails
<re_irc> <@dirbaio:matrix.org> stuff with `{}` isn't accepted everywhere an expression is? TIL
<re_irc> <@dirbaio:matrix.org> `6 == { 5 }` does work. W.T.F
<re_irc> <@yatekii:matrix.org> uff that's odd