| Tweetovi |
|
James Munns
@bitshiftmask
|
7 h |
|
You can also check out all the stuff we have going on at @rustembedded, the book (rust-embedded.github.io/book/) or our coordination repo (github.com/rust-embedded/…), or the awesome list (github.com/rust-embedded/…) are all good places to start :)
|
||
|
|
||
|
James Munns
@bitshiftmask
|
2. velj |
|
All no_std! Just calling the ROM bootloader by jumping directly to a location in flash
|
||
|
|
||
|
James Munns
@bitshiftmask
|
2. velj |
|
Definitely! A private key on a normally detached yubikey is very different than a private key on a public machine with chmod 777.
|
||
|
|
||
|
James Munns
@bitshiftmask
|
2. velj |
|
Whats that saying in security? Forms of ID can be something you have (a token), something you know (a pin/password), or something you are (a fingerprint/retina/face).
Security only increases when you add checks of different forms, not just raw counts.
|
||
|
|
||
|
James Munns
@bitshiftmask
|
2. velj |
|
|
||
|
James Munns
@bitshiftmask
|
2. velj |
|
Why yes, I am writing the Good Code, thanks for asking.
Whenever my code panics, it just goes straight to the STM32F072 USB DFU bootloader to get a new firmware loaded.
"I'm done with this firmware. Give me a better one. Now." pic.twitter.com/RYVIEkAWXA
|
||
|
|
||
| James Munns proslijedio/la je tweet | ||
|
Rust Embedded Working Group
@rustembedded
|
1. velj |
|
📣 It's the 23rd #embedded @rustlang newsletter!
This month is a giant update with UI widgets on the @thepine64 PineTime, OpenSK from @Google, using @Cloudflare's QUIC library over LTE-M, controllers for Quantum Physics, new chip+driver crates, and more!
rust-embedded.github.io/blog/newslette…
|
||
|
|
||
|
James Munns
@bitshiftmask
|
1. velj |
|
Always!
|
||
|
|
||
|
James Munns
@bitshiftmask
|
1. velj |
|
Also check out therealprof's embedded-bridge, its a similar idea, and I'm planning to see if he's interested in merging in my work.
|
||
|
|
||
|
James Munns
@bitshiftmask
|
1. velj |
|
Sure! It's up here:
github.com/jamesmunns/Ott…
vintage/src/{i2c_rpc.rs, usb} are the microcontroller side, serde+postcard+cobs for message parsing, e-h traits for actions.
vintage-cli/src/main.rs impls the e-h traits, and uses them with the no-std driver. calls go to/from usb
|
||
|
|
||
|
James Munns
@bitshiftmask
|
1. velj |
|
Important note: I'm not actually bummed out about this. But I appreciate all of the kind words :)
|
||
|
|
||
|
James Munns
@bitshiftmask
|
1. velj |
|
Today's adventure was building a USB based RPC system for my microcontroller, and tunneling @rustlang embedded-hal calls, so I can run a bare-metal driver on my PC, but all the I2C comms happen in and out of the uC.
You can do the same with an FT232H I found.
|
||
|
|
||
|
James Munns
@bitshiftmask
|
1. velj |
|
Strongly agree :)
|
||
|
|
||
|
James Munns
@bitshiftmask
|
1. velj |
|
Finish implementing a very cool (to me) and technically impressive (to me) project. Share it with others and realize that I've replicated the behavior of a super cheap off-the-shelf piece of equipment.
D'oh.
|
||
|
|
||
|
James Munns
@bitshiftmask
|
31. sij |
|
That's awesome! Have you seen @japaric_io's ufmt? It looks like fast_fmt has some further goals though!
|
||
|
|
||
|
James Munns
@bitshiftmask
|
31. sij |
|
If you find an answer, I'd be interested to know! Otherwise if you end up building/extending something custom I'd be happy to chat!
|
||
|
|
||
|
James Munns
@bitshiftmask
|
31. sij |
|
Oh interesting. They you'd be almost looking for something like ansible or terraform I guess, but I'm not sure if they are testing geared or support pxe boot control directly
|
||
|
|
||
|
James Munns
@bitshiftmask
|
31. sij |
|
Like PXE boot or uboot style? Or are we talking bare metal targets?
|
||
|
|
||
|
James Munns
@bitshiftmask
|
31. sij |
|
Hey @wrl, does concourseci have anything like this?
|
||
|
|
||
|
James Munns
@bitshiftmask
|
31. sij |
|
I've built some of these as internal tools, I don't have a great answer for this.
I think Jenkins has a notion of resources, or tags you can filter you test targets for. Then you can have multiple test runner workers that can pick up jobs one at a time.
|
||
|
|
||