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?
<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]