linker-script
GNU linker script generation and optimization for embedded systems. Expert skill for memory layout definition, section placement, multi-image linking, and memory protection configuration.
npx skills add a5c-ai/babysitter --skill linker-script --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Linker Script Skill Expert skill for GNU linker script generation and optimization for embedded systems. Provides deep expertise in memory layout definition, section placement, symbol management, and advanced linking scenarios. ## Overview The Linker Script skill enables comprehensive linker script development for embedded systems, supporting: - Memory region definition for MCU targets - Section placement and alignment configuration - Symbol generation for bootloader/application interfaces - Multi-image linking (bootloader + application) - Overlay and bank switching support - Custom section creation and management - Fill pattern and checksum placement - MPU-aligned region configuration ## Capabilities ### 1. Memory Region Definition Define memory regions based on MCU specifications: ```ld /* Example: STM32F407 Memory Layout */ MEMORY { /* Flash memory regions */ FLASH_BOOT (rx) : ORIGIN = 0x08000000, LENGTH = 32K /* Bootloader */ FLASH_APP (rx) : ORIGIN = 0x08008000, LENGTH = 480K /* Application */ FLASH_DATA (r) : ORIGIN = 0x08080000, LENGTH = 128K /* Config/OTA */ /* RAM regions */ RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K /* Main SRAM */ CCMRAM (rwx) : ORIGIN = 0x10000000
- Overview
- Capabilities
- 1. Memory Region Definition
- 2. Section Placement Configuration
- 3. Symbol Generation
- 4. Multi-Image Linking
- 5. MPU Region Configuration
- 6. Overlay Support
- 7. Checksum Placement
- Process Integration
- Workflow
- 1. Gather MCU Specifications
- 2. Define Memory Requirements
- 3. Generate Linker Script
Extract memory map from datasheet or reference manual Key information needed: Output files: Analyze binary size arm-none-eabi-size firmware.elf Detailed map file analysis arm-none-eabi-nm -S --size-sort firmware.elf Generate memory usage report python scripts/analyze_map.py build/firmware.map
What does the linker-script skill do?
GNU linker script generation and optimization for embedded systems. Expert skill for memory layout definition, section placement, multi-image linking, and memory protection configuration.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill linker-script --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
