rp-rs / rp-hal

A Rust Embedded-HAL for the rp series microcontrollers
https://crates.io/crates/rp2040-hal
Apache License 2.0
1.46k stars 237 forks source link

rp235x-hal: Add nice wrapper for `get_sys_info` #839

Open thejpster opened 3 months ago

thejpster commented 3 months ago

The get_sys_info ROM function is a grab-bag of stuff. We should have a nice Rust API for each kind of thing it can produce. Probably a separate function for each kind of thing, rather than one function with a complicated API like the ROM provides.