How avrdudes/avr-libc works
AVR-LibC is the C standard library and AVR-specific support library for AVR-GCC applications. The typical workflow is an AVR application calling library APIs, with the library providing formatted I/O, conversion and utility functions, time handling, math, and device-specific support. The graph groups those runtime capabilities and highlights sampled implementation dependencies; many broader subsystem links are documented only at the product level because their implementation files were not sampled.
Main entry points: include C API headers · vfprintf.c Formatted output · strtold.c Long-double parsing · stdio Stream I/O
Components 24
C and AVR APIs
- C API headers
include
Formatted I/O
- Stream I/O
libc/stdio - Formatted output
libc/stdio/vfprintf.c - Formatted input
libc/stdio/vfscanf.c - stdio internals
libc/stdio/stdio_private.h - Integer formatting
libc/stdio/xtoa_fast.h - Float formatting engine
common/ftoa_engine.h
Runtime services
- General utilities
libc/stdlib - Long-double parsing
libc/stdlib/strtold.c - F7 math support
common/f7/libf7.h - F7 symbol aliases
common/f7/f7-renames.h - String operations
libc/string - Time services
libc/time - Time formatting
libc/time/strftime.c - Time internals
libc/time/time-private.h - Math functions
libm
AVR support
- AVR device headers
include/avr - AVR utilities
include/util - AVR assembly helpers
common/asmdef.h - Library section macros
common/sectionname.h - Type selection helper
common/best_as.h - Bit-count helper
common/ntz.h - Symbol alias helper
common/alias.h
Other components
- AVR application
Connections 21
- AVR application → C API headers: calls APIs
- C API headers → Stream I/O: declares APIs
- C API headers → General utilities: declares APIs
- C API headers → String operations: declares APIs
- C API headers → Time services: declares APIs
- C API headers → Math functions: declares APIs
- C API headers → AVR device headers: declares device APIs
- C API headers → AVR utilities: declares utilities
- Stream I/O → Formatted output: formats output
libc/stdio/vfprintf.c - Stream I/O → Formatted input: parses input
libc/stdio/vfscanf.c - Formatted output → stdio internals: uses
libc/stdio/vfprintf.c - Formatted output → Float formatting engine: uses
libc/stdio/vfprintf.c - Formatted output → Integer formatting: uses
libc/stdio/vfprintf.c - Formatted input → stdio internals: uses
libc/stdio/vfscanf.c - Long-double parsing → F7 math support: uses
libc/stdlib/strtold.c - F7 math support → F7 symbol aliases: includes
common/f7/libf7.h - Time formatting → Time internals: uses
libc/time/strftime.c - Time formatting → Type selection helper: uses
libc/time/strftime.c - Long-double parsing → Type selection helper: uses
libc/stdlib/strtold.c - Long-double parsing → Symbol alias helper: uses
libc/stdlib/strtold.c - AVR assembly helpers → Library section macros: includes
common/asmdef.h