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
nort has quit [Read error: Connection reset by peer]
<re_irc> <bradleyharden> James Munns, this is roughly what I was imagining:
<re_irc> <bradleyharden> "build.rs":
<re_irc> use bytemuck::bytes_of;
<re_irc> type Value = fixed::types::I1F15;
<re_irc> fn main() {
<re_irc> <bradleyharden> I was curious, so I tried to take a quick peek at the generated ASM, but there's something strange going on. I think it must be doing some loop unrolling or something
<re_irc> <bradleyharden> I'm not sure if it's any more efficient in terms of cycles than your solution, but I think it's definitely more readable
<re_irc> <bradleyharden> I'm also not sure if pre-calculating the slope would buy you anything. I think it would save you a multiply compared to your approach.
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
cr1901_ has joined #rust-embedded
cr1901 has quit [Ping timeout: 240 seconds]
fabic has quit [Ping timeout: 276 seconds]
<re_irc> <luojia65> Hello! I need someone to review this pull request: https://github.com/rust-embedded/cortex-m/pull/434 :)) Thanks
<re_irc> <luojia65> BTW, I'm recently working on Oreboot project, it's a bootloader environment and effectively an embedded project. This project is just reformed (first PR ~190 files, second ~200 files) and it will be an embedded-hal project after some further work
<re_irc> <luojia65> If anyone is interested: https://github.com/oreboot/oreboot
<re_irc> <luojia65> BTW, I'm recently working on Oreboot project, it's a bootloader environment and effectively an embedded project. This project is just reformed (first PR modified ~190 files, second ~200 files) and it will be an embedded-hal project after some further work
<re_irc> <luojia65> BTW, I'm recently working on Oreboot project, it's a bootloader environment and effectively an embedded project. This project is just reformed (first PR (https://github.com/oreboot/oreboot/pull/553) modified ~180 files, second (https://github.com/oreboot/oreboot/pull/555) ~200 files) and it will be an embedded-hal project after some further work
fabic has joined #rust-embedded
Shell has quit [Quit: ZNC 1.8.2 - https://znc.in]
Shell has joined #rust-embedded
fabic has quit [Ping timeout: 272 seconds]
<re_irc> <newam> luojia65: It got brought up in the meeting yesterday, everyone is scared of the linker 😅
<re_irc> > idk, if anyone has any guesses why the change is needed to stop __veneer_limit being equal to __veneer_base even when there's stuff in (.gnu.sgstubs) between, please shout
<re_irc> <newam> good find! You should post that to the github issue
<re_irc> <newam> *pull-request
fabic has joined #rust-embedded
fabic has quit [Ping timeout: 240 seconds]
Socke has quit [Ping timeout: 276 seconds]
Socke has joined #rust-embedded
Socke has quit [Ping timeout: 250 seconds]
Socke has joined #rust-embedded
<re_irc> <jhbruhn> Coming back to this, I just wrote an explanatory blogpost on how to use this bootloader framework: https://jhbruhn.de/posts/moonboot/
<re_irc> Next step: put together an example-project. I think that will drive the point home in the best way!
Socke has quit [Ping timeout: 256 seconds]
Socke has joined #rust-embedded
* re_irc dalepsmith newam: queues up "Don't Fear the Linker", by Blue Crabster Cult