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
ello_ has quit [Quit: ZNC 1.9.1 - https://znc.in]
ello has joined #rust-embedded
geekymango has joined #rust-embedded
geekymango has quit [Client Quit]
geekymango has joined #rust-embedded
geekymango has quit [Client Quit]
AtleoS has quit [Ping timeout: 248 seconds]
AtleoS has joined #rust-embedded
sugoi has joined #rust-embedded
sugoi has quit [Ping timeout: 252 seconds]
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #rust-embedded
ivmarkov[m] has joined #rust-embedded
<ivmarkov[m]> <PeterKrull[m]> "No, its fine! I want to consider..." <- To share my (limited) experience (not sure that would help or bring more confusion, but oh well):... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/VeLwcrjatOABfDgaCPUWfVQu>)
Artea has joined #rust-embedded
rom4ik15 has joined #rust-embedded
m5zs7k_ has joined #rust-embedded
dequbed has joined #rust-embedded
Artea_ has joined #rust-embedded
Artea has quit [*.net *.split]
rom4ik1 has quit [*.net *.split]
m5zs7k has quit [*.net *.split]
danielb[m] has quit [*.net *.split]
nadja has quit [*.net *.split]
jedugsem[m] has quit [*.net *.split]
vollbrecht[m] has quit [*.net *.split]
BentoMon has quit [*.net *.split]
rom4ik15 is now known as rom4ik1
m5zs7k_ is now known as m5zs7k
jedugsem[m] has joined #rust-embedded
BentoMon has joined #rust-embedded
vollbrecht[m] has joined #rust-embedded
danielb[m] has joined #rust-embedded
Artea_ has quit [Remote host closed the connection]
Artea has joined #rust-embedded
MariusKriegerows has joined #rust-embedded
<MariusKriegerows> Hey folks,
<MariusKriegerows> I tried optimizing for size as described in https://docs.rust-embedded.org/book/unsorted/speed-vs-size.html When I run cargo size --bin myapp -- -A as described, I'm getting error: Failed to parse crate metadata. What is can be causes for this error? How can I debug that?
<JamesMunns[m]> What does cargo build --bin myapp say? Does it build correctly?
<JamesMunns[m]> also, note that you also need to pass --release to size if you want it to be optimized, e.g. cargo size --bin myapp --release -- -A
sugoi has joined #rust-embedded
sugoi has quit [Ping timeout: 260 seconds]
cbjamo[m] has quit [Quit: Idle timeout reached: 172800s]
sugoi has joined #rust-embedded
sugoi has quit [Ping timeout: 255 seconds]
<dav1d> Anyone know how I am supposed to set the internal pull up with esp-hal? https://docs.esp-rs.org/esp-hal/esp-hal/0.20.0/esp32s3/esp_hal/gpio/trait.OutputPin.html#tymethod.internal_pull_up - This used to just work, now it needs private::Internal ... which I assume is so I can't call it, but then how am I supposed to use it?
<JamesMunns[m]> Might be worth asking in #esp-rs:matrix.org if you don't get a response here
<dav1d> Thanks, gotta figure out the matrix stuff first, iirc it's not bridged to libera :(
<GrantM11235[m]> Are you trying to use it as an open drain output? I think this is what you want https://docs.esp-rs.org/esp-hal/esp-hal/0.20.0/esp32s3/esp_hal/gpio/struct.OutputOpenDrain.html#method.new
<dav1d> GrantM11235[m], thanks that could be it, there is also RtcPinWithResistors which seems to provide that
<dav1d> Seems like I have the same issue with `connect_input_to_peripheral_with_options` now. Trying to update this code https://github.com/jonored/esp-hal-rmt-onewire/blob/main/src/lib.rs#L47-L59
diondokter[m] has quit [Quit: Idle timeout reached: 172800s]
swedishhat[m] has quit [Quit: Idle timeout reached: 172800s]
sugoi has joined #rust-embedded
sugoi has quit [Ping timeout: 252 seconds]
Ralph[m] has quit [Quit: Idle timeout reached: 172800s]
sugoi has joined #rust-embedded
sugoi has quit [Ping timeout: 245 seconds]
nerwalt[m] has quit [Quit: Idle timeout reached: 172800s]
sugoi has joined #rust-embedded
sugoi has quit [Ping timeout: 244 seconds]
<danielb[m]> What are you trying to do?
<danielb[m]> Ah nevermind i see
<dav1d> By coincidence I saw the owner was active in the rust channel on liberal, they're gonna look into updating it \o/
NiaLinaLunaStorm has joined #rust-embedded
<NiaLinaLunaStorm> I am writing firmware rn for a device of which I expect multiple to be connected at the same time so to make it clear which is which, I wanna give it its own PID and product name on the USB...... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/dNLVcVQhXDFMSsguVHOmBqTa>)
<NiaLinaLunaStorm> any idea what I'm doing wrong?
K900 has joined #rust-embedded
<K900> `serial_number` is _right there_
<K900> You probably want to vary that
<K900> And by probably I mean definitely
<GrantM11235[m]> <NiaLinaLunaStorm> "I am writing firmware rn for a..." <- > <@fly:asra.gr> I am writing firmware rn for a device of which I expect multiple to be connected at the same time so to make it clear which is which, I wanna give it its own PID and product name on the USB...... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/NGJZWVWXdFmtIxcNwRFehado>)
nandnor[m] has joined #rust-embedded
<nandnor[m]> Yea looks like the type of usb_dev is essentially () otherwise
<NiaLinaLunaStorm> <GrantM11235[m]> "> <@fly:asra.gr> I am writing..." <- thanks, that was it
pronvis has quit [Read error: Connection reset by peer]
<GrantM11235[m]> Most chips have some sort of built-in unique serial number or identifier, you could just use that for the usb serial number. That way you can use the same binary for every device
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Ping timeout: 246 seconds]
PhilMarkgraf[m] has quit [Quit: Idle timeout reached: 172800s]
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Ping timeout: 252 seconds]
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Ping timeout: 246 seconds]
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Ping timeout: 272 seconds]
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Ping timeout: 245 seconds]
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Ping timeout: 248 seconds]
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Ping timeout: 246 seconds]
sugoi has joined #rust-embedded
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Remote host closed the connection]
mrkajetanp has joined #rust-embedded
mrkajetanp has quit [Ping timeout: 272 seconds]