
Memory Mapped Registers in Rust and Why PACs Exist
Memory mapped registers are fixed addresses you read and write with volatile access. See how a PAC generated by svd2rust wraps them safely, and how HALs build on top.
Everything you need to level up your coding skills.

Memory mapped registers are fixed addresses you read and write with volatile access. See how a PAC generated by svd2rust wraps them safely, and how HALs build on top.

A panic prints a message and one line of context. Set RUST_BACKTRACE to see the stack, find your frames in the noise and know what debug symbols change.

Debug embedded Rust with probe-rs: defmt logging over RTT, panic-probe, breakpoints in VS Code, reading hard faults and what to check when nothing prints.

Program an STM32 in Rust with probe-rs: pick the target, create a project from the cortex-m template, use embassy-stm32 or a PAC and HAL, flash, log and debug.

Build WHERE clauses from optional filters with QueryBuilder and push_bind, so values stay parameters and the SQL stays safe. Includes lists with IN and sorting by allowed columns.

Blink an LED on a Raspberry Pi Pico in async Rust with Embassy: toolchain target, memory.x, probe-rs runner, the main task and a second task with a button.

Add colors to CLI output with anstyle or owo-colors, and turn them off when stdout is not a terminal or NO_COLOR is set, so pipes and logs stay clean.

Build a git hook manager in Rust: read a hooks config, install shims into .git/hooks, run commands on staged files in order, and report results with proper exit codes.

Accept and return JSON in Axum with the Json extractor and Serde: validate input, set status codes, handle bad bodies and avoid common content type mistakes.

Build a todo list CLI in Rust with clap subcommands, serde JSON storage, stable ids, atomic and durable saves, and a file lock that stops concurrent runs from losing items. Every claim measured.

Use std::sync::Mutex when the lock is never held across an await and tokio::sync::Mutex when it must be. The std one is faster and is the default choice.

Build a Markdown link checker in Rust: extract links with pulldown-cmark, check them concurrently with reqwest and a semaphore, retry, report and set exit codes.
We send one email when a new post is published. No spam.