
Make a Raspberry Pi Pico Act as a USB Serial Port With TinyUSB
Build a USB CDC serial device on the RP2040 with the Pico SDK and TinyUSB, from the stdio shortcut to descriptors, tusb_config.h and an echo loop.
Tag
445 posts

Build a USB CDC serial device on the RP2040 with the Pico SDK and TinyUSB, from the stdio shortcut to descriptors, tusb_config.h and an echo loop.

Write a CHIP-8 emulator in Rust 1.85: a safe Chip8 struct, enum-based opcode decoding with pattern matching, wrapping arithmetic and a testable display buffer.

Use Go 1.24 native fuzzing with testing.F to fuzz a binary decoder, find a slice bounds panic, read the saved testdata file and add a round-trip property.

See why 0.1 and 0.2 have no exact binary form, how their stored values add to 0.30000000000000004, and what to do about it in C code with %.17g and hex output.

Build a small HTTP/1.1 server in C with POSIX sockets: parse the request line, send correct headers and Content-Length, and handle keep-alive and bad requests.

Set up clangd for go-to-definition, completion and live diagnostics in VS Code, Neovim or any editor, using a compile_commands.json from your build.

Write a small JCL job in ISPF, submit it with the SUB command, find it in SDSF and read its return code and output, on z/OS 3.1 with JES2.

Benchmark any command with hyperfine 1.19: it runs warm-ups and many repetitions, reports mean, spread and range, and compares commands against each other.

Add packages to a Yocto 5.0 image with IMAGE_INSTALL:append in local.conf or a custom image recipe, and avoid the += ordering trap that silently drops them.

Boot a 512-byte boot sector in QEMU 9 with a raw drive option, then attach GDB to the emulated CPU to break at 0x7C00 and step real-mode instructions.

See how FreeRTOS keeps software timers: one daemon task, a command queue and two sorted lists, and what that means for callback timing and order.

Open, create, read, write, append and seek files with CreateFileW, ReadFile and WriteFile, with share modes, dispositions and error codes explained.