Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

161. The embedded shelf, 41_system

Microcontroller and bare-metal development: cross toolchains, C libraries, flashers, debug probes and serial consoles

The ports of this shelf that 41_system installs, in build order.

Version
gputils 1.5.2 Assembler, linker and librarian for Microchip PIC microcontrollers — the back end of sdcc's PIC14 and PIC16 ports
sdcc 4.6.0 A C compiler for the 8-bit families AVR does not cover — 8051, STM8, Z80, PIC
libjaylink 0.5.0 Library to drive SEGGER J-Link debug probes over USB and TCP
openocd 0.12.0 On-chip debugging and flashing over JTAG or SWD
avrdude 8.3 Programmer for AVR microcontrollers — flash, EEPROM and fuse bytes
dfu-util 0.11 Flashes a device over USB DFU, with no separate programmer
stlink 1.8.0 The ST-Link tools — flash and debug an STM32 directly
binutils-arm-none-eabi 2.47 The assembler, linker and object tools for arm-none-eabi
gcc-arm-none-eabi 16.2.0 The bare-metal Cortex-M and Cortex-R compiler
picolibc-arm-none-eabi 1.8.12 The C library for arm-none-eabi — newlib trimmed for a microcontroller
libstdcxx-arm-none-eabi 16.2.0 The C++ standard library for arm-none-eabi, built against picolibc
binutils-riscv64-unknown-elf 2.47 The assembler, linker and object tools for riscv64-unknown-elf
gcc-riscv64-unknown-elf 16.2.0 The RISC-V bare-metal compiler, for MCUs and the soft cores the FPGA flow synthesises
picolibc-riscv64-unknown-elf 1.8.12 The C library for riscv64-unknown-elf — newlib trimmed for a microcontroller
libstdcxx-riscv64-unknown-elf 16.2.0 The C++ standard library for riscv64-unknown-elf, built against picolibc
binutils-avr 2.47 The assembler, linker and object tools for avr
gcc-avr 16.2.0 GCC for AVR microcontrollers (ATmega and ATtiny)
avr-libc 2.3.2 The C library for AVR microcontrollers
flashrom 1.8.0 Read and write a SPI flash chip — including this machine's BIOS
tio 3.9 Serial terminal that reconnects when the device returns
stm32flash 0.7 Flash an STM32 over its own ROM bootloader, with no debugger attached
espflash 4.6.0 Flash an ESP32 or ESP8266 over its own ROM bootloader, and watch its serial output
lrzsz 0.12.20 X, Y and ZMODEM file transfer over a serial line
minicom 2.11.1 Serial terminal program
srecord 1.65 HEX, S-record and TI-TXT conversion, fill, CRC and offset
picotool 2.3.1 RP2040 and RP2350 UF2 inspection and USB loading
probe-rs 0.32.0 ARM and RISC-V flash and debug over CMSIS-DAP, ST-Link and J-Link, with RTT
picocom 3.1 Minimal serial terminal
xa 2.4.1 Cross-assembler for the 6502, 65816 and R65C02 (xa65), with the o65 relocation tools