rust Rustlang I'm working on an embedded project (basically just leds and uarts, nothing crazy), but my flash space is pretty limited (64k) and ram isn't much either.
Jump
  • plasmarobo plasmarobo 1 year ago 100%

    @BeliefPropagator

    Those are pretty great!
    Hopefully the implementation is low level. When I was writing my C version I had to ditch the ST HAL for low-level drivers. That thing is a hot mess, esp when you're trying to cram a bootloader and app into 64k.

    1
  • rust
    Rustlang plasmarobo 1 year ago 100%
    Starting my [#embedded](https://kbin.social/tag/embedded) [#rust](https://kbin.social/tag/rust) journey!

    Starting my [#embedded](https://kbin.social/tag/embedded) [#rust](https://kbin.social/tag/rust) journey! Just discovered the bsp/device crates. The big thing holding me back was not wanting to define the entire peripheral layer and essentially reimplement the HAL. Going to try this out. My only worry is that they've implemented the ST HAL instead of the LL layers... I've legitimately needed to re-write a BSP because the ST HAL is a bloated mess. So much unecessary junk that doesn't fall out at compile time. Remember kids: your abstractions should always be zero-cost!

    1
    1
    rust
    Rustlang plasmarobo 1 year ago 100%
    I'm working on an embedded project (basically just leds and uarts, nothing crazy), but my flash space is pretty limited (64k) and ram isn't much either.

    I'm working on an embedded project (basically just leds and uarts, nothing crazy), but my flash space is pretty limited (64k) and ram isn't much either. I want to experiment with embedded rust, but I also don't want to reimplement ST's register layer (low level drivers I guess). Any neat tools out there to sort of wholesale convert C to rust? Currently reading [Rust Embedded](https://docs.rust-embedded.org/book/) [\#rust](https://kbin.social/tag/rust)

    1
    2
    PCGaming PC Gaming Which is the first PC game that blew your mind?
    Jump
  • plasmarobo plasmarobo 1 year ago 100%

    Half Life 2.
    Bought it, and ended up having to bypass steam to play it on my garbage machine at the time.

    2