~/talk

Picolibc: A C Library for Smaller Systems

slides:none on file

A compact C library forked from newlib that targets tiny microcontrollers (tested on 32–128 KB ROM, 4–32 KB RAM), replaces newlib stdio with an AVR-libc style implementation, drops libgloss, and eliminates the 656-byte __reent by using thread-local storage so TLS variables only link when needed. Build uses an overlay meson build system, math uses Ryu conversions to avoid malloc, startup/linker scripts and semi‑hosting are provided, tests run under QEMU/kwemu across ARM, AArch64, RISC‑V and x86 and the CI builds 1,121 times with 1,026 test runs.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Small System Considerations
  3. 1:28Embedded Libc Needs
  4. 2:14Developer First Steps
  5. 3:59newlib concerns
  6. 8:35Math code
  7. 10:50stdio
  8. 13:53Thread Local Storage
  9. 15:11Example Startup Code (crto)
  10. 16:59Linker script
  11. 19:18Testing
  12. 21:28Test Status
  13. 23:45Recent Picolibc Work
  14. 25:04hello.c
  15. 26:28Compiling
  16. 27:13Size of hello.elf
  17. 27:31Running on hardware
  18. 27:55Running under qemu
  19. 28:26Using the float printf code
  20. 29:15Comparing sizes (cortex m3)
  21. 30:02Blinky Lights!
  22. 30:34Projects with picolibc support
  23. 33:44RIOT
  24. 36:06Personal Projects
  25. 38:32Picolibc Aspirations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.